Task 2: Configure PPP with CHAP and PAP Authentication
Step 1. Configure the WAN link from HQ to ISP using PPP encapsulation and CHAP authentication.
The CHAP password is ciscochap.
We open console on HQ again and begin...
HQ>enable
HQ#conf t
Enter configuration commands, one per line. End with CNTL/Z.
HQ(config)#interface serial 0/1/0
HQ(config-if)#ip address 209.165.201.1 255.255.255.252
HQ(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
HQ(config-if)#encapsulation ppp
HQ(config-if)#ppp authentication chap
HQ(config-if)#exit
HQ(config)#username ISP password ciscochap
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
do ping 209.165.201.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.165.201.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 6/8/14 ms
HQ(config)#do copy r s
Destination filename [startup-config]?
Building configuration...
[OK]
Step 1. Configure the WAN link from HQ to ISP using PPP encapsulation and CHAP authentication.
The CHAP password is ciscochap.
We open console on HQ again and begin...
HQ>enable
HQ#conf t
Enter configuration commands, one per line. End with CNTL/Z.
HQ(config)#interface serial 0/1/0
HQ(config-if)#ip address 209.165.201.1 255.255.255.252
HQ(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
HQ(config-if)#encapsulation ppp
HQ(config-if)#ppp authentication chap
HQ(config-if)#exit
HQ(config)#username ISP password ciscochap
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/0, changed state to up
do ping 209.165.201.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 209.165.201.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 6/8/14 ms
HQ(config)#do copy r s
Destination filename [startup-config]?
Building configuration...
[OK]