PPP encapsulation & chap verification configuration Experiment

Source: Internet
Author: User

Topology:

R1 S1/1 IP: 1.1.1.1/24

R2 S1/0 IP: 1.1.1.2/24

R1 Configuration:

R1 (config) # int S1/1
R1 (config-If) # IP add 1.1.1.1 255.255.255.0
R1 (config-If) # encapsulation PPP
R1 (config-If) # PPP authentication chap
R1 (config-If) # No sh
R1 (config-If) # exit

R1 (config) # username R2 password Cisco

R2 Configuration:

R2 (config) # int S1/0
R2 (config-If) # IP add 1.1.1.2 255.255.255.0
R2 (config-If) # encapsulation PPP
R2 (config-If) # PPP authentication chap
R2 (config-If) # No sh
R2 (config-If) # exit

R1 (config) # username R1 password Cisco

Note: The username is the hostname of the other party, and the password must be consistent. If the same username is used, additional commands will be attached (so that I forgot)

PPP supports two authentication protocols: the password verification protocol (PAP) and the question grip hand verification protocol (CHAP ). PPP negotiation includes Link Control Protocol (LCP) Negotiation, authentication, and Network Control Protocol (NCP) negotiation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.