Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used...
-
Upload
augustus-payne -
Category
Documents
-
view
241 -
download
1
Transcript of Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used...
![Page 1: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/1.jpg)
Point-to-PointAccess:
PPP
11.7
![Page 2: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/2.jpg)
PPP
Dial-Up Access
AccessRouter
Modems
Point-to-Point Links
Router
Router
Router Router
Between Routers
Used for Point-to-Point Connections onlyUsed as data link control (encapsulates network layer PDUs ) to connect :
Home users (PC) to ISP using a telephone line and a modemTwo routers
![Page 3: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/3.jpg)
PPP A data link layer protocol Services provided by PPP
Defines the format of the frame to be exchanged between devices
Supports multiple network layer protocols simultaneously (like in multiprotocol routers)
Defines how two devices authenticate each other
![Page 4: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/4.jpg)
PPP Support protocols
Link management: The link control protocol (LCP) is responsible for establishing, configuring, and negotiating a data-link connection. LCP also monitors the link quality and is used to terminate the data-link connection.
Authentication: Authentication is optional (negotiated between the two devices). PPP supports two authentication protocols: Password Authentication Protocol (PAP) and Challenge Handshake Authentication Protocol (CHAP).
Network protocol configuration: PPP has a family of network control protocols (NCPs) that are responsible for establishing and configuring different network layer protocols such as IP, AppleTalk , Decnet
NCP protocols allows the network layers at both ends to configure themselves. For IP network protocol, NCP handles dynamic IP address assignment
![Page 5: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/5.jpg)
Frame format
Flag fields: 01111110, identify the frame boundaries (start and end of frame) Address field: For point-to-point link address is not necessary. It uses 11111111 (can
be removed – negotiated). Control field: 00000011 (can be removed – negotiated) In general, PPP does not provide frame sequence numbers or acknowledgement
numbers which means No reliable transmission for the data . Protocol: It tells what is carried in the data field. The PPP receiver uses this code
to determine if the data field carries LCP packet (C021h ), Authentication protocols (PAP C023 or CHAP C223) or NCP packet (8021h) or data packet for a specific network protocol (IP 0021h, AppleTalk 0029h, Decnet 0027h).
Length is 2 bytes or 1byte (negotiated) Data field (payload) : Contains the encapsulated packet (network layer data, or
PPP control protocols packets) Variable length, default maximum 1500 bytes can be changed at link
configuration phase. (negotiated maximum) Checksum (FCS): the standard HDLC CRC-16 or CRC-32 (negotiated length)
![Page 6: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/6.jpg)
Multiplexing in PPP
![Page 7: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/7.jpg)
Table 11.3 Common options
![Page 8: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/8.jpg)
LCP packet encapsulated in a frame
Length field contains the length of the whole LCP control packet
PPP frame
![Page 9: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/9.jpg)
Table 11.2 LCP packets
![Page 10: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/10.jpg)
PAP
![Page 11: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/11.jpg)
Figure 11.36 PAP packets encapsulated in a PPP frame
Message
Message
![Page 12: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/12.jpg)
CHAP
![Page 13: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/13.jpg)
Figure 11.37 CHAP packets encapsulated in a PPP frame
Server
Client
![Page 14: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/14.jpg)
IPCP packet encapsulated in PPP frame
IPCP: Internetwork Protocol Control Protocol
NCP protocol for IP packets
Used to establish, configure (IP address, compression of IP packets if required) and terminate a network layer connection for IP packets
![Page 15: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/15.jpg)
Table 11.4 Code value for IPCP packets
![Page 16: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/16.jpg)
IP datagram encapsulated in a PPP frame
IP data is carried
![Page 17: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/17.jpg)
PPP Transition states Idle state: The link is not being used Establishing state
Performed by LCP Options are negotiated between endpoints (frame data length,
keeping address and control fields, use Authentication or not, etc, ) Authentication state:
Performed by Authentication Protocol The user identity is verified
Networking state Performed by NCP Control (dynamic IP address, Compression of IP packets) Exchange of Data packets
Terminating state: The link is terminated (NCP first then LCP)
![Page 18: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/18.jpg)
![Page 19: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/19.jpg)
Figure 11.33 Transition phases
![Page 20: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/20.jpg)
An example
02 Message
![Page 21: Point-to-Point Access: PPP 11.7. PPP Between Routers Used for Point-to-Point Connections only Used as data link control (encapsulates network layer.](https://reader035.fdocuments.net/reader035/viewer/2022062221/56649e985503460f94b9b47e/html5/thumbnails/21.jpg)
An example (continued)
8021
8021
IPCP
IPCP
Ne
two
rkD
ata
Lin
k