




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This lecture is part of lecture series on Data Communication Systems. It was delivered by Prof. Prajin Ahuja at Birla Institute of Technology and Science. Its main points are: Broadcast, Reliable, Error, Correction, Instantiation, Implementation, Various, LInk Layer, Technologies
Typology: Slides
1 / 105
This page cannot be seen from the preview
Don't miss anything!





























































































5: DataLink Layer
5-
error detection, correction sharing a broadcast channel: multiple access link layer addressing reliable data transfer, flow control:
5: DataLink Layer
5-
5: DataLink Layer
5-
^
e.g., Ethernet on first link,frame relay onintermediate links, 802.11on last link ^
e.g., may or may notprovide rdt over link
trip from Princeton toLausanne^
limo: Princeton to JFK plane: JFK to Geneva train: Geneva to Lausanne ^
5: DataLink Layer
5-
encapsulate datagram into frame, adding header, trailer channel access if shared medium “MAC” addresses used in frame headers to identifysource, dest
^
we learned how to do this already (chapter 3)! seldom used on low bit error link (fiber, some twistedpair) wireless links: high error rates
5: DataLink Layer
5-
^
Ethernet card, PCMCIcard, 802.11 card ^
encapsulates datagram ina frame adds error checking bits,rdt, flow control, etc.
looks for errors, rdt, flowcontrol, etc extracts datagram, passesto rcving node ^
sendingnode
frame
rcvingnode
datagram
frame
adapter
adapter
link layer protocol
5: DataLink Layer
5-
5: DataLink Layer
5-
Detect
and correct single bit errors 0
5: DataLink Layer
5-
treat segment contentsas sequence of 16-bitintegers checksum: addition (1’scomplement sum) ofsegment contents sender puts checksumvalue into UDP checksumfield
Receiver: ^
compute checksum of receivedsegment ^
check if computed checksumequals checksum field value:^
NO - error detected YES - no error detected.
But
maybe errors nonetheless?More later ….
only)
5: DataLink Layer
5-
CRC ExampleWant:
equivalently:
equivalently:
= remainder[
]
5: DataLink Layer
5-
5: DataLink Layer
5-
collision if node receives two or more signals at the same time multiple access protocol ^
no out-of-band channel for coordination
5: DataLink Layer
5-
^
no special node to coordinate transmissions ^
no synchronization of clocks, slots
5: DataLink Layer
5-
Channel Partitioning MAC protocols: TDMA
TDMA: time division multiple access ^
5: DataLink Layer
5-
Channel Partitioning MAC protocols: FDMA
FDMA: frequency division multiple access ^
frequency bands