PG1X WIKI

My Knowledge Base

User Tools

Site Tools


tech:network:cisco:ppp:ppp

PPP

back to back connection.

CHAP

  • R1

DCE

en
conf t
!
username R2 password PG1X
!
int s0/0/0
ip address 172.16.2.1 255.255.255.252
encapsulation ppp
ppp authentication chap
clock rate 64000
no shut
exit
!
end
  • R2

DTE

en
conf t
!
username R1 password PG1X
!
int s0/0/0
ip address 172.16.2.2 255.255.255.252
encapsulation ppp
ppp authentication chap
no shut
exit
!
end
R1(config-if)#do clea ppp all
R1(config-if)#
*Oct 21 11:35:23.311: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config-if)#do ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1(config-if)#
R1(config-if)#
*Oct 21 11:36:06.347: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1(config-if)#do ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R1(config-if)#
R2(config-if)#do ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
.
Success rate is 0 percent (0/1)
R2(config-if)#username R1 password PG1X
R2(config)#
*Oct 21 11:39:34.291: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config)#do ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
R2(config)#

PAP

  • R1

DCE

en
conf t
!
username wnoguchi password PG1X
!
int s0/0/0
ip address 172.16.2.1 255.255.255.252
encapsulation ppp
ppp authentication pap
ppp pap sent-username wnoguchi password PG1X
clock rate 64000
no shut
exit
!
end
  • R2

DTE

en
conf t
!
username wnoguchi password PG1X
!
int s0/0/0
ip address 172.16.2.2 255.255.255.252
encapsulation ppp
ppp authentication pap
ppp pap sent-username wnoguchi password PG1X
no shut
exit
!
end
R2(config-if)#ppp pap sent-username wnoguchi password PG1X
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R1(config)#
*Oct 22 22:48:03.291: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 22 22:48:03.303: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config)#clock rate 64000
                 ^
% Invalid input detected at '^' marker.

R1(config)#
*Oct 22 22:48:19.419: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 22 22:48:19.431: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config)#int s0/0/0
R1(config-if)#clock rate 64000
R1(config-if)#exit
R1(config)#username wnoguchi password PG1X
R1(config)#do debug ppp authen
R1(config)#do debug ppp authen
PPP authentication debugging is on
R1(config)#
*Oct 22 22:49:23.415: Se0/0/0 PPP: Using default call direction
*Oct 22 22:49:23.415: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:49:23.415: Se0/0/0 PPP: Session handle[B5000044] Session id[68]
*Oct 22 22:49:23.459: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:49:23.459: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:49:23.459: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:23.463: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:23.463: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:49:23.463: Se0/0/0 PPP: Sent PAP LOGIN Request
R1(config)#
*Oct 22 22:49:23.463: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:49:23.471: Se0/0/0 PAP: I AUTH-NAK id 1 len 26 msg is "Authentication failed"
*Oct 22 22:49:23.471: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
R1(config)#
*Oct 22 22:49:27.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 22 22:49:27.495: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config)#
*Oct 22 22:49:29.479: Se0/0/0 PPP: Using default call direction
*Oct 22 22:49:29.479: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:49:29.479: Se0/0/0 PPP: Session handle[21000045] Session id[69]
*Oct 22 22:49:29.507: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:49:29.507: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:49:29.507: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:29.511: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:29.511: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:49:29.511: Se0/0/0 PPP: Sent PAP LOGIN Request
R1(config)#
*Oct 22 22:49:29.511: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:49:29.519: Se0/0/0 PAP: I AUTH-NAK id 1 len 26 msg is "Authentication failed"
*Oct 22 22:49:29.523: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
R1(config)#
*Oct 22 22:49:32.515: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1(config)#
*Oct 22 22:49:33.543: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
*Oct 22 22:49:34.535: Se0/0/0 PPP: Using default call direction
*Oct 22 22:49:34.535: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:49:34.535: Se0/0/0 PPP: Session handle[FC000046] Session id[70]
*Oct 22 22:49:34.563: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:49:34.563: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:49:34.563: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:34.567: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:34.567: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:49:34.567: Se0/0/0 PPP: Sent PAP LOGIN Request
R1(config)#
*Oct 22 22:49:34.567: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:49:34.575: Se0/0/0 PAP: I AUTH-NAK id 1 len 26 msg is "Authentication failed"
*Oct 22 22:49:34.575: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
R1(config)#
*Oct 22 22:49:38.587: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 22 22:49:38.599: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config)#
*Oct 22 22:49:40.583: Se0/0/0 PPP: Using default call direction
*Oct 22 22:49:40.583: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:49:40.583: Se0/0/0 PPP: Session handle[5A000047] Session id[71]
*Oct 22 22:49:40.611: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:49:40.611: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:49:40.611: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:40.615: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:40.615: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:49:40.615: Se0/0/0 PPP: Sent PAP LOGIN Request
R1(config)#
*Oct 22 22:49:40.615: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:49:40.623: Se0/0/0 PAP: I AUTH-NAK id 1 len 26 msg is "Authentication failed"
*Oct 22 22:49:40.623: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
R1(config)#
*Oct 22 22:49:42.639: Se0/0/0 PPP: Using default call direction
*Oct 22 22:49:42.639: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:49:42.639: Se0/0/0 PPP: Session handle[CB000048] Session id[72]
*Oct 22 22:49:42.659: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:49:42.659: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:49:42.659: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:42.659: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:42.663: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:49:42.663: Se0/0/0 PPP: Sent PAP LOGIN Request
R1(config)#
*Oct 22 22:49:42.663: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:49:42.671: Se0/0/0 PAP: I AUTH-NAK id 1 len 26 msg is "Authentication failed"
*Oct 22 22:49:42.671: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
R1(config)#
*Oct 22 22:49:44.679: Se0/0/0 PPP: Using default call direction
*Oct 22 22:49:44.679: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:49:44.679: Se0/0/0 PPP: Session handle[53000049] Session id[73]
*Oct 22 22:49:44.707: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:49:44.707: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:49:44.707: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:44.707: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:44.711: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:49:44.711: Se0/0/0 PPP: Sent PAP LOGIN Request
R1(config)#
*Oct 22 22:49:44.711: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:49:44.719: Se0/0/0 PAP: I AUTH-NAK id 1 len 26 msg is "Authentication failed"
*Oct 22 22:49:44.719: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
R1(config)#
R1(config)#
*Oct 22 22:49:46.735: Se0/0/0 PPP: Using default call direction
*Oct 22 22:49:46.735: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:49:46.735: Se0/0/0 PPP: Session handle[4100004A] Session id[74]
*Oct 22 22:49:46.755: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:49:46.755: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:49:46.755: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:46.759: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:49:46.759: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:49:46.759: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 22:49:46.759: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:49:46.767: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
*Oct 22 22:49:46.771: Se0/0/0 PAP: I AUTH-ACK id 1 len 5
R1(config)#
*Oct 22 22:49:46.775: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1(config)#do ping 172.16.2.2 repeat 1000000
Type escape sequence to abort.
Sending 1000000, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (175/176), round-trip min/avg/max = 28/28/32 ms
R1(config)#
R2(config)#
*Oct 22 22:51:44.835: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 22 22:51:44.847: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2(config)#
R2(config)#int s0/0/0
R2(config-if)#
R2(config-if)#
*Oct 22 22:51:59.971: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 22 22:51:59.983: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2(config-if)#exit
R2(config)#
R2(config)#do debug ppp authen
R2(config)#do debug ppp authen
PPP authentication debugging is on
R2(config)#
*Oct 22 22:52:54.923: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:52:54.923: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:52:54.923: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:52:54.927: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:52:54.927: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:52:54.927: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 22:52:54.931: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 22 22:52:54.931: Se0/0/0 PAP: O AUTH-NAK id 1 len 26 msg is "Authentication failed"
R2(config)#
*Oct 22 22:52:58.943: Se0/0/0 PPP: Using default call direction
*Oct 22 22:52:58.943: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:52:58.943: Se0/0/0 PPP: Session handle[BB000045] Session id[69]
R2(config)#
*Oct 22 22:53:00.971: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:53:00.971: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:53:00.971: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:00.975: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:00.975: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:53:00.975: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 22:53:00.979: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 22 22:53:00.979: Se0/0/0 PAP: O AUTH-NAK id 1 len 26 msg is "Authentication failed"
R2(config)#
*Oct 22 22:53:03.991: Se0/0/0 PPP: Using default call direction
*Oct 22 22:53:03.991: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:53:03.991: Se0/0/0 PPP: Session handle[58000046] Session id[70]
R2(config)#
*Oct 22 22:53:06.027: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:53:06.027: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:53:06.027: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:06.031: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:06.031: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:53:06.031: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 22:53:06.035: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 22 22:53:06.035: Se0/0/0 PAP: O AUTH-NAK id 1 len 26 msg is "Authentication failed"
R2(config)#
*Oct 22 22:53:07.007: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config)#
*Oct 22 22:53:08.051: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2(config)#
*Oct 22 22:53:10.051: Se0/0/0 PPP: Using default call direction
*Oct 22 22:53:10.051: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:53:10.051: Se0/0/0 PPP: Session handle[AA000047] Session id[71]
R2(config)#username wnoguchi password PG1X
*Oct 22 22:53:12.075: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:53:12.075: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:53:12.075: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:12.079: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:12.079: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:53:12.079: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 22:53:12.083: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 22 22:53:12.083: Se0/0/0 PAP: O AUTH-NAK id 1 len 26 msg is "Authentication failed"
R2(config)#username wnoguchi password PG1X
*Oct 22 22:53:14.095: Se0/0/0 PPP: Using default call direction
*Oct 22 22:53:14.095: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:53:14.095: Se0/0/0 PPP: Session handle[F7000048] Session id[72]
*Oct 22 22:53:14.123: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:53:14.123: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:53:14.123: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:14.127: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:14.127: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:53:14.127: Se0/0/0 PPP: Sent PAP LOGIN Request
R2(config)#username wnoguchi password PG1X
*Oct 22 22:53:14.131: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 22 22:53:14.131: Se0/0/0 PAP: O AUTH-NAK id 1 len 26 msg is "Authentication failed"
R2(config)#username wnoguchi password PG1X
*Oct 22 22:53:16.143: Se0/0/0 PPP: Using default call direction
*Oct 22 22:53:16.143: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:53:16.147: Se0/0/0 PPP: Session handle[79000049] Session id[73]
*Oct 22 22:53:16.171: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:53:16.171: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:53:16.171: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:16.175: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:16.175: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:53:16.175: Se0/0/0 PPP: Sent PAP LOGIN Request
R2(config)#username wnoguchi password PG1X
*Oct 22 22:53:16.179: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 22 22:53:16.179: Se0/0/0 PAP: O AUTH-NAK id 1 len 26 msg is "Authentication failed"
R2(config)#username wnoguchi password PG1X
R2(config)#
*Oct 22 22:53:18.191: Se0/0/0 PPP: Using default call direction
*Oct 22 22:53:18.191: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:53:18.191: Se0/0/0 PPP: Session handle[6600004A] Session id[74]
*Oct 22 22:53:18.219: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:53:18.219: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:53:18.219: Se0/0/0 PAP: O AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:18.223: Se0/0/0 PAP: I AUTH-REQ id 1 len 18 from "wnoguchi"
*Oct 22 22:53:18.223: Se0/0/0 PAP: Authenticating peer wnoguchi
*Oct 22 22:53:18.223: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 22:53:18.227: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:53:18.231: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
*Oct 22 22:53:18.235: Se0/0/0 PAP: I AUTH-ACK id 1 len 5
R2(config)#
*Oct 22 22:53:18.239: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config)#do ping 172.16.2.1 repeat 1000000
Type escape sequence to abort.
Sending 1000000, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 99 percent (175/176), round-trip min/avg/max = 28/29/32 ms
R2(config)#
  • R1

DCE

en
conf t
!
username R2 password PG1X
!
int s0/0/0
ip address 172.16.2.1 255.255.255.252
encapsulation ppp
ppp authentication pap
ppp pap sent-username R1 password PG1X
clock rate 64000
no shut
exit
!
end
  • R2

DTE

en
conf t
!
username R1 password PG1X
!
int s0/0/0
ip address 172.16.2.2 255.255.255.252
encapsulation ppp
ppp authentication pap
ppp pap sent-username R2 password PG1X
no shut
exit
!
end
R1(config)#do u all
All possible debugging has been turned off
R1(config)#username R2 password PG1X
R1(config)#int s0/0/0
R1(config-if)#ip address 172.16.2.1 255.255.255.252
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap
R1(config-if)#ppp pap sent-username R1 password PG1X
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#!
R1(config)#end
R1#
*Oct 22 22:55:43.983: %SYS-5-CONFIG_I: Configured from console by console
R1#
*Oct 22 22:55:45.919: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#
*Oct 22 22:55:47.955: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#clear ppp all
R1#do pp
*Oct 22 22:56:06.255: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#
*Oct 22 22:56:08.307: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#debug ppp authen
R1#debug ppp authentication
PPP authentication debugging is on
R1#clear ppp all
R1#
*Oct 22 22:56:26.075: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#
*Oct 22 22:56:28.079: Se0/0/0 PPP: Using default call direction
*Oct 22 22:56:28.079: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:56:28.079: Se0/0/0 PPP: Session handle[9A00004D] Session id[77]
*Oct 22 22:56:28.099: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:56:28.099: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:56:28.099: Se0/0/0 PAP: O AUTH-REQ id 1 len 12 from "R1"
*Oct 22 22:56:28.099: Se0/0/0 PAP: I AUTH-REQ id 1 len 12 from "R2"
*Oct 22 22:56:28.099: Se0/0/0 PAP: Authenticating peer R2
*Oct 22 22:56:28.099: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 22:56:28.103: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:56:28.107: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
*Oct 22 22:56:28.115: Se0/0/0 PAP: I AUTH-ACK id 1 len 5
R1#
*Oct 22 22:56:28.119: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R1#u all
All possible debugging has been turned off
R1#
R2(config)#do u all
All possible debugging has been turned off
R2(config)#username R1 password PG1X
R2(config)#
*Oct 22 22:59:17.391: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2(config)#
*Oct 22 22:59:19.423: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config)#int s0/0/0
R2(config-if)#ip address 172.16.2.2 255.255.255.252
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication pap
R2(config-if)#ppp pap sent-username R2 password PG1X
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#!
R2(config)#end
R2#
*Oct 22 22:59:23.667: %SYS-5-CONFIG_I: Configured from console by console
R2#clear ppp all
R2#do pp
*Oct 22 22:59:37.723: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2#
*Oct 22 22:59:39.775: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#debug ppp authen
R2#debug ppp authentication
PPP authentication debugging is on
R2#clear ppp all
R2#
*Oct 22 22:59:57.547: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2#
*Oct 22 22:59:59.547: Se0/0/0 PPP: Using default call direction
*Oct 22 22:59:59.547: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 22:59:59.547: Se0/0/0 PPP: Session handle[8500004D] Session id[77]
*Oct 22 22:59:59.563: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 22:59:59.563: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 22:59:59.563: Se0/0/0 PAP: O AUTH-REQ id 1 len 12 from "R2"
*Oct 22 22:59:59.567: Se0/0/0 PAP: I AUTH-REQ id 1 len 12 from "R1"
*Oct 22 22:59:59.567: Se0/0/0 PAP: Authenticating peer R1
*Oct 22 22:59:59.571: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 22:59:59.571: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 22:59:59.579: Se0/0/0 PAP: I AUTH-ACK id 1 len 5
*Oct 22 22:59:59.579: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
R2#
*Oct 22 22:59:59.583: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R2#u all
All possible debugging has been turned off
R2#

reload router

R1>en
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#userna
R1(config)#username R2 password PG1X
R1(config)#int s0/0/0
R1(config-if)#ip address 172.16.2.1 255.255.255.252
R1(config-if)#encap
R1(config-if)#encapsulation ppp
R1(config-if)#ppp auth
R1(config-if)#ppp authe
R1(config-if)#ppp authentication pap
R1(config-if)#ppp pap sent-use
R1(config-if)#ppp pap sent-username R1 password PG1X
R1(config-if)#ppp pap sent-username R2 password PG1X
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R1(config-if)#ppp pap sent-username R1 password PG1X
R1(config-if)#ppp pap sent-username R2 password PG1X
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R1(config-if)#ppp pap sent-username R2 password PG1X
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R1(config-if)#ppp pap sent-username R2 password PG1X
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R1(config-if)#ppp pap sent-username R1 password PG1X
R1(config-if)#clock rate 64000
R1(config-if)#no shut
R1(config-if)#
*Oct 22 23:04:02.179: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
R1(config-if)#
*Oct 22 23:04:02.311: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1(config-if)#^Z
R1#
*Oct 22 23:04:05.067: %SYS-5-CONFIG_I: Configured from console by console
R1#debug ppp authentication
PPP authentication debugging is on
R1#clear ppp all
R1#
*Oct 22 23:04:33.987: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#
*Oct 22 23:04:35.983: Se0/0/0 PPP: Using default call direction
*Oct 22 23:04:35.983: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 23:04:35.983: Se0/0/0 PPP: Session handle[E8000002] Session id[2]
*Oct 22 23:04:35.995: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 23:04:35.995: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 23:04:35.995: Se0/0/0 PAP: O AUTH-REQ id 1 len 12 from "R1"
*Oct 22 23:04:36.011: Se0/0/0 PAP: I AUTH-REQ id 1 len 12 from "R2"
*Oct 22 23:04:36.011: Se0/0/0 PAP: Authenticating peer R2
*Oct 22 23:04:36.015: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 23:04:36.015: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 23:04:36.023: Se0/0/0 PAP: I AUTH-ACK id 1 len 5
*Oct 22 23:04:36.023: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
R1#
*Oct 22 23:04:36.027: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R1#
R2>en
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#userna
R2(config)#username R1 password PG1X
R2(config)#int s0/0/0
R2(config-if)#ip address 172.16.2.2 255.255.255.252
R2(config-if)#encap
R2(config-if)#encapsulation ppp
R2(config-if)#ppp auth
R2(config-if)#ppp authe
R2(config-if)#ppp authentication pap
R2(config-if)#ppp pap sent-use
R2(config-if)#ppp pap sent-username R2 password PG1X
R2(config-if)#ppp pap sent-username R1 password PG1X
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R2(config-if)#ppp pap sent-username R2 password PG1X
R2(config-if)#ppp pap sent-username R1 password PG1X
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R2(config-if)#ppp pap sent-username R1 password PG1X
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R2(config-if)#ppp pap sent-username R1 password PG1X
PPP: Warning:  You have chosen a username/password combination that
               is valid for CHAP.  This is a potential security hole.
R2(config-if)#ppp pap sent-username R2 password PG1X
R2(config-if)#no shut
R2(config-if)#
*Oct 22 23:07:33.279: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
R2(config-if)#
*Oct 22 23:07:33.391: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config-if)#^Z
R2#
*Oct 22 23:07:36.151: %SYS-5-CONFIG_I: Configured from console by console
R2#debug ppp authentication
PPP authentication debugging is on
R2#clear ppp all
R2#
*Oct 22 23:08:05.071: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2#
*Oct 22 23:08:07.071: Se0/0/0 PPP: Using default call direction
*Oct 22 23:08:07.071: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 22 23:08:07.071: Se0/0/0 PPP: Session handle[A9000002] Session id[2]
*Oct 22 23:08:07.095: Se0/0/0 PAP: Using hostname from interface PAP
*Oct 22 23:08:07.095: Se0/0/0 PAP: Using password from interface PAP
*Oct 22 23:08:07.095: Se0/0/0 PAP: O AUTH-REQ id 1 len 12 from "R2"
*Oct 22 23:08:07.095: Se0/0/0 PAP: I AUTH-REQ id 1 len 12 from "R1"
*Oct 22 23:08:07.095: Se0/0/0 PAP: Authenticating peer R1
*Oct 22 23:08:07.095: Se0/0/0 PPP: Sent PAP LOGIN Request
*Oct 22 23:08:07.099: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 22 23:08:07.103: Se0/0/0 PAP: O AUTH-ACK id 1 len 5
*Oct 22 23:08:07.111: Se0/0/0 PAP: I AUTH-ACK id 1 len 5
R2#
*Oct 22 23:08:07.115: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms

peer neighbor-route

for CCIE.

peer neighbor route installed.

  • R1

DCE

en
conf t
!
username R2 password PG1X
!
int s0/0/0
clock rate 64000
ip address 172.16.2.1 255.255.255.252
encapsulation ppp
ppp authentication chap
no shut
exit
!
end
  • R2

DTE

en
conf t
!
username R1 password PG1X
!
int s0/0/0
ip address 172.16.2.2 255.255.255.252
encapsulation ppp
ppp authentication chap
no shut
exit
!
end
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1(config-if)#do ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
C        172.16.2.1/32 is directly connected, Serial0/0/0
L        172.16.2.2/32 is directly connected, Serial0/0/0
R2(config-if)#do ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms

let's say clear ip route

R1#clear ip ro *
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#clear ppp all
R1#
*Oct 24 22:19:20.055: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#sh ip ro
*Oct 24 22:19:22.099: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#clear ppp all
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

R1#
*Oct 24 22:19:28.439: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#sh ip ro
*Oct 24 22:19:30.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0

Enter no peer neighbor-route

  • R1

DCE

en
conf t
!
username R2 password PG1X
!
int s0/0/0
clock rate 64000
ip address 172.16.2.1 255.255.255.252
encapsulation ppp
ppp authentication chap
no peer neighbor-route
no shut
exit
!
end
  • R2

DTE

en
conf t
!
username R1 password PG1X
!
int s0/0/0
ip address 172.16.2.2 255.255.255.252
encapsulation ppp
ppp authentication chap
no peer neighbor-route
no shut
exit
!
end
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s0;0/0
                 ^
% Invalid input detected at '^' marker.

R1(config)#int s0/0/0
R1(config-if)#peer
R1(config-if)#peer neigh
R1(config-if)#do ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R1(config-if)#no pear
R1(config-if)#no pee
R1(config-if)#no peer neigh
R1(config-if)#no peer neighbor-route
R1(config-if)#do sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1(config-if)#clear ip ro *
                ^
% Invalid input detected at '^' marker.

R1(config-if)#do clear ip ro *
R1(config-if)#do sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
R1(config-if)#do ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
R1(config-if)#do sh run int s0/0/0
Building configuration...

Current configuration : 169 bytes
!
interface Serial0/0/0
 ip address 172.16.2.1 255.255.255.252
 encapsulation ppp
 no peer neighbor-route
 no fair-queue
 ppp authentication chap
 clock rate 64000
end

R1(config-if)#^Z
R1#clear
*Oct 24 22:32:16.711: %SYS-5-CONFIG_I: Configured from console by console
R1#clear ppp all
R1#
*Oct 24 22:32:21.603: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#conf t
*Oct 24 22:32:23.667: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
R1#ping 172.16.2.2 repea
R1#ping 172.16.2.2 repeat 10000
Type escape sequence to abort.
Sending 10000, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 98 percent (97/98), round-trip min/avg/max = 28/29/56 ms
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int s0;0/0
                 ^
% Invalid input detected at '^' marker.

R2(config)#int s0/0/0
R2(config-if)#peer
R2(config-if)#peer neigh
R2(config-if)#do ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
R2(config-if)#no pear
R2(config-if)#no pee
R2(config-if)#no peer neigh
R2(config-if)#no peer neighbor-route
R2(config-if)#do sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
C        172.16.2.1/32 is directly connected, Serial0/0/0
L        172.16.2.2/32 is directly connected, Serial0/0/0
R2(config-if)#clear ip ro *
                ^
% Invalid input detected at '^' marker.

R2(config-if)#do clear ip ro *
R2(config-if)#do sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.2/32 is directly connected, Serial0/0/0
R2(config-if)#do ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
R2(config-if)#do sh run int s0/0/0
Building configuration...

Current configuration : 151 bytes
!
interface Serial0/0/0
 ip address 172.16.2.2 255.255.255.252
 encapsulation ppp
 no peer neighbor-route
 no fair-queue
 ppp authentication chap
end
R2(config-if)#^Z
R2#clear
*Oct 24 22:35:50.163: %SYS-5-CONFIG_I: Configured from console by console
R2#clear ppp all
R2#
*Oct 24 22:35:55.055: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2#sh ip ro
*Oct 24 22:35:57.119: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.2/32 is directly connected, Serial0/0/0
R2#ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
R2#ping 172.16.2.1 repea
R2#ping 172.16.2.1 repeat 10000
Type escape sequence to abort.
Sending 10000, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
Success rate is 98 percent (98/99), round-trip min/avg/max = 28/29/44 ms

peer default ip address

IPCP negotiation.

  • R1

DCE

en
conf t
!
username R2 password PG1X
!
int s0/0/0
clock rate 64000
ip address 172.16.2.1 255.255.255.252
encapsulation ppp
ppp authentication chap
peer default ip address 172.16.2.2
no shut
exit
!
end
  • R2

DTE

en
conf t
!
username R1 password PG1X
!
int s0/0/0
ip address negotiated
encapsulation ppp
ppp authentication chap
no shut
exit
!
end
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s0/0/0
R1(config-if)#ip address nego
R1(config-if)#ip address negotiated
R1(config-if)#ip address 172.16.2.1 255.255.255.252
R1(config-if)#peer defau
R1(config-if)#peer
R1(config-if)#peer defau
R1(config-if)#peer default ip adddre
R1(config-if)#peer default ip addre
R1(config-if)#peer default ip address 172.16.2.2
R1(config-if)#^Z
R1#sh ip
*Oct 24 22:40:40.239: %SYS-5-CONFIG_I: Configured from console by console
R1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                172.16.2.1      YES manual up                    up
R1#clear ip ro *
R1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                172.16.2.1      YES manual up                    up
R1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                172.16.2.1      YES manual up                    up
R1#cler ppp all
      ^
% Invalid input detected at '^' marker.

R1#clear ppp all
R1#
*Oct 24 22:41:08.883: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#cler ppp all
*Oct 24 22:41:10.931: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                172.16.2.1      YES manual up                    up
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s0/0/0
R1(config-if)#peer neighbor-route
R1(config-if)#^Z
R1#conf t
*Oct 24 22:42:34.487: %SYS-5-CONFIG_I: Configured from console by console
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
...
Success rate is 0 percent (0/3)
R1#clear ip ro *
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
..
Success rate is 0 percent (0/2)
R1#clear ppp all
R1#
*Oct 24 22:42:55.307: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#pin
*Oct 24 22:42:57.363: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s0/0/0
R1(config-if)#int s0/0/0
R1(config-if)#peer neighbor-route
R1(config-if)#^Z
R1#clear
*Oct 24 22:44:11.663: %SYS-5-CONFIG_I: Configured from console by console
R1#clear ip ro *
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R1#sh ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                172.16.2.1      YES manual up                    up
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
R1#clear ppp all
R1#
*Oct 24 22:45:26.491: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1#
*Oct 24 22:45:28.543: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int s0/0/0
R2(config-if)#no ip address
R2(config-if)#ip address nego
R2(config-if)#ip address negotiated
R2(config-if)#do sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES manual up                    up
R2(config-if)# defau
R2(config-if)#^Z
R2#sh
*Oct 24 22:44:13.695: %SYS-5-CONFIG_I: Configured from console by console
R2#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES manual up                    up
R2#clear ip ro *
R2#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES manual up                    up
R2#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES manual up                    up
R2#cler ppp all
      ^
% Invalid input detected at '^' marker.

R2#clear ppp all
R2#
*Oct 24 22:44:42.331: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2#sh ip int brief
*Oct 24 22:44:44.387: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                172.16.2.2      YES IPCP   up                    up
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 1 subnets
C        172.16.2.2 is directly connected, Serial0/0/0
R2#ping 72.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 72.16.2.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int s0/0/0
R2(config-if)#
R2(config-if)#^Z
R2#
*Oct 24 22:46:07.943: %SYS-5-CONFIG_I: Configured from console by console
R2#ping 72.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 72.16.2.1, timeout is 2 seconds:
...
Success rate is 0 percent (0/3)
R2#clear ip ro *
R2#ping 72.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 72.16.2.1, timeout is 2 seconds:
..
Success rate is 0 percent (0/2)
R2#clear ppp all
R2#
*Oct 24 22:46:28.759: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2#
*Oct 24 22:46:30.819: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#ping 72.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 72.16.2.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#do sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                172.16.2.2      YES IPCP   up                    up
R2(config)#int s0/0/0
R2(config-if)#peer neighbor-route
R2(config-if)#^Z
R2#clear
*Oct 24 22:47:45.119: %SYS-5-CONFIG_I: Configured from console by console
R2#clear ip ro *
R2#ping 72.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 72.16.2.1, timeout is 2 seconds:
....
Success rate is 0 percent (0/4)
R2#sh ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                172.16.2.2      YES IPCP   up                    up
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 2 subnets
C        172.16.2.1 is directly connected, Serial0/0/0
C        172.16.2.2 is directly connected, Serial0/0/0
R2#ping 72.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 72.16.2.1, timeout is 2 seconds:
..
Success rate is 0 percent (0/2)
R2#clear ppp all
R2#
*Oct 24 22:48:59.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2#
*Oct 24 22:49:01.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#ping 72.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 72.16.2.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

one direction ping successful…

reload!!!

R1>en
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#!
R1(config)#username R2 password PG1X
R1(config)#!
R1(config)#int s0/0/0
R1(config-if)#clock rate 64000
R1(config-if)#ip address 172.16.2.1 255.255.255.252
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#peer default ip address 172.16.2.2
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#!
R1(config)#end
R1#
*Oct 24 23:02:58.939: %SYS-5-CONFIG_I: Configured from console by console
R1#
*Oct 24 23:03:00.867: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to down
R1#
*Oct 24 23:03:05.895: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
R1#
*Oct 24 23:03:06.019: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#sh ip int bri s0/0/0
Interface                  IP-Address      OK? Method Status                Protocol
Serial0/0/0                172.16.2.1      YES manual up                    up
R2>en
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#!
R2(config)#username R1 password PG1X
R2(config)#!
R2(config)#int s0/0/0
R2(config-if)#ip address nogotiated
                          ^
% Invalid input detected at '^' marker.

R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#!
R2(config)#end
R2#
*Oct 24 23:06:38.315: %SYS-5-CONFIG_I: Configured from console by console
R2#
*Oct 24 23:06:40.251: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
R2#
*Oct 24 23:06:40.379: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#en
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#!
R2(config)#username R1 password PG1X
R2(config)#!
R2(config)#int s0/0/0
R2(config-if)#ip address negotiated
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#!
R2(config)#end
R2#
*Oct 24 23:06:54.367: %SYS-5-CONFIG_I: Configured from console by console
R2#ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R2#ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 2 subnets
C        172.16.2.1 is directly connected, Serial0/0/0
C        172.16.2.2 is directly connected, Serial0/0/0
R2#sh ip int bri s0/0/0
Interface                  IP-Address      OK? Method Status                Protocol
Serial0/0/0                172.16.2.2      YES IPCP   up                    up

ppp ipcp route default

IPCP negotiation.

  • R1

DCE

en
conf t
!
username R2 password PG1X
!
access-list 1 permit 172.16.2.0 0.0.0.3
!
ip nat inside source list 1 interface f0/1 overload
!
int f0/1
ip address dhcp
ip nat outside
no shut
exit
!
int s0/0/0
clock rate 64000
ip address 172.16.2.1 255.255.255.252
encapsulation ppp
ppp authentication chap
peer default ip address 172.16.2.2
ip nat inside
no shut
exit
!
ip domain-lookup
ip name-server 8.8.8.8 8.8.4.4 1.1.1.1
!
end
  • R2

DTE

en
conf t
!
username R1 password PG1X
!
int s0/0/0
ip address negotiated
encapsulation ppp
ppp authentication chap
ppp ipcp route default
no shut
exit
!
ip domain-lookup
ip name-server 8.8.8.8 8.8.4.4 1.1.1.1
!
end
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int f0/1
R1(config-if)#ip addre
R1(config-if)#ip address dhcp
R1(config-if)#^Z
R1#sh
*Oct 24 23:08:58.835: %SYS-5-CONFIG_I: Configured from console by console
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s0/0/0
R1(config-if)#no shut
R1(config-if)#int f0/1
R1(config-if)#no shut
R1(config-if)#^Z
R1#
*Oct 24 23:09:40.351: %SYS-5-CONFIG_I: Configured from console by console
R1#
*Oct 24 23:09:40.723: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Oct 24 23:09:41.723: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#sh ip ro
*Oct 24 23:09:53.323: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/1 assigned DHCP address 10.0.1.11, mask 255.255.255.0, hostname R1

R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 10.0.1.1 to network 0.0.0.0

S*    0.0.0.0/0 [254/0] via 10.0.1.1
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.0.1.0/24 is directly connected, FastEthernet0/1
L        10.0.1.11/32 is directly connected, FastEthernet0/1
      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/6/8 ms
R1#
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/32 is subnetted, 2 subnets
C        172.16.2.1 is directly connected, Serial0/0/0
C        172.16.2.2 is directly connected, Serial0/0/0
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int s0/0/0
R2(config-if)#ppp ipcp
R2(config-if)#ppp ipcp route defau
R2(config-if)#ppp ipcp route default
R2(config-if)#shut
R2(config-if)#
R2(config-if)#nos
*Oct 24 23:16:15.547: %LINK-5-CHANGED: Interface Serial0/0/0, changed state to administratively down
*Oct 24 23:16:15.555: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2(config-if)#no shut
R2(config-if)#^Z
R2#debug
*Oct 24 23:16:21.011: %SYS-5-CONFIG_I: Configured from console by console
*Oct 24 23:16:21.827: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
R2#debug pp
*Oct 24 23:16:21.871: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#debug ppp ipcp
             ^
% Invalid input detected at '^' marker.

R2#debug ppp ?
  authentication  CHAP/PAP/MSCHAP/EAP authentication
  authorization   PP authorization
  bap             BAP protocol transactions
  cbcp            Callback Control Protocol negotiation
  elog            PPP ELOGs
  error           Protocol errors and error statistics
  mppe            MPPE Events
  multilink       Multilink activity
  negotiation     Protocol parameter negotiation
  packet          Low-level PPP packet dump
  subscriber      PPP interactions with Subscriber Service Switch and
                  forwarding

R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 172.16.2.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 172.16.2.1
      172.16.0.0/32 is subnetted, 2 subnets
C        172.16.2.1 is directly connected, Serial0/0/0
C        172.16.2.2 is directly connected, Serial0/0/0
R2#ping 8.8.8c^@
Translating "8.8.8c"
% Unrecognized host or address, or protocol not running.

R2#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#

default route installed via R1 s0/0/0 interface. ping reachability problem may be returned packet or NAT problem.

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int f0/1
R1(config-if)#ip nat outside

*Oct 24 23:16:09.791: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up
R1(config-if)#
R1(config-if)#int s0/0/0
R1(config-if)#ip nat inside
R1(config-if)#ip acce
R1(config-if)#acce
R1(config-if)#access-lis
R1(config-if)#exit
R1(config)#acce
R1(config)#access-list 1 172.16.2.0 0.0.0.3
                         ^
% Invalid input detected at '^' marker.

R1(config)#access-list 1 permit 172.16.2.0 0.0.0.3
R1(config)#ip nat sour
R1(config)#ip nat source ac
R1(config)#ip nat source li
R1(config)#ip nat source list 1 ove
R1(config)#ip nat source list 1 int s0/0/0 ove
R1(config)#ip nat source list 1 int s0/0/0 overload
R1(config)#ip domai
R1(config)#ip domain-loo
R1(config)#ip domain-lookup
R1(config)#ip name
R1(config)#do ping www.google.com
Translating "www.google.com"...domain server (10.0.1.1) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.58.197.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms
R1(config)#do sh ip nat translation
R1(config)#no ip nat source list 1 int s0/0/0 overload
R1(config)#ip nat source list 1 int f0/1 overload
R1(config)#do sh ip nat transla
R1(config)#do sh ip nat transla
R1(config)#^Z
R1#sh ip
*Oct 24 23:20:52.891: %SYS-5-CONFIG_I: Configured from console by console
R1#sh ip acce
R1#sh ip access-lists
Standard IP access list 1
    10 permit 172.16.2.0, wildcard bits 0.0.0.3
R1#
R2#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#ping 10.0.1.11
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.1.11, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
R2#

Retry next day.

R1>en
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#!
R1(config)#username R2 password PG1X
R1(config)#!
R1(config)#access-list 1 permit 172.16.2.0 0.0.0.3
R1(config)#!
R1(config)#ip nat inside source list 1 interface f0/1 overload
R1(config)#!
R1(config)#int f0/1
R1(config-if)#ip address dhcp
R1(config-if)#ip nat outside

*Oct 25 21:14:54.107: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#!
R1(config)#int s0/0/0
R1(config-if)#clock rate 64000
R1(config-if)#ip address 172.16.2.1 255.255.255.252
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#peer default ip address 172.16.2.2
R1(config-if)#ip nat inside
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#!
R1(config)#end
R1#
*Oct 25 21:15:06.959: %SYS-5-CONFIG_I: Configured from console by console
R1#
*Oct 25 21:15:08.871: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
*Oct 25 21:15:08.951: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to down
*Oct 25 21:15:09.871: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R1#
*Oct 25 21:15:11.647: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
R1#
*Oct 25 21:15:11.771: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is not set

      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 10.0.1.1 to network 0.0.0.0

S*    0.0.0.0/0 [254/0] via 10.0.1.1
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.0.1.0/24 is directly connected, FastEthernet0/1
L        10.0.1.11/32 is directly connected, FastEthernet0/1
      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#
*Oct 25 21:15:17.443: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/1 assigned DHCP address 10.0.1.11, mask 255.255.255.0, hostname R1

R1#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!....
Success rate is 20 percent (1/5), round-trip min/avg/max = 8/8/8 ms
R1#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!....
Success rate is 20 percent (1/5), round-trip min/avg/max = 4/4/4 ms
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 10.0.1.1 to network 0.0.0.0

S*    0.0.0.0/0 [254/0] via 10.0.1.1
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.0.1.0/24 is directly connected, FastEthernet0/1
L        10.0.1.11/32 is directly connected, FastEthernet0/1
      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
R1#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 10.0.1.1 to network 0.0.0.0

S*    0.0.0.0/0 [254/0] via 10.0.1.1
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        10.0.1.0/24 is directly connected, FastEthernet0/1
L        10.0.1.11/32 is directly connected, FastEthernet0/1
      172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C        172.16.2.0/30 is directly connected, Serial0/0/0
L        172.16.2.1/32 is directly connected, Serial0/0/0
C        172.16.2.2/32 is directly connected, Serial0/0/0
R1#sh ip nat transla
R1#sh ip nat translations
Pro Inside global      Inside local       Outside local      Outside global
icmp 10.0.1.11:0       172.16.2.2:0       8.8.8.8:0          8.8.8.8:0
icmp 10.0.1.11:1       172.16.2.2:1       8.8.8.8:1          8.8.8.8:1
R1#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms
R1#ip domain-lookup
      ^
% Invalid input detected at '^' marker.

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#ip domain-lookup
R1(config)#ip name-servers 8.8.8.8 8.8.4.4 1.1.1.1
                         ^
% Invalid input detected at '^' marker.

R1(config)#ip name-server 8.8.8.8 8.8.4.4 1.1.1.1
R1(config)#
R1(config)#^Z
R1#
*Oct 25 21:21:15.539: %SYS-5-CONFIG_I: Configured from console by console
R1#ping www.yahoo.com
Translating "www.yahoo.com"...domain server (10.0.1.1) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 106.10.250.11, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 76/76/76 ms
R1#sh ip nat trans
R1#sh ip nat translations
Pro Inside global      Inside local       Outside local      Outside global
icmp 10.0.1.11:4       172.16.2.2:4       160.16.63.136:4    160.16.63.136:4
udp 10.0.1.11:52686    172.16.2.2:52686   8.8.8.8:53         8.8.8.8:53
R1#sh ip int bri
Any interface listed with OK? value "NO" does not have a valid configuration

Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            10.0.1.11       YES DHCP   up                    up
Serial0/0/0                172.16.2.1      YES manual up                    up
NVI0                       unassigned      NO  unset  up                    up
*Oct 25 20:27:57.555: %SNMP-5-COLDSTART: SNMP agent on host R2 is undergoing a cold start
*Oct 25 20:27:57.927: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Oct 25 20:27:57.927: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
*Oct 25 20:27:57.927: %CRYPTO-6-ISAKMP_ON_OFF: ISAKMP is OFF
*Oct 25 20:27:57.927: %CRYPTO-6-GDOI_ON_OFF: GDOI is OFF
R2>en
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#!
R2(config)#username R1 password PG1X
R2(config)#!
R2(config)#int s0/0/0
R2(config-if)#ip address negotiated
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#ppp ipcp route default
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#!
R2(config)#end
R2#
*Oct 25 21:18:44.075: %SYS-5-CONFIG_I: Configured from console by console
R2#
*Oct 25 21:18:46.067: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
R2#sh
*Oct 25 21:18:46.195: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 172.16.2.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 172.16.2.1
      172.16.0.0/32 is subnetted, 2 subnets
C        172.16.2.1 is directly connected, Serial0/0/0
C        172.16.2.2 is directly connected, Serial0/0/0
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 172.16.2.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 172.16.2.1
      172.16.0.0/32 is subnetted, 2 subnets
C        172.16.2.1 is directly connected, Serial0/0/0
C        172.16.2.2 is directly connected, Serial0/0/0
R2#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/36/44 ms
R2#ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/36/44 ms
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 172.16.2.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 172.16.2.1
      172.16.0.0/32 is subnetted, 2 subnets
C        172.16.2.1 is directly connected, Serial0/0/0
C        172.16.2.2 is directly connected, Serial0/0/0
R2#ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms
R2#sh ip ro
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       + - replicated route, % - next hop override

Gateway of last resort is 172.16.2.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 172.16.2.1
      172.16.0.0/32 is subnetted, 2 subnets
C        172.16.2.1 is directly connected, Serial0/0/0
C        172.16.2.2 is directly connected, Serial0/0/0
R2#sh ip nat transla
R2#sh ip nat translations
R2#ip domain-lookup
      ^
% Invalid input detected at '^' marker.

R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#ip domain-lookup
R2(config)#ip name-servers 8.8.8.8 8.8.4.4 1.1.1.1
                         ^
% Invalid input detected at '^' marker.

R2(config)#ip name-server 8.8.8.8 8.8.4.4 1.1.1.1
R2(config)#^Z
R2#
*Oct 25 21:24:49.959: %SYS-5-CONFIG_I: Configured from console by console
R2#ping pg1x.com
Translating "pg1x.com"...domain server (8.8.8.8) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 160.16.63.136, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/33/36 ms
R2#ping 10.0.1.11
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.1.11, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
R2#sh ip int brie
R2#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                172.16.2.2      YES IPCP   up                    up

result is successful.

MLPPP

Multilink PPP it also called MLP.

R1>en
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int mul
R1(config)#int multilink ?
  <1-2147483647>  Multilink interface number

R1(config)#int multilink 1
R1(config-if)#ip address 172.16.2.1 255.255.255.252
R1(config-if)#ppp mul
R1(config-if)#ppp multilink
R1(config-if)#ppp mu
R1(config-if)#ppp multilink gr
R1(config-if)#ppp multilink group ?
  <1-2147483647>  Multilink group number

R1(config-if)#ppp multilink group 1
R1(config-if)#exit
R1(config)#int s0/0/0
R1(config-if)#no ip address
R1(config-if)#enca
R1(config-if)#encapsulation ppp
R1(config-if)#ppp mu
R1(config-if)#ppp multilink gr
R1(config-if)#ppp multilink group 1
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#
*Oct 25 22:41:07.583: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
*Oct 25 22:41:07.643: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:41:07.655: %LINK-3-UPDOWN: Interface Multilink1, changed state to up
R1(config)#
*Oct 25 22:41:07.663: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to up
R1(config)#do sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES NVRAM  up                    up
Multilink1                 172.16.2.1      YES manual up                    up
R1(config)#ping 172.16.2.2
            ^
% Invalid input detected at '^' marker.

R1(config)#do ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
R1(config)#int s0/0/0
R1(config-if)#shut
R1(config-if)#
*Oct 25 22:41:59.667: %LINK-5-CHANGED: Interface Serial0/0/0, changed state to administratively down
*Oct 25 22:41:59.675: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
*Oct 25 22:41:59.675: %LINK-3-UPDOWN: Interface Multilink1, changed state to down
R1(config-if)#
*Oct 25 22:41:59.679: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to down
R1(config-if)#do sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES NVRAM  administratively down down
Multilink1                 172.16.2.1      YES manual down                  down
R1(config-if)#no shut
R1(config-if)#
*Oct 25 22:42:25.439: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
*Oct 25 22:42:25.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:42:25.491: %LINK-3-UPDOWN: Interface Multilink1, changed state to up
R1(config-if)#
*Oct 25 22:42:25.495: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to up
R1(config-if)#exit
R1(config)#user
R1(config)#userna
R1(config)#username R2 pass
R1(config)#username R2 password pg1x
R1(config)#int multi1
R1(config-if)#no shut
R1(config-if)#shut
R1(config-if)#
*Oct 25 22:45:59.943: %LINK-5-CHANGED: Interface Multilink1, changed state to administratively down
*Oct 25 22:45:59.951: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to down
R1(config-if)#
*Oct 25 22:46:01.963: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config-if)#do sh ip
*Oct 25 22:46:03.963: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1(config-if)#do sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES NVRAM  up                    up
Multilink1                 172.16.2.1      YES manual administratively down down
R1(config-if)#username R2 password pg1xpg1x
R1(config)#int multi1
R1(config-if)#ppp auth
R1(config-if)#ppp authen
R1(config-if)#ppp authentication chap
R1(config-if)#
*Oct 25 22:46:51.319: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config-if)#
*Oct 25 22:46:55.367: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:46:55.419: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config-if)#do debug
*Oct 25 22:46:59.443: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:46:59.451: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config-if)#do debug ppp auth
% Ambiguous command:  "do debug ppp auth"
R1(config-if)#do debug ppp auth
*Oct 25 22:47:03.475: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:47:03.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config-if)#do debug ppp auth
% Ambiguous command:  "debug ppp auth"
R1(config-if)#do debug ppp authen
% Ambiguous command:  "do debug ppp authen"
R1(config-if)#do debug ppp authenti
% Ambiguous command:  "do debug ppp authenti"
R1(config-if)#do debug ppp authenti
*Oct 25 22:47:07.507: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:47:07.515: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config-if)#do debug ppp authentication
PPP authentication debugging is on
R1(config-if)#
*Oct 25 22:47:11.539: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:47:11.547: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config-if)#
*Oct 25 22:47:13.527: Se0/0/0 PPP: Using default call direction
*Oct 25 22:47:13.527: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:47:13.527: Se0/0/0 PPP: Session handle[CE00000C] Session id[11]
*Oct 25 22:47:13.559: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:47:13.559: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:47:13.559: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:47:13.559: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:47:13.559: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:47:13.559: Se0/0/0 CHAP: Using password from AAA
R1(config-if)#
*Oct 25 22:47:13.559: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R1"
*Oct 25 22:47:13.563: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R2"
*Oct 25 22:47:13.563: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:47:13.563: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 25 22:47:13.567: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R1(config-if)#
*Oct 25 22:47:15.571: Se0/0/0 PPP: Using default call direction
*Oct 25 22:47:15.575: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:47:15.575: Se0/0/0 PPP: Session handle[ED00000D] Session id[12]
*Oct 25 22:47:15.607: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:47:15.607: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:47:15.607: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:47:15.607: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:47:15.607: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:47:15.607: Se0/0/0 CHAP: Using password from AAA
R1(config-if)#
*Oct 25 22:47:15.607: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R1"
*Oct 25 22:47:15.611: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R2"
*Oct 25 22:47:15.611: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:47:15.611: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 25 22:47:15.615: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R1(config-if)#
*Oct 25 22:47:17.619: Se0/0/0 PPP: Using default call direction
*Oct 25 22:47:17.619: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:47:17.619: Se0/0/0 PPP: Session handle[F100000E] Session id[13]
*Oct 25 22:47:17.623: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:47:17.651: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:47:17.651: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:47:17.655: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:47:17.655: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:47:17.655: Se0/0/0 CHAP: Using password from AAA
R1(config-if)#
*Oct 25 22:47:17.655: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R1"
*Oct 25 22:47:17.655: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R2"
*Oct 25 22:47:17.655: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:47:17.659: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 25 22:47:17.659: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R1(config-if)#
*Oct 25 22:47:20.663: Se0/0/0 PPP: Using default call direction
*Oct 25 22:47:20.663: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:47:20.663: Se0/0/0 PPP: Session handle[4700000F] Session id[14]
*Oct 25 22:47:20.695: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:47:20.695: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:47:20.695: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:47:20.695: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:47:20.695: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:47:20.695: Se0/0/0 CHAP: Using password from AAA
R1(config-if)#
*Oct 25 22:47:20.695: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R1"
*Oct 25 22:47:20.699: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R2"
*Oct 25 22:47:20.699: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:47:20.699: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 25 22:47:20.703: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R1(config-if)#username R2 password pg1x
*Oct 25 22:47:25.707: Se0/0/0 PPP: Using default call direction
*Oct 25 22:47:25.707: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:47:25.707: Se0/0/0 PPP: Session handle[FA000010] Session id[15]
*Oct 25 22:47:25.719: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:47:25.719: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:47:25.719: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:47:25.719: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:47:25.719: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:47:25.719: Se0/0/0 CHAP: Using password from AAA
R1(config-if)#username R2 password pg1x
*Oct 25 22:47:25.719: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R1"
*Oct 25 22:47:25.723: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R2"
*Oct 25 22:47:25.723: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:47:25.723: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 25 22:47:25.727: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R1(config-if)#username R2 password pg1x
R1(config)#
*Oct 25 22:47:27.735: Se0/0/0 PPP: Using default call direction
*Oct 25 22:47:27.735: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:47:27.735: Se0/0/0 PPP: Session handle[E000011] Session id[16]
*Oct 25 22:47:27.767: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:47:27.767: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:47:27.767: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:47:27.767: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:47:27.767: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:47:27.767: Se0/0/0 CHAP: Using password from AAA
*Oct 25 22:47:27.767: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R1"
*Oct 25 22:47:27.771: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R2"
*Oct 25 22:47:27.771: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:47:27.771: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 25 22:47:27.795: Se0/0/0 CHAP: O SUCCESS id 1 len 4
*Oct 25 22:47:27.795: Se0/0/0 CHAP: I SUCCESS id 1 len 4
R1(config)#
*Oct 25 22:47:27.799: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1(config)#u all
            ^
% Invalid input detected at '^' marker.

R1(config)#do u all
All possible debugging has been turned off
R1(config)#^Z
R1#ping
*Oct 25 22:50:24.707: %SYS-5-CONFIG_I: Configured from console by console
R1#sh ip intb
            ^
% Invalid input detected at '^' marker.

R1#sh ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES NVRAM  up                    up
Multilink1                 172.16.2.1      YES manual administratively down down
R1#ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int ml1
                ^
% Invalid input detected at '^' marker.

R1(config)#int m1
                ^
% Invalid input detected at '^' marker.

R1(config)#int mult1
R1(config-if)#no shut
R1(config-if)#
*Oct 25 22:51:32.623: %LINK-3-UPDOWN: Interface Multilink1, changed state to down
R1(config-if)#
*Oct 25 22:51:32.627: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R1(config-if)#
*Oct 25 22:51:34.687: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:51:34.695: %LINK-3-UPDOWN: Interface Multilink1, changed state to up
R1(config-if)#
*Oct 25 22:51:34.699: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to up
R1(config-if)#do sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES NVRAM  up                    up
Multilink1                 172.16.2.1      YES manual up                    up
R1(config-if)#ping 172.16.2.2
               ^
% Invalid input detected at '^' marker.

R1(config-if)#do ping 172.16.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
R1(config-if)#
R2>en
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int mul
R2(config)#int multilink ?
  <1-2147483647>  Multilink interface number

R2(config)#int multilink 1
R2(config-if)#ip address 172.16.2.2 255.255.255.252
R2(config-if)#ppp mul
R2(config-if)#ppp multilink
R2(config-if)#ppp mu
R2(config-if)#ppp multilink gr
R2(config-if)#ppp multilink group ?
  <1-2147483647>  Multilink group number

R2(config-if)#ppp multilink group 1
R2(config-if)#exit
R2(config)#int s0/0/0
R2(config-if)#no ip address
R2(config-if)#enca
R2(config-if)#encapsulation ppp
R2(config-if)#ppp mu
R2(config-if)#ppp multilink gr
R2(config-if)#ppp multilink group 1
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#
*Oct 25 22:44:43.079: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
*Oct 25 22:44:43.143: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:44:43.155: %LINK-3-UPDOWN: Interface Multilink1, changed state to up
R2(config)#
*Oct 25 22:44:43.163: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to up
R2(config)#do sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES NVRAM  up                    up
Multilink1                 172.16.2.2      YES manual up                    up
R2(config)#ping 172.16.2.1
            ^
% Invalid input detected at '^' marker.

R2(config)#do ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R2(config)#
*Oct 25 22:45:35.171: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to down
*Oct 25 22:45:35.179: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
*Oct 25 22:45:35.179: %LINK-3-UPDOWN: Interface Multilink1, changed state to down
R2(config)#
*Oct 25 22:45:35.183: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to down
R2(config)#
*Oct 25 22:46:00.943: %LINK-3-UPDOWN: Interface Serial0/0/0, changed state to up
*Oct 25 22:46:00.967: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:46:00.975: %LINK-3-UPDOWN: Interface Multilink1, changed state to up
R2(config)#
*Oct 25 22:46:00.979: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to up
R2(config-if)#do debug ppp auth
% Ambiguous command:  "do debug ppp auth"
R2(config-if)#do debug ppp auth
% Ambiguous command:  "debug ppp auth"
R2(config-if)#do debug ppp authen
% Ambiguous command:  "do debug ppp authen"
R2(config-if)#do debug ppp authenti
% Ambiguous command:  "do debug ppp authenti"
R2(config-if)#do debug ppp authentication
PPP authentication debugging is on
R2(config-if)#
*Oct 25 22:50:47.039: Se0/0/0 PPP: Using default call direction
*Oct 25 22:50:47.039: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:50:47.043: Se0/0/0 PPP: Session handle[8A00000C] Session id[11]
R2(config-if)#
*Oct 25 22:50:49.059: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:50:49.063: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:50:49.063: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:50:49.063: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:50:49.063: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:50:49.063: Se0/0/0 CHAP: Using password from AAA
*Oct 25 22:50:49.063: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R2"
*Oct 25 22:50:49.063: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R1"
*Oct 25 22:50:49.067: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:50:49.067: Se0/0/0 PPP: Received LOGIN Response FAIL
R2(config-if)#
*Oct 25 22:50:49.067: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R2(config-if)#
*Oct 25 22:50:51.071: Se0/0/0 PPP: Using default call direction
*Oct 25 22:50:51.071: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:50:51.071: Se0/0/0 PPP: Session handle[1100000D] Session id[12]
*Oct 25 22:50:51.107: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:50:51.111: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:50:51.111: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:50:51.111: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:50:51.111: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:50:51.111: Se0/0/0 CHAP: Using password from AAA
R2(config-if)#
*Oct 25 22:50:51.111: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R2"
*Oct 25 22:50:51.111: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R1"
*Oct 25 22:50:51.115: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:50:51.115: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 25 22:50:51.115: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R2(config-if)#
*Oct 25 22:50:53.119: Se0/0/0 PPP: Using default call direction
*Oct 25 22:50:53.119: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:50:53.119: Se0/0/0 PPP: Session handle[700000E] Session id[13]
*Oct 25 22:50:53.155: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:50:53.155: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:50:53.155: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:50:53.155: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:50:53.155: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:50:53.155: Se0/0/0 CHAP: Using password from AAA
R2(config-if)#
*Oct 25 22:50:53.155: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R2"
*Oct 25 22:50:53.159: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R1"
*Oct 25 22:50:53.159: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:50:53.159: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 25 22:50:53.163: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R2(config-if)#
*Oct 25 22:50:56.167: Se0/0/0 PPP: Using default call direction
*Oct 25 22:50:56.167: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:50:56.167: Se0/0/0 PPP: Session handle[A600000F] Session id[14]
*Oct 25 22:50:56.195: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:50:56.199: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:50:56.199: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:50:56.199: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:50:56.199: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:50:56.199: Se0/0/0 CHAP: Using password from AAA
R2(config-if)#
*Oct 25 22:50:56.199: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R2"
*Oct 25 22:50:56.199: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R1"
*Oct 25 22:50:56.203: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:50:56.203: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 25 22:50:56.203: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R2(config-if)#
*Oct 25 22:51:01.215: Se0/0/0 PPP: Using default call direction
*Oct 25 22:51:01.215: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:51:01.215: Se0/0/0 PPP: Session handle[E6000010] Session id[15]
*Oct 25 22:51:01.219: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:51:01.223: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:51:01.223: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:51:01.223: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:51:01.223: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:51:01.223: Se0/0/0 CHAP: Using password from AAA
R2(config-if)#
*Oct 25 22:51:01.223: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R2"
*Oct 25 22:51:01.223: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R1"
*Oct 25 22:51:01.227: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:51:01.227: Se0/0/0 PPP: Received LOGIN Response FAIL
*Oct 25 22:51:01.227: Se0/0/0 CHAP: O FAILURE id 1 len 25 msg is "Authentication failed"
R2(config-if)#
R2(config-if)#
*Oct 25 22:51:03.231: Se0/0/0 PPP: Using default call direction
*Oct 25 22:51:03.231: Se0/0/0 PPP: Treating connection as a dedicated line
*Oct 25 22:51:03.231: Se0/0/0 PPP: Session handle[7D000011] Session id[16]
*Oct 25 22:51:03.267: Se0/0/0 CHAP: O CHALLENGE id 1 len 23 from "R2"
*Oct 25 22:51:03.271: Se0/0/0 CHAP: I CHALLENGE id 1 len 23 from "R1"
*Oct 25 22:51:03.271: Se0/0/0 PPP: Sent CHAP SENDAUTH Request
*Oct 25 22:51:03.271: Se0/0/0 PPP: Received SENDAUTH Response PASS
*Oct 25 22:51:03.271: Se0/0/0 CHAP: Using hostname from configured hostname
*Oct 25 22:51:03.271: Se0/0/0 CHAP: Using password from AAA
*Oct 25 22:51:03.271: Se0/0/0 CHAP: O RESPONSE id 1 len 23 from "R2"
*Oct 25 22:51:03.271: Se0/0/0 CHAP: I RESPONSE id 1 len 23 from "R1"
*Oct 25 22:51:03.275: Se0/0/0 PPP: Sent CHAP LOGIN Request
*Oct 25 22:51:03.275: Se0/0/0 PPP: Received LOGIN Response PASS
*Oct 25 22:51:03.299: Se0/0/0 CHAP: O SUCCESS id 1 len 4
*Oct 25 22:51:03.299: Se0/0/0 CHAP: I SUCCESS id 1 len 4
R2(config-if)#
*Oct 25 22:51:03.303: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R2(config-if)#u all
              ^
% Invalid input detected at '^' marker.

R2(config-if)#do u all
All possible debugging has been turned off
R2(config-if)#
R2(config-if)#^Z
R2#ping
*Oct 25 22:54:00.215: %SYS-5-CONFIG_I: Configured from console by console
R2#sh ip intb
            ^
% Invalid input detected at '^' marker.

R2#sh ip int b
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES NVRAM  up                    up
Multilink1                 172.16.2.2      YES manual administratively down down
R2#ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int ml1
                ^
% Invalid input detected at '^' marker.

R2(config)#int m1
                ^
% Invalid input detected at '^' marker.

R2(config)#int mult1
R2(config-if)#no shut
R2(config-if)#
*Oct 25 22:55:08.127: %LINK-3-UPDOWN: Interface Multilink1, changed state to down
R2(config-if)#
*Oct 25 22:55:08.131: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2(config-if)#
*Oct 25 22:55:10.191: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
*Oct 25 22:55:10.199: %LINK-3-UPDOWN: Interface Multilink1, changed state to up
R2(config-if)#
*Oct 25 22:55:10.203: %LINEPROTO-5-UPDOWN: Line protocol on Interface Multilink1, changed state to up
R2(config-if)#do sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES NVRAM  administratively down down
FastEthernet0/1            unassigned      YES NVRAM  administratively down down
Serial0/0/0                unassigned      YES NVRAM  up                    up
Multilink1                 172.16.2.2      YES manual up                    up
R2(config-if)#ping 172.16.2.1
               ^
% Invalid input detected at '^' marker.

R2(config-if)#do ping 172.16.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/8 ms
R2(config-if)#

References

tech/network/cisco/ppp/ppp.txt · Last modified: 2018/10/26 07:56 by wnoguchi