hdlc & ppp

17
K. Salah 1 HDLC & PPP Ch 11- 12

Upload: vian

Post on 08-Jan-2016

52 views

Category:

Documents


1 download

DESCRIPTION

HDLC & PPP. Ch 11- 12. Chapter 11.5. High-level Data Link Control HDLC. HDLC supports communication over point-to-point and multipoint links. I-Frame (Information frame): Used to transport user data and control information - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: HDLC & PPP

K. Salah 1

HDLC&

PPP

Ch 11- 12

Page 2: HDLC & PPP

K. Salah 2

Chapter 11.5

High-level Data Link Control

HDLC

Page 3: HDLC & PPP

K. Salah 3

11.17 HDLC frame

HDLC supports communication over point-to-point and multipoint links.

I-Frame (Information frame): Used to transport user data and control information

S-frame (Supervisory frame): Used only to transport control information.

U-frame (Unnumbered frame): Reserved for system management.

Page 4: HDLC & PPP

K. Salah 4

11.18 HDLC frame types

I-Frame has sequence and ACK numbers S-frame contains the code for Receive Ready, Receive

Not Ready, Reject, Selective Reject. U-frame is used for session management and control

information

Page 5: HDLC & PPP

K. Salah 5

11.22 Piggybacking without Error

Page 6: HDLC & PPP

K. Salah 6

11.23 Piggybacking with Error

Page 7: HDLC & PPP

K. Salah 7

Chapter 12

Point-to-PointAccess:

PPP

Page 8: HDLC & PPP

K. Salah 8

12.1 PPP frame

Two devices can be connected by a dedicated link or a shared link. point-to-point access.

Connection to ISP via PPP Format of the frame Negotiate the establishment of the link and the

exchange of data How network layer data are encapsulated in the data

link frame How two devices can authenticate each other. Flag = 01111110 Address = Broadcast Control field = No sequence numbers and so no flow or

error control

Page 9: HDLC & PPP

K. Salah 9

12.2 Transition states

Establishing: Negotiation of options

Page 10: HDLC & PPP

K. Salah 10

12.3 Protocol stack

Link Control Protocol Negotiation mechanisms. Establishing or terminating state

Authentication Protocols Password Authentication Protocol

(PAP) Challenge Handshake Authentication

Protocol (CHAP) Network Control Protocol

Page 11: HDLC & PPP

K. Salah 11

12.5 PAP

Send user name and password Check validity and accept or deny.

Page 12: HDLC & PPP

K. Salah 12

12.6 PAP packets

Page 13: HDLC & PPP

K. Salah 13

12.7 CHAP

System sends a challenge packet containing challenge value, usually a few bytes

User applies predefined function with challenge value, user’s password. The result is sent as response.

System does the same as user and compares the result.

Page 14: HDLC & PPP

K. Salah 14

12.8 CHAP packets

Page 15: HDLC & PPP

K. Salah 15

12.9 IPCP packet encapsulated in PPP frame

Network Control Protocol is a set of control protocols to allow the encapsulation of data coming from network layer protocols into the PPP frame.

The set of packets that establish and terminate a network layer connection for IP packets is called Internetwork Protocol Control Protocol (IPCP).

Use configure-request to negotiate with the other party. Ex., to set the IP addresses and so on.

Page 16: HDLC & PPP

K. Salah 16

Table 12.3 Code value for IPCP packetsTable 12.3 Code value for IPCP packets

Code IPCP Packet

01 Configure-request

02 Configure-ack

03 Configure-nak

04 Configure-reject

05 Terminate-request

06 Terminate-ack

07 Code-reject

Page 17: HDLC & PPP

K. Salah 17

12.10 An example