5: DataLink Layer 5-1
Link Layer
5.1 Introduction and
services
5.2 Error detection
and correction
5.3Multiple access
protocols
5.4 Link-Layer
Addressing
5.5 Ethernet 5.6 Hubs and switches 5.7 PPP 5.8 Link Virtualization:
Link Layer 5.1 Introduction and 5.6 Hubs and switches services - - PowerPoint PPT Presentation
Link Layer 5.1 Introduction and 5.6 Hubs and switches services 5.7 PPP 5.2 Error detection 5.8 Link Virtualization: and correction ATM 5.3Multiple access protocols 5.4 Link-Layer Addressing 5.5 Ethernet 5:
5: DataLink Layer 5-1
5.1 Introduction and
5.2 Error detection
5.3Multiple access
5.4 Link-Layer
5.5 Ethernet 5.6 Hubs and switches 5.7 PPP 5.8 Link Virtualization:
5: DataLink Layer 5-2
no Media Access Control no need for explicit MAC addressing e.g., dialup link, ISDN line
popular point-to-point DLC protocols:
PPP (point-to-point protocol) HDLC: High level data link control (Data link
5: DataLink Layer 5-3
packet framing: encapsulation of network-layer
carry network layer data of any network layer
ability to demultiplex upwards
bit transparency: must carry any bit pattern in the
error detection (no correction) connection liveness: detect, signal any link failure
network layer address negotiation: endpoint can
5: DataLink Layer 5-4
no error correction/recovery no flow control
no need to support multipoint links (e.g., polling)
5: DataLink Layer 5-5
Flag: delimiter (framing) Address: does nothing (only one option) Control: does nothing; in the future possible
Protocol: upper layer protocol to which frame
5: DataLink Layer 5-6
info: upper layer data being carried check: cyclic redundancy check for error
5: DataLink Layer 5-7
Q: is received <01111110> data or flag? A: define a <01111101> flag…
Sender: adds (“stuffs”) extra < 0111 1101> byte
Receiver:
01111101 followed by 01111110 byte: discard
01111101 followed by 01111101 byte: discard
single 0111 1110: flag byte single 01111101: error
5: DataLink Layer 5-8
flag byte pattern in data to send flag byte pattern plus stuffed byte in transmitted data
5: DataLink Layer 5-9
configure PPP link (max.
learn/configure network
for IP: carry IP Control