Task 1:
For reference information on configuring hostnames, please refer to:
Lab 20 Configuration and Verification Task 1
Lab 21 Configuration and Verification Task 1
Task 2:
For reference information on verifying DTE/DCE status, please refer to:
Lab 20 Configuration and Verification Task 2
Lab 21 Configuration and Verification Task 2
For reference information on configuring DCE clocking, please refer to:
Lab 20 Configuration and Verification Task 3
Lab 21 Configuration and Verification Task 3
Task 3:
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s0/2
R1(config-if)#encapsulation ppp
R1(config-if)#ip address 10.0.254.1 255.255.255.240
R1(config-if)#^Z
R1#
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#interface s0/0
R2(config-if)#encapsulation ppp
R2(config-if)#ip add 10.0.254.2 255.255.255.240
R2(config-if)#end
R2#
Task 4:
For reference information on verifying Serial encapsulation, please refer to:
Lab 21 Configuration and Verification Task 5
Lab 22 Configuration and Verification Task 5
Task 5:
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#username R2 password PAP
R1(config)#end
R1#
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#username R1 password PAP
R2(config)#^Z
R2#
Task 6:
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s0/0
R1(config-if)#ppp authentication pap
R1(config-if)#ppp pap sent-username R1 password PAP
R1(config-if)#^Z
R1#
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#interface serial0/0
R2(config-if)#ppp authentication pap
R2(config-if)#ppp pap sent-username R2 password PAP
R2(config-if)#end
R2#
Task 7:
R1#debug ppp authentication
PPP authentication debugging is on
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s0/0
R1(config-if)#shut
R1(config-if)#
*Mar 1 02:24:04.158: %LINK-5-CHANGED: Interface Serial0/0, changed state to administratively down
*Mar 1 02:24:05.159: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
R1(config-if)#no shut
R1(config-if)#
*Mar 1 02:24:14.943: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
*Mar 1 02:24:14.943: Se0/0 PPP: Using default call direction
*Mar 1 02:24:14.943: Se0/0 PPP: Treating connection as a dedicated line
*Mar 1 02:24:14.943: Se0/0 PPP: Session handle[BC000002] Session id[4]
*Mar 1 02:24:14.943: Se0/0 PPP: Authorization required
*Mar 1 02:24:14.951: Se0/0 PAP: Using hostname from interface PAP
*Mar 1 02:24:14.951: Se0/0 PAP: Using password from interface PAP
*Mar 1 02:24:14.951: Se0/0 PAP: O AUTH-REQ id 2 len 11 from “R1”
*Mar 1 02:24:14.951: Se0/0 PAP: I AUTH-REQ id 2 len 11 from “R2”
*Mar 1 02:24:14.951: Se0/0 PAP: Authenticating peer R2
*Mar 1 02:24:14.955: Se0/0 PPP: Sent PAP LOGIN Request
*Mar 1 02:24:14.955: Se0/0 PPP: Received LOGIN Response PASS
*Mar 1 02:24:14.959: Se0/0 PPP: Sent LCP AUTHOR Request
*Mar 1 02:24:14.959: Se0/0 PPP: Sent IPCP AUTHOR Request
*Mar 1 02:24:14.963: Se0/0 PAP: I AUTH-ACK id 2 len 5
*Mar 1 02:24:14.963: Se0/0 LCP: Received AAA AUTHOR Response PASS
*Mar 1 02:24:14.963: Se0/0 IPCP: Received AAA AUTHOR Response PASS
*Mar 1 02:24:14.967: Se0/0 PAP: O AUTH-ACK id 2 len 5
*Mar 1 02:24:14.967: Se0/0 PPP: Sent CDPCP AUTHOR Request
*Mar 1 02:24:14.971: Se0/0 PPP: Sent IPCP AUTHOR Request
*Mar 1 02:24:14.975: Se0/0 CDPCP: Received AAA AUTHOR Response PASS
*Mar 1 02:24:15.969: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R1(config-if)#end
*Mar 1 02:24:22.339: %SYS-5-CONFIG_I: Configured from console by console
R1#
R1#undebug all
All possible debugging has been turned off
| NOTE: By default, PAP sends usernames and passwords in clear text and is generally not considered a secure authentication means for PPP. The recommended and most common means to secure and authenticate via PPP is to use Challenge Handshake Authentication Protocol, or CHAP. In the above debug output, while the password is not shown, we can see the usernames “R1” and “R2” printed.
|