Presentation is loading. Please wait.

Presentation is loading. Please wait.

PPP Configuration.

Similar presentations


Presentation on theme: "PPP Configuration."— Presentation transcript:

1 PPP Configuration

2 Configuring HDLC Encapsulation

3 Configuring PPP Router#configure terminal
Router(config)#interface serial 0/0 Router(config-if)#encapsulation ppp Enables PPP encapsulation on serial interface 0/0 interface Serial0 ip address encapsulation ppp interface Serial0 ip address encapsulation ppp

4 Verifying PPP LCP NCP

5 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.

6 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.

7 It involves a three-way exchange of a shared secret.
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.

8 PAP

9 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.

10

11 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.

12

13 Encrypted password Repeated challenges

14 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.

15 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.

16 Configuring PPP Authentication Checklist


Download ppt "PPP Configuration."

Similar presentations


Ads by Google