0% found this document useful (0 votes)
43 views34 pages

PPP Configuration

This document discusses various WAN technologies including point-to-point serial links and protocols like HDLC and PPP. It explains that point-to-point serial links use DCE devices like modems to convert data for transmission over the WAN. PPP is described as a data-link protocol that can support both synchronous and asynchronous serial links, establishing sessions through Link Control Protocol and Network Control Protocol. PPP authentication is also summarized, outlining the differences between PAP and CHAP protocols.

Uploaded by

mihaboy339
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views34 pages

PPP Configuration

This document discusses various WAN technologies including point-to-point serial links and protocols like HDLC and PPP. It explains that point-to-point serial links use DCE devices like modems to convert data for transmission over the WAN. PPP is described as a data-link protocol that can support both synchronous and asynchronous serial links, establishing sessions through Link Control Protocol and Network Control Protocol. PPP authentication is also summarized, outlining the differences between PAP and CHAP protocols.

Uploaded by

mihaboy339
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

WAN Technologies

POINT–TO-POINT
1
SERIAL POINT-TO-POINT LINK
2
`Physical Components

The DCE, commonly a modem or CSU/DSU, is the device used to


convert the user data from the DTE into a form acceptable to the
WAN service provider transmission link.
3
`Physical Components

The synchronous serial port on a router is configured as DTE or


DCE depending on the attached cable
4
` Demarcation Point

The point in the network where the responsibility


of the service provider or "telco" ends.
5
` Data-Link Protocols for Point-to-Point Leased Lines

There are 2 most popular WAN Data Link Protocols:


• HDLC (High-Level Data Link Control)
• PPP (Point-to-Point Protocol)

Characteristics:
• HDLC and PPP provide for the delivery of data
across a single point-to-point serial link.
• HDLC and PPP deliver data on synchronous serial
links; PPP also supports asynchronous serial links.
6
` Synchronous and Asynchronous Data Transmission

• Synchronous: data is sent via a bit-stream, which sends a


group of characters in a single stream. In order to do this,
modems gather groups of characters into a buffer, where they
are prepared to be sent as such a stream. In order for the
stream to be sent, synchronous modems must be in perfect
synchronization with each other. They accomplish this by
sending special characters, called synchronization, or syn,
characters. When the clocks of each modem are in
synchronization, the data stream is sent.
• Asynchronous: data is coded into a series of pulses, including
a start bit and a stop bit. A start bit is sent by the sending
modem to inform the receiving modem that a character is to be
sent. The character is then sent, followed by a stop bit
designating that the transfer of that bit is complete.
7
`HDLC Encapsulation

• HDLC uses synchronous serial transmission


providing error-free communication between two
points.
• HDLC defines a Layer 2 framing structure that
allows for flow control and error control using
acknowledgments and a windowing scheme.
• Each frame has the same format, whether it is a
data frame or a control frame
8
` HDLC Frame Format

• Uses a proprietary data field to support


multiprotocol environments

• Supports only single-protocol environments


9
`Configuring HDLC Encapsulation

• HDLC is enabled by default on Cisco serial


interfaces
• If it is disabled, you can enable it using command:
(config-if)# encapsulation HDLC
• When communicating with a non-Cisco device,
synchronous PPP is a more viable option.
10
`Troubleshooting A Serial Interface

• show controllers
• show interface
11
Point-to-Point Protocol (PPP)
12
` An Overview of PPP

• PPP can carry packets from several protocol suites


using NCP.
• PPP controls the setup of several link options using LCP.
13
` PPP Layered Architecture
14
` PPP and the Data Link Layer
15
` PPP and the Network Layer
16
` PPP Session Establishment

• Two PPP authentication protocols:


PAP and CHAP
17
` PPP Operation
18
` Link Control Protocol Options
19
` PPP LCP Configuration Options
20
` Network Control Protocol
21
PPP AUTHENTICATION
22
` PPP Authentication Protocols

• Passwords sent in clear text


• Peer in control of attempts
23
` Challenge Handshake Authentication Protocol

• Hash values, not actual passwords, are sent across link.


• The local router or external server is in control of attempts.
24
`PPP Authentication Protocols:CHAP Operation
Sydney Hongkong
Challenge

Username Password
Sydney Random ID 01
Sydney cisco
Melbourne sanhinoon
Username Password
Hongkong cisco
Melbourne sanhinoon MD5

MD5 Hash #
Response

Hash #
Hongkong Hash# ID 02

Is Equal?
Sydney Ack/Nack ID 03
25
`PPP Encapsulation And Authentication Process
26
CONFIGURING PPP
27
`Configuring PPP

• Enable PPP
Router(config)#interface serial 0/0
Router(config-if)#encapsulation ppp
28
`Configuring PPP authentication
• Step 1: Define username and password to expect
from remote router
– Router(config)#username remote password secret
– Secret must be the same at both ends if CHAP is used
• Step 2: Enable PPP
– Router(config-if)# encapsulation ppp
• Step 3: Configure authentication
– Router(config-if)# ppp authentication { pap|chap|pap-
chap|chap-pap}
• Step 4: if IOS 11.1 or later, PAP must be enable on
interface
– Router(config-if)ppp pap sent-username user
password pass
29
`Configuring PPP authentication
30
` CHAP Configuration Example
31
`Verifying The Serial PPP Encapsulation Configuration

Houston#sh int serial 1/0


Serial1/0 is up, line protocol is up
Hardware is DSX1
Internet address is 10.10.10.3/24
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
Keepalive set (10 sec)
LCP Open
Open: IPCP, CDPCP
Last input 00:00:09, output 00:53:17, output hang never
Last clearing of "show interface" counters 01:09:05
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 164
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
--More--
32
`Troubleshooting The Serial Encapsulation Configuration

left
right

• right#debug ppp negotiation


00:02:28: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
00:02:28: Se0/0 PPP: Using default call direction
<omit>
right(config-i8: Se0/0 PPP: Phase is AUTHENTICATING, by both [0 sess, 0
load]
00:02:28: Se0/0 CHAP: O CHALLENGE id 14 len 26 from "right"
00:02:28: Se0/0 CHAP: I CHALLENGE id 17 len 25 from "left"
00:02:28: Se0/0 CHAP: O RESPONSE id 17 len 26 from "right"
00:02:28: Se0/0 CHAP: I RESPONSE id 14 len 25 from "left"
00:02:28: Se0/0 CHAP: O SUCCESS id 14 len 4
00:02:28: Se0/0 CHAP: I SUCCESS id 17 len 4
33
`Summary

• Explain serial communication


• Identify the demarcation point in a WAN
• Describe the functions of the DTE and DCE
• Identify the advantages of using PPP
• Explain the functions of the Link Control Protocol (LCP) and
the Network Control Protocol (NCP) components of PPP
• Identify the three phases of a PPP session
• Explain the difference between PAP and CHAP
• List the steps in the PPP authentication process
• Configure PPP encapsulation
• Configure CHAP and PAP authentication
34

You might also like