3CSE1-Unit 8
3CSE1-Unit 8
By:
Jignesh Patel
[email protected]
Introduction
Introduction
• What is link address?
A. IP address
B. Port Number
C. Physical address
• What is role of Data-link layer?
Services
• Framing
• Flow control
• Error control
• Congestion control
• Broadcast
ARP packet
ARP operation
• Buffers
DLC protocol
• It can be connection less or connection oriented
HDLC: Framing
1. Information frame (I frame)
2. supervisory frames (S-frames)
3. unnumbered frames (U-frames)
HDLC: Framing
• Flag: This field contains synchronization pattern
01111110
• Address: for primary: to address
for secondary: from address
• Control: used for flow/error control
• Information: contain information
• FCS: Frame check sequence contain 2 to 4 byte CRC code
HDLC: Framing
• Control:
I frame:
1. O define I frame
2. N(S) sequence for frame
3. N(R) sequence for ACK
4. P/F: poll for sender to receiver and final for reverse
HDLC: Framing
• Control:
S frame:
1. 1O define s frame
2. N(R) sequence for ACK
3. P/F: poll for sender to receiver and final for reverse
4. code:
1. 00-> receive ready (RR)
2. 01-> receive not ready (RNR)
3. 10-> reject (REJ)
4. 11-> selective reject (SREJ)
CE257 Unit 8 Jignesh Patel 36
HDLC
HDLC: Framing
• Control:
U frame:
1. 11 define U frame
2. Used for system management information
3. Code (2+3): for 32 type of U frame
Example
Multiplexing
LCP
LCP
LCP packets
LCP
Authentication protocol
• Password Authentication Protocol (PAP)
Authentication protocol
• Challenge Handshake Authentication Protocol (CHAP)
Multilink PPP
Example