Link Layer Flashcards
What are the 4 link layer services?
- framing
- synchronisation
- flow control
- errors in transmission
How does framing work in the link layer?
- encapsulates datagram into frame
- adds header and trailer
What are MAC addresses and what are they used for?
- used if shared medium
- used in frame headers to identify source and destination
How does the link layer use reliable delivery between adjacent nodes?
- seldom used on low bit-error link
- half/full duplex
Do wireless links have high or low error rates?
high
How are link layer functions implemented?
- in an adaptor (network interference chip NIC)
- on a chip
What are the two types of links?
- point-to-point
- broadcast
What are the 3 classes of MAC protocols?
- Channel Partitioning
- Random Access
- Round robin
How does channel partitioning work?
allocate to node exclusively
How does random access work?
contention mechanisms
How does round robin work?
Nodes take turns
How does point-to-point data link control work?
- 1 sender
- 1 receiver
- 1 link
- no MAC
What are the 2 most popular DLC protocols?
- PPP: point-to-point protocol
- HDLC: high level data link control
How is a PPP data frame structured, what does each part do and how many bytes for each section?
8 - Flag: delimiter
8 - Address: nothing
8 - Control: nothing
8/16 - Protocol: upper layer protocol to which
frame delivered
Variable: Info: upper layer data being carried
16/64 - Check: cycle redundancy check for error
detection
8 - Flag
What are the 3 performance considerations for the link layer?
- Delay between ready to transmit and completion of successful transmission
- Throughput - total rate of data being transmitted between stations
- Utilisation of the medium - fraction of total capacity being used
What is propagation delay?
time taken for signal to propagate from one node to the next
What is transmission delay
time taken for transmission to send out block of data
What is the equation for propagation delay?
distance / velocity
What is the equation for transmission delay?
Length of frame / data rate
What is an example if a centralised round-robin technique?
Polling
What is an example of a distributed round-robin technique?
Token Bus
Token Ring
What is an example of a centralised reservation technique?
Centralised reservation
What is an example of a distributed reservation technique?
Distributed reservation
What is an example of a centralised contention technique?
There are none
What is an example of a distributed contention technique?
ALOHA, CSMA, CSMA/CD