2.3
2-1 LAYERED TASKS
Weusetheconceptoflayersinourdailylife.As
anexample,letusconsidertwofriendswho
communicatethroughpostalmail.Theprocessof
sendingalettertoafriendwouldbecomplexif
therewerenoservicesavailablefromthepost
office.
Sender, Receiver, and Carrier
Hierarchy
Topics discussed in this section:
2.4
Figure 2.1 Tasks involved in sending a letter
2.5
2-2 THE OSI MODEL
Establishedin1947,theInternationalStandards
Organization(ISO)isamultinationalbody
dedicatedtoworldwide agreement on
internationalstandards.AnISOstandardthat
coversallaspectsofnetworkcommunicationsis
theOpenSystemsInterconnection(OSI)model.It
wasfirstintroducedinthelate1970s.
Layered Architecture
Peer-to-Peer Processes
Encapsulation
Topics discussed in this section:
2.6
ISO is the organization.
OSI is the model.
Note
2.7
Figure 2.2 Seven layers of the OSI (Open Systems Interconnection)
model
2.8
Figure 2.3 The interaction between layers in the OSI model
2.9
Figure 2.4 An exchange using the OSI model
2.10
2-3 LAYERS IN THE OSI MODEL
Inthissectionwebrieflydescribethefunctions
ofeachlayerintheOSImodel.
Physical Layer
Data Link Layer
Network Layer
Transport Layer
Session Layer
Presentation Layer
Application Layer
Topics discussed in this section:
2.15
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
Note
2.16
Figure 2.6 Data link layer
2.17
DATA LINK LAYER
•Responsibleformovingframesfromonehop(node)tothenext
•Framing-The data link layer divides the stream of bits received from the network
layer into manageable data units called frames
•Physical addressing -If frames are to be distributed to different systems on the
network, the data link layer adds a header to the frame to define the sender and/or
receiver of the frame.
•Ifthe frame is intended for a system outside the sender’s network, the receiver
address is the address of the device that connects the network to the next one.
2.18
DATA LINK LAYER
•Flow control -If the rate at which the data are absorbed by the receiver is less than
the rate at which data are produced in the sender, the data link layer imposes a flow
control mechanism to avoid overwhelming the receiver.
•Error control -The data link layer adds reliability to the physical layer by adding
mechanisms to detect and retransmit damaged or lost frames. It also uses a mechanism
to recognize duplicate frames. Error control is normally achieved through a
trailer added to the end of the frame.
•Access control -When two or more devices are connected to the same link, data
link layer protocols are necessary to determine which device has control over the
link at any given time.
2.19
Figure 2.7 Hop-to-hop delivery
2.20
The data link layer is responsible for moving
frames from one hop (node) to the next.
Note