+ All Categories
Home > Documents > PPP Configuration. Configuring HDLC Encapsulation.

PPP Configuration. Configuring HDLC Encapsulation.

Date post: 19-Jan-2016
Category:
Upload: annice-bradley
View: 239 times
Download: 6 times
Share this document with a friend
Popular Tags:
16
PPP Configuration
Transcript
Page 1: PPP Configuration. Configuring HDLC Encapsulation.

PPP Configuration

Page 2: PPP Configuration. Configuring HDLC Encapsulation.

Configuring HDLC Encapsulation

Page 3: PPP Configuration. Configuring HDLC Encapsulation.

Configuring PPP

Enables PPP encapsulation on serial interface 0/0

Router#configure terminalRouter(config)#interface serial 0/0Router(config-if)#encapsulation ppp

172.25.3.0/24Serial .1/S0.2/S0

DCEDTE

interface Serial0 ip address 172.25.3.2 255.255.255.0 encapsulation ppp

interface Serial0 ip address 172.25.3.1 255.255.255.0 encapsulation ppp

Page 4: PPP Configuration. Configuring HDLC Encapsulation.

NCPLCP

Verifying PPP

Page 5: PPP Configuration. Configuring HDLC Encapsulation.

Authentication

• Authentication is a mechanism used to verify the identity of another device.

• This identity verification is needed to confirm that the other device is legitimate and not some one only appearing to be an authentic device in order to cause damage or steal information.

• For example, if R1 and R2 are to form a serial link using PPP, R1 may want R2 to somewhow prove that it really is R2. This scenario is where R1 is authenticating R2, or in other words, asking R2 to prove its identity.

Page 6: PPP Configuration. Configuring HDLC Encapsulation.

Authentication

• PPP defines two authentication protocols:– Password Authentication Protocol (PAP)– Channel Handshake Authentication Protocol

(CHAP). • Both protocols involve exchanges of messages

between the two PPP speaking devices, but there are differences in detail.

Page 7: PPP Configuration. Configuring HDLC Encapsulation.

PAP Is a very basic two-way process. There is no encryption the username and password are sent in plain text.

If it is accepted, the connection is allowed.

CHAP Is more secure than PAP. It involves a three-way exchange of a shared secret.

Page 8: PPP Configuration. Configuring HDLC Encapsulation.

PAP

Page 9: PPP Configuration. Configuring HDLC Encapsulation.

PAP

• With PAP, the device to be authenticated starts the message exchange by sending a clear text password, claiming to be legitimate.

• The device at the other end of PPP link compares the password with its own password and if the password is correct, sends back an acknowledgement.

• The authentication process is one way and one or both devices can authenticate each other separately.

• PAP is simple in operation as well as configuration but it is insecure because the password is sent in clear text and can be sniffed.

Page 10: PPP Configuration. Configuring HDLC Encapsulation.
Page 11: PPP Configuration. Configuring HDLC Encapsulation.

CHAP

• CHAP is a one-way authentication method, which means it involves an authenticator authenticating its peer.

• In practice, both peers are configured to authenticate each other and two separate three-way handshakes take place.

• CHAP uses a one-way hash algorithm, known as MD5, with input to the algorithm being a password that is used locally to compute the hash and never crosses the link and a shared random number.

Page 12: PPP Configuration. Configuring HDLC Encapsulation.
Page 13: PPP Configuration. Configuring HDLC Encapsulation.

Encrypted password Repeated challenges

Page 14: PPP Configuration. Configuring HDLC Encapsulation.

CHAP• CHAP is used at the startup of a link and periodically verifies the identity of

the remote node using a three-way handshake. • After the PPP link establishment phase is complete, the local router sends a

"challenge" message to the remote node. • The remote node responds with a value calculated using a one-way hash

function, which is typically Message Digest 5 (MD5). • This response is based on the password and challenge message. • 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.

Page 15: PPP Configuration. Configuring HDLC Encapsulation.

CHAP

• CHAP provides protection against playback attack through the use of a variable challenge value that is unique and unpredictable.

• Since the challenge is unique and random, the resulting hash value will also be unique and random.

• The use of repeated challenges is intended to limit the time of exposure to any single attack.

Page 16: PPP Configuration. Configuring HDLC Encapsulation.

Configuring PPP Authentication Checklist


Recommended