background image
The OSI Reference Model
25
networks. And for once, this is a good thing! It's the Data Link layer that's
responsible for the actual unique identification of each device that resides on
a local network.
For a host to send packets to individual hosts and between routers,
the Data Link layer uses hardware addressing. Each time a packet is sent
between routers, it is framed with control information at the Data Link
layer, but that information is stripped off at the receiving router and only the
original packet is left completely intact. This framing of the packet continues
for each hop until the packet is finally delivered to the correct receiving host.
It's really important to understand that the packet itself is never altered along
the route; it is only encapsulated with the type of control information
required for it to be properly passed on to the different media types.
The IEEE Ethernet Data Link layer has two sublayers:
Media Access Control (MAC) 802.3 This defines how packets are
placed on the media. Contention media access is "first come/first served"
access where everyone shares the same bandwidth--hence the name.
Physical addressing is defined here, as well as logical topologies. What's
a logical topology? It's the signal path through a physical topology. Line
discipline, error notification (not correction), ordered delivery of frames,
and optional flow control can also be used at this sublayer.
Logical Link Control (LLC) 802.2 This sublayer is responsible for iden-
tifying Network layer protocols and then encapsulating them. An LLC
header tells the Data Link layer what to do with a packet once a frame is
received. It works like this: A host will receive a frame and look in the LLC
header to find out the packet is destined for, say, the IP protocol at the
Network layer. The LLC can also provide flow control and sequencing of
control bits.
Switches and Bridges at the Data Link Layer
The switches and bridges I talked about near the beginning of the chapter
both work at the Data Link layer and filter the network using hardware
(MAC) addresses. Layer-2 switching is considered hardware-based bridging
because it uses specialized hardware called an application-specific integrated
circuit (ASIC)
. ASICs can run up to gigabit speeds with very low latency rates.
Latency is the time measured from when a frame enters a port to the time it
exits a port.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com