Unit Iv
Unit Iv
ET 6312
Unit IV
Upper Layers
user support layers
“End-to-End”-Layers
Lower Layers
network support layers;
“End-to-End” layers
Encapsulation
Encapsulation is a fundamental concept in computer
networks, especially when it comes to data transmission
across the different layers of a layered network model (like
the OSI model or TCP/IP model)
It refers to the process of adding additional information to a
chunk of data as it travels down the layers on the sending
device and removing that information as it travels up the
layers on the receiving device
Encapsulation
message M
application M application
segment Ht M
transport Ht M
transport
datagram Hn Ht M Hn Ht M
network network
frame Hl Hn Ht M Hl Hn Ht M
link link
physical physical
source
destination
Encapsulation: an end-end view
message M application
segment Htt M transport
datagram Hn Ht M network
frame Hl Hn Ht M link
physical
link
link
physical
physical
switch
destination Hn Ht M network
M application Hl Hn Ht M link Hn Ht M
Ht M transport physical
Hn Ht M network
Hl Hn Ht M link router
physical
Layers in the OSI Model
Physical Layer
It also defines the procedures and
The physical layer coordinates
functions that physical devices and
the functions required to carry a
interfaces have to perform for
bit stream over a physical
transmission to occur
medium
It deals with the mechanical and
electrical specifications of the
interface and transmission media
Layers in the OSI Model
Data Link Layer
It makes the physical layer appear error-free access control: When 2 or more
to the upper layer devices are connected to same link, the
The data link layer transforms the physical DLL determines which device has
layer, a raw stream of bits, to a reliable link control over the link at any given time
between two devices on the same network flow control: If rate at which data are
Framing; The DLL divides the stream of absorbed by receiver is less than
bits received from the network layer into sender’s transmission rate, the DLL
manageable data units called frames imposes a flow control over sender
physical addressing: The DLL adds a
header to the frame to specify the NIC
address of appropriate receiver on the other
side (of wire)
error control: The DLL adds reliability
to the physical layer by adding a trailer
with information necessary to
detect/recover damaged or lost frames
Layers in the OSI Model
Network Layer
The network layer is responsible for the source-to-destination
delivery of a packet, possibly across multiple networks/ (links)
While the data link layer oversees the delivery of packets
between two devices on the same network
Logical addressing:The physical addressing implemented by
the data link layer handles the addressing problem locally
Layers in the OSI Model
Network Layer routing: The Network Layer provides
If a packet passes the network boundary, the mechanism for routing/switching
we need another addressing system to help packets to their final destination, along
distinguish the source and destination the optimal path – across a large
systems internetwork
Layers in the OSI Model
Transport Layer