CN Lecture 12 - Data Link Layer - 15 March 2023
CN Lecture 12 - Data Link Layer - 15 March 2023
B.Tech CS
COMPUTER NETWORKS
KCS603
Lecture 12
Data Link Layer
Data Link Layer
Layer 2 of OSI Model
Services
Framing
Error control
Flow control
Addressing & Medium access control
Synchronization
Multiple Access
MAC tries for Non-collision approach i.e. A collision takes place when two or
more terminals transmit data simultaneously.
In broadcast networks, single channel is shared by several stations.
Multiple frequency
bands to multiple
users at same time
Multiple Codes to
multiple users at
same time
Advantage:
There are no possible collisions
As, all stations agree on which station is next to transmit.
Controlled Access: Polling
2. Polling
• This works with the topologies in which one station acts
as primary; and others as secondary stations.
• Role of primary station:
– Controls data transfer
– Gives control to secondary stations to transmit data or use channel
– Primary node is initiators of the session
Advantage:
There are no possible collisions
As, all stations agree on which station is next to transmit.
Controlled Access: Token Passing
3. Token Passing
• When stations in the network are organized in a ring
a special packet called a token circulates
• Role of token:
– Controls data transfer
– Gives control to a stations to transmit data or use channel
Concern Area:
• Time Duration
• Damaged / duplicate token
• Priority stations
References
• Chapter 12, Data Communication and Networking, Behrouz A Forouzan. 4th
Edition, McGraw Hill