Professional Documents
Culture Documents
Module 2 PPP
Module 2 PPP
Objectives
Describe the fundamental concepts of point-to-point
serial communication.
TDM is a physical layer concept. It has no regard for the nature of the
information that is being multiplexed onto the output channel
TDM is independent of the Layer 2 protocol that has been used by the input
channels
In analogy, compare TDM to a train with 32 railroad cars
ISDN
DTE-DCE
10
11
There are some possible problem states can be identified in the interface
status line of the show interface serial display:
12
PPP Concepts
Introducing PPP
14
15
16
LCP features
17
18
LCP
NCP
19
Link-establishment phase
In this phase each PPP device sends LCP frames to configure and test the data
link.
LCP frames contain a configuration option field that allows devices to negotiate
the use of options such as the maximum transmission unit (MTU), compression of
certain PPP fields, and the link-authentication protocol.
If a configuration option is not included in an LCP packet, the default value for that
configuration option is assumed.
Before any network layer packets can be exchanged, LCP must first open the
connection and negotiate the configuration parameters.
This phase is complete when a configuration acknowledgment frame has been
sent and received.
20
Optional Phase
After the link has been established and the authentication protocol
decided on, the peer may be authenticated.
Authentication, if used, takes place before the network layer protocol
phase is entered.
As part of this phase, LCP also allows for an optional link-quality
determination test.
The link is tested to determine whether the link quality is good
enough to bring up network layer protocols
21
In this phase the PPP devices send NCP packets to choose and
configure one or more network layer protocols, such as IP.
Once each of the chosen network layer protocols has been
configured, packets from each network layer protocol can be sent
over the link.
The show interfaces command reveals the LCP and NCP
states under PPP configuration.
22
LCP
NCP
23
Configuring PPP
Configuring PPP
Router#configure terminal
Router(config)#interface serial slot/port_number
Router(config-if)#encapsulation ppp
25
1. Link establishment
2. Link quality determination, Authentication - Optional
3. Network layer protocol configuration
26
PAP provides a simple method for a remote node to establish its identity,
using a two-way handshake.
The local router checks the response against its own calculation of
the expected hash value.
If the values match, the authentication is acknowledged, otherwise
the connection is immediately terminated.
28
29
30
Enabling PPP
Enabling PPP
31
PAP Configuration
32
CHAP Configuration
33
Verifying PPP
34
35
36