Presentation is loading. Please wait.

Presentation is loading. Please wait.

K. Salah 1 Chapter 12 Point-to-Point Access: PPP.

Similar presentations

Presentation on theme: "K. Salah 1 Chapter 12 Point-to-Point Access: PPP."— Presentation transcript:

1 K. Salah 1 Chapter 12 Point-to-Point Access: PPP

2 K. Salah 2 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

3 K. Salah 3 12.2 Transition states Establishing: Negotiation of options

4 K. Salah 4 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

5 K. Salah 5 12.5 PAP Send user name and password Check validity and accept or deny.

6 K. Salah 6 12.6 PAP packets

7 K. Salah 7 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.

8 K. Salah 8 12.8 CHAP packets

9 K. Salah 9 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.

10 K. Salah 10 Table 12.3 Code value for IPCP packets CodeIPCP Packet 01Configure-request 02Configure-ack 03Configure-nak 04Configure-reject 05Terminate-request 06Terminate-ack 07Code-reject

11 K. Salah 11 12.10 An example

Download ppt "K. Salah 1 Chapter 12 Point-to-Point Access: PPP."

Similar presentations

Ads by Google