Point-to-Point Protocol: Semester 4, Chapter 4
Point-to-Point Protocol: Semester 4, Chapter 4
Protocol
Semester 4, Chapter 4
Figure 1
Figure 2
Data Link
Synchronous or asynchronous
physical media (Router to
Router, or Host to Network)
PPP Session
Establishment
Link establishment occurs at the data link layer with each PPP
device sending LCP packets.
The Link Control Protocol packets contain a configuration field for
options such as...
MTU
compression
link authentication
MLP
Call back
LCP must establish the link before any network layer protocols can
be exchanged
This phase is completed when a configuration acknowledgement
has been sent and received.
2. Link-Quality Determination
PPP provides optional testing to determine whether
the link is good enough to bring up network layer
protocols.
In addition, if authentication is required it occurs
during this phase:
PAP
3. Network-Layer Negotiation
Once LCP finishes the link-quality phase, network
layer protocols can be configured by the appropriate
NCP
NCPs are sent for each protocol (e.g., IP, IPX,
AppleTalk)
If LCP terminates the link, it informs NCP so it can
take the appropriate action
To view the status of LCP and NCP, use the show
interfaces command
4. Link Termination
Enabling PPP
Router(config-if)#encapsulation ppp
RTA(config)#interface async 2
RTA(config-if)#encapsulation ppp
EXEC Sessions: No IP
addressing or PPP encapsulation
is needed for this type of
connection. Data is sent as
asynchronous characters.
Dialup PPP: a remote host can
dial in to an access server and
send a Layer 3 protocol packet
encapsulated by PPP. This type of
connection allows the remote user
to access network resources such
as file servers and mail servers
You can also configure the router's
asynchronous interface to
automatically select between PPP
data sessions and EXEC
sessions.
Enabling this feature requires two steps. First, you must configure the
asynchronous interface(s) with the async mode interactive command
in interface configuration mode. This command configures the router so that
it allows the remote host to choose either a PPP session or an EXEC
session. The following example shows how to configure interface async 1:
Second, you must configure the corresponding terminal line(s) with the
autoselect ppp command in line configuration mode. To complete the
example configuration, you would enter the following commands:
RTA(config)#interface async 1
RTA(config-if)#encapsulation ppp
RTA(config-if)#async mode interactive
RTA(config)#line 1
RTA(config-line)#autoselect ppp during-login
RTA(config)#interface async 1
RTA(config-if)#ip address 10.1.1.1 255.255.255.0
LCP options
1. Authentication
Authentication
Challenge Handshake
Authentication Protocol (CHAP):
Configuring PAP
Mutual Authentication
On each router, define the user name and password to except from the remote router.
Enable PPP and PAP on the interface.
Configuring CHAP
Lab-A(config)#username Lab-B password cisco
Lab-A(config-if)#encap ppp
Lab-A(config-if)#ppp authentication chap
--------Lab-B(config)#username Lab-A password cisco
Lab-B(config-if)#encap ppp
Lab-B(config-if)#ppp authentication chap
Verifying Authentication
Go
LCP options
2. Compression
Data Compression
Data Compression
Compression Types
Configuring Compression
Verifying Compression
Review
PPP Main
Components
PPP
Encapsulation
Synchronous
and asynchronous
PPP provides error detection
PPP IOS
Commands
User Control
Configuring the router to provide a prompt
for entering encapsulation information and
an IP address,
Or, you can take the prompt away and
assign everything by the router
Interface
Async 4
Async mode dedicated
Encapsulation SLIP
Interface
Async 6
Async mode interactive
Providing IP address
Pooling Local
IP address-Pool Local
(config)# IP local pool Sales 172.16.80.1 172.16.80.16
(config)#Int async 1
(config-if) Peer default IP-address pool Sales
encapsulation PPP
(config-if) IP address 192.1.170.1 255.255.255.0
(config-if) per default IP address pool isdnpool
(config-if) PPP authentication chap
Pool-DHCP
Specify that the access server uses the DHCP client-proxy on all
asynchronous interfaces by using the command:
Interface group-async 0
(config)# Group-range 2 7
(config)# Interface group-async 0
(config-if)# encapsulation PPP
(config-if)# member 1 async default IP address 172.30.1.1
PPP Callback
Why?:
Minimizing cost
Centralized billing
PPP Callback
3.
4.
PPP Callback
5.
6.
7.
PC
Must
Interface bri0
IP address 1.2.3.4 255.255.255.0
Encapsulation PPP
PPP authentication chap
PPP multilink
Dialer map IP 1.0.0.5 name mlpPeer 5554444
Dialer load threshold 128 either
PPP compression
Data compression:
Stacker: