chapter2 ppp
DESCRIPTION
TRANSCRIPT
![Page 1: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/1.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE I Chapter 6 1
Point-to-Point Protocol (PPP)
Accessing the WAN – Chapter 2
Glenn Avendano
![Page 2: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/2.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 2
Describe the Fundamental Concepts of Point-to-Point Serial Communication If parallel is faster than serial, is parallel more suitable
for connecting to a WAN? In reality, it is often the case that serial links can be clocked considerably faster than parallel links, and they achieve a higher data rate, because of two factors that affect parallel communications: clock skew and crosstalk interference.
The more wires one uses and the farther the connection reaches, compounds the problem and adds delay. The need for clocking slows parallel transmission well below theoretical expectations. Most serial links do not need clocking.
Since serial cables have fewer wires, there is less crosstalk, and network devices transmit serial communications at higher, more efficient frequencies.
![Page 3: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/3.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 3
Describe the Fundamental Concepts of Point-to-Point Serial Communication Serial Communication Standards RS-232 - Most serial ports on personal computers conform
to the RS-232C or newer RS-422 and RS-423 standards. Both 9-pin and 25-pin connectors are used. Many network devices use RJ-45 connectors that also conform to the RS-232 standard.
V.35 - Typically used for modem-to-multiplexer communication, this ITU standard for high-speed, synchronous data exchange combines the bandwidth of several telephone circuits. In the U.S., V.35 is the interface standard used by most routers and DSUs that connect to T1 carriers.
HSSI - A High-Speed Serial Interface (HSSI) supports transmission rates up to 52 Mbps. Engineers use HSSI to connect routers on LANs with WANs over high-speed lines such as T3 lines.
![Page 4: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/4.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 4
Describe the Fundamental Concepts of Point-to-Point Serial Communication Explain how two or more data streams are transported
across a single physical connection using TDM
![Page 5: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/5.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 5
Describe the Fundamental Concepts of Point-to-Point Serial Communication
![Page 6: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/6.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 6
Describe the Fundamental Concepts of Point-to-Point Serial Communication Define the location of the demarcation point relative to
customer and service provider networks
![Page 7: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/7.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 7
Describe the Fundamental Concepts of Point-to-Point Serial Communication Explain the terms DTE and DCE with relative to the
location of devices in a network
![Page 8: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/8.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 8
Describe the Fundamental Concepts of Point-to-Point Serial Communication Explain the terms DTE and DCE with relative to the
location of devices in a network
![Page 9: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/9.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 9
Describe the Fundamental Concepts of Point-to-Point Serial Communication Describe how high-level data link control (HDLC) uses
one of three frame types to encapsulate data
![Page 10: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/10.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 10
Describe the Fundamental Concepts of Point-to-Point Serial Communication
![Page 11: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/11.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 11
Describe the Fundamental Concepts of Point-to-Point Serial Communication Cisco HDLC is the default encapsulation method used
by Cisco devices on synchronous serial lines.
One may use Cisco HDLC as a point-to-point protocol on leased lines between two Cisco devices. If you are connecting to a non-Cisco device, use synchronous PPP.
![Page 12: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/12.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 12
Describe the Fundamental Concepts of Point-to-Point Serial Communication Click the status button on page 2.1.7.1 to identify the
following five possible problem states in the interface status line: <from sh int serial command>
![Page 13: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/13.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 13
Activity
![Page 14: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/14.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 14
Activity
![Page 15: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/15.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 15
Activity
![Page 16: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/16.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 16
Describe Point-to-Point Concepts HDLC is the default encapsulation method between
Cisco routers. Use PPP to connect to a non-Cisco router.
The link quality management feature monitors the quality of the link. If too many errors are detected, PPP takes the link down.
PPP supports PAP and CHAP authentication.
PPP components: HDLC protocol for encapsulating datagrams over point-to-point links; Extensible Link Control Protocol (LCP) to establish, configure, and test the data link connection; family of Network Control Protocols (NCPs) for establishing and configuring different network layer protocols.
![Page 17: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/17.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 17
Describe Point-to-Point Concepts PPP Architecture: Physical Layer
![Page 18: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/18.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 18
Describe Point-to-Point Concepts The LCP provides automatic configuration of the interfaces at each end, including:
Handling varying limits on packet size
Detecting common misconfiguration errors
Terminating the link
Determining when a link is functioning properly or when it is failing
–PPP also uses the LCP to agree automatically on encapsulation formats (authentication, compression, error detection) as soon as the link is established.
![Page 19: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/19.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 19
Describe Point-to-Point Concepts PPP permits multiple network layer protocols to operate
on the same communications link. For every network layer protocol used, PPP uses a separate NCP.
NCPs include functional fields containing standardized codes to indicate the network layer protocol that PPP encapsulates.
![Page 20: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/20.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 20
Describe Point-to-Point Concepts Describe the purpose and format of each of the fields in
a PPP frame
Roll over the packet fields on page 2.2.3.1 to view descriptions.
![Page 21: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/21.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 21
Describe Point-to-Point Concepts Define the three phases of PPP session establishment
![Page 22: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/22.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 25
Describe Point-to-Point Concepts PPP can be configured to support various functions
including: Authentication using either PAP or CHAP, Compression using either Stacker or Predictor, Multilink which combines two or more channels to increase the WAN bandwidth.
![Page 23: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/23.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 27
Activity 2 (page 2.2.6.2)
![Page 24: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/24.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 28
Activity 4 (page 2.2.6.2)
![Page 25: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/25.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 30
Configure PPP on a Serial Interface
![Page 26: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/26.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 31
Configure PPP on a Serial Interface Explain the output of the show interfaces serial
command
![Page 27: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/27.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 32
Configure PPP on a Serial Interface The no form of this command disables debugging
output.
![Page 28: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/28.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 33
Configure PPP on a Serial Interface
The no form of this command disables debugging output.
![Page 29: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/29.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 34
Configure PPP on a Serial Interface The figure shows the output of the debug ppp
negotiation command in a normal negotiation, where both sides agree on network control program (NCP) parameters. In this case, protocol type IP is proposed and acknowledged.
![Page 30: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/30.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 35
Configuring PPP with Authentication PPP Authentication – RFC 1334
![Page 31: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/31.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 36
Configuring PPP with Authentication PAP is not a strong authentication protocol. But, there
are times when using PAP can be justified.
![Page 32: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/32.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 37
Configuring PPP with Authentication Unlike PAP, which only authenticates once, CHAP conducts
periodic challenges to make sure that the remote node still has a valid password value.
![Page 33: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/33.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 39
Configuring PPP with Authentication Configuring PAP
172.25.3.0/24Serial .1/S0.2/S0
DCEDTE
hostname SantaCruzusername HQ password HQpass
interface Serial0 ip address 172.25.3.2 255.255.255.0 encapsulation ppp ppp authentication pap ppp pap sent-username SantaCruz password SantaCruzpass
hostname HQusername SantaCruz password SantaCruzpass
interface Serial0 ip address 172.25.3.1 255.255.255.0 encapsulation ppp ppp authentication pap ppp pap sent-username HQ password HQpass
![Page 34: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/34.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 40
Configuring PPP with Authentication Configuring PAP
172.25.3.0/24Serial .1/S0.2/S0
DCEDTE
hostname SantaCruzusername HQ password HQpass
interface Serial0 ip address 172.25.3.2 255.255.255.0 encapsulation ppp ppp authentication pap ppp pap sent-username SantaCruz password SantaCruzpass
hostname HQusername SantaCruz password SantaCruzpass
interface Serial0 ip address 172.25.3.1 255.255.255.0 encapsulation ppp ppp authentication pap ppp pap sent-username HQ password HQpass
Notes: sent-username and password must match remote username and password. Passwords are case-sensitive, but usernames are not. Hostnames are not involved.
![Page 35: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/35.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 41
Configuring PPP with Authentication Configuring CHAP
172.25.3.0/24Serial .1/S0.2/S0
DCEDTE
hostname SantaCruzusername HQ password boardwalk
interface Serial0 ip address 172.25.3.2 255.255.255.0 encapsulation ppp ppp authentication chap
hostname HQusername SantaCruz password boardwalk
interface Serial0 ip address 172.25.3.1 255.255.255.0 encapsulation ppp ppp authentication chap
![Page 36: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/36.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 42
Configuring PPP with Authentication Explain how to configure a PPP connection with
authentication
![Page 37: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/37.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 43
Configuring PPP with Authentication Explain the output of the debug ppp authentication
command
![Page 38: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/38.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 44
Summary
PPP is a widely used WAN protocol
PPP provides multi-protocol LAN to WAN connections
PPP session establishment – 4 phasesLink establishment
Link quality determination
Network layer protocol configuration negotiation
Link termination
WAN Encapsulation–HDLC default encapsulation
–PPP
![Page 39: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/39.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 45
Summary
PPP authentication–PAP
•2 way handshake
–CHAP
•3 way handshake
–Use debug ppp authentication to confirm authentication configuration
PPP configuration–Done on a serial interface
After PPP configuration, use show interfaces command to display:
–LCP state
–NCP state
![Page 40: Chapter2 ppp](https://reader033.vdocuments.site/reader033/viewer/2022061221/54be713c4a79598f578b4570/html5/thumbnails/40.jpg)
© 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicITE 1 Chapter 6 46