Professional Documents
Culture Documents
3
Transport Layer
• Process-to-process communication: / End to End Delivery
• Socket/port addressing,
• Segmentation and reassembly
• Flow control - matching the sending data rate of the source host with the receiving data rate
of the destination host
• Error control - to guarantee that the segments arrive at the destination without error and
resending the corrupted ones
• Congestion control - to reduce the loss of segments due to congestion in the network
• Protocols:
TCP - > Transmission Control Protocol : Creates a logical connection, provides flow, error, congestion control
UDP -> User Datagram Protocol : Connectionless transmission. It doesnot provide flow, error, congestion
control
SCTP-> Stream Control Transmission Protocol: used for multimedia transmission.
4
Network Layer
• Source-to-destination delivery: / Host to host Delivery
• IP addressing,
• Routing & Forwarding
• Packet/Datagram Creation
• Protocols
• Internet Protocol – used to create datagram
• ICMP – Internet Control Message Protocol : to report some problems when routing a
packet.
• Internet Group Management Protocol (IGMP) - helps IP in multitasking.
• Dynamic Host Configuration Protocol (DHCP) - helps IP to get the network-layer address
for a host.
• The Address Resolution Protocol (ARP) - helps IP to find the link-layer address of a host
5
Data Link Layer
• Hop-to-hop delivery:
• Physical addressing,
• Framing,
• Medium access control (MAC),
• Error control,
• Flow control
6
Physical Layer
• to move data in the form of electromagnetic signals across a
transmission medium.
• Encoding/ decoding
7
Multiplexing and Demultiplexing
• Multiplexing means that a
protocol at a layer can
encapsulate a packet from
several next-higher layer
protocols (one at a time);
• demultiplexing means that a
protocol can decapsulate and
deliver a packet to several next-
higher layer protocols (one at a
time).
Figure 2.15 Summary of layers
2.12
OSI Model
OSI Reference Model
• OSI Reference Model - internationally standardised
network architecture.
• OSI = Open Systems Interconnection: deals with open
systems, i.e. systems open for communications with
other systems.
• Specified in ISO 7498.
• Model has 7 layers.
• The purpose of the OSI model is to show how to
facilitate communication between different systems
without requiring changes to the logic of the underlying
hardware and software
Lack of OSI Model’s Success
• OSI was completed when TCP/IP was fully in place and a lot of time
and money had been spent on the suite; changing it would cost a lot.
• some layers in the OSI model were never fully defined with actual
protocols
• it did not show a high enough level of performance to entice the
Internet authority to switch from the TCP/IP protocol suite to the OSI
model.
7-Layer OSI Model
Layer 7 Application Layer • Layers 1-4 relate to
communications technology.
Layer 6 Presentation Layer
• Layers 5-7 relate to user
Layer 5 Session Layer applications.
Layer 4 Transport Layer
2.27
Application layer
• SMTP – Simple Mail Transfer Protocol
• It helps to send email to another email address.
• FTP – File Transfer Protocol
• It is used for sending large files.
• HTTP – Hyper Text Transfer Protocol
• Used to transfer the web pages.
• TFTP – Trivial File Transfer Protocol
• It is used for sending/receiving files similar to FTP but simpler than it
• DNS – Domain Name System
• It translates the website name to IP addresses.
• TELNET – Terminal Network
• Bi-directional text communication via a terminal application.
• SNTP – Simple Network Time Protocol
• It provides the time of a day to the network devices.
28
Transport Layer
• TCP – Transmission Control Protocol
• Connection-oriented, reliable protocol
• UDP – User Datagram Protocol
• Connection-less, un-reliable protocol
• SCTP – Stream Control Transport Protocol
• Connection-oriented, reliable, multi-stream communication protocol
29
Network Layer
• IPv4 – Internet Protocol version 4
• 32 bits addressing
• IPv6 – Internet Protocol version 4
• 128 bits addressing
• ICMP – Internet Control Message Protocol
• Supporting protocol at network layer mainly for error/status reporting
• DHCP – Dynamic Host Configuration Protocol
• To dynamically assign IP addresses to devices
• IGMP – Internet Group Message Protocol
• To support in multicast message transmission
• ARP – Address Resolution Protocol
• To resolve the MAC address for the given IP address
• RARP – Reverse Address Resolution Protocol
• To resolve the MAC address for the given IP address
30
Data Link layer, Physical layer
• Ethernet
• A very popular wired LAN technology
• FDDI - Fiber Distributed Data Interface
• for information transmission on fiber-optic lines in Local Area Network
• HDLC – High-level Data Link Control
• A bit oriented protocol for data link layer
• PPP – Point-to-Point Protocol
• A byte oriented protocol for data link layer
31