09-24-2019 04:20 AM
r1#sh run | in user
username r2 password 0 a
r1#
r1#sh run | in ppp
encapsulation ppp
ppp authentication pap
r2#sh run | in user
username r1 password 0 a
r2#sh run | in ppp
encapsulation ppp
ppp authentication pap
IP configs are right
PAP is not working...
Please help
Solved! Go to Solution.
09-24-2019 08:33 AM
Hi @gowdakssujan ,
The sent parameters must be those of the host device:
r1(config)#username r2 password cisco
r1(config)#int s0/3/0
r1(config-if)#en ppp
r1(config-if)#ppp au pap
r1(config-if)#ppp pap sent-username r1 pass cisco
r2(config)#username r1 password cisco
r2(config)#int s0/3/0
r2(config-if)#en ppp
r2(config-if)#ppp au pap
r2(config-if)#ppp pap sent-username r2 pass cisco
Regards
09-24-2019 04:59 AM
Hi @gowdakssujan,
Try this:
r1(config-if)#ppp pap sent-username r1 password 0 a
r2(config-if)#ppp pap sent-username r2 password 0 a
When configuring pap, you must send the logging parameters to the neighboring router.
Regards
09-24-2019 05:59 AM
Hi,
I think you are missing PAP/CHAP username/password sending commands from client to the server. Try with this configuration:
Commands DCE side
Router>enable
Router#configuration terminal
Router(config)#hostname R0
R0(config)#username R1 password cisco
R0(config)#interface serial 0/0/1 <-- (depends on which serial your woking with)
R0(config-if)#ip address 10.x.x.x 255.0.0.0
R0(config-if)#no shutdown
R0(config-if)#encapsulation ppp
R0(config-if)#ppp authentication pap
R0(config-if)#ppp pap sent-username R0 password cisco
R0(config-if)#clock rate 56000
Commands DTE side
Router>enable
Router#configuration terminal
Router(config)#hostname R1
R1(config)#username R0 password cisco
R1(config)#interface serial 0/0/1 <-- (depends on which serial your woking with)
R1(config-if)#ip address 10.x.x.x 255.0.0.0
R1(config-if)#no shutdown
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap
R1(config-if)#ppp pap sent-username R1 password cisco
09-24-2019 07:40 AM
r2(config)#username r1 password cisco
r2(config)#int s0/3/0
r2(config-if)#en ppp
r2(config-if)#ppp au pap
r2(config-if)#ppp pap sent-username r1 pass cisco
PPP: Warning: You have chosen a username/password combination that
is valid for CHAP. This is a potential security hole.
But am getting this above error.
r2#sh int s0/3/0
Serial0/3/0 is up, line protocol is down (disabled)
Hardware is HD64570
Internet address is 10.0.0.2/8
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP Closed
Closed: LEXCP, BRIDGECP, IPCP, CCP, CDPCP, LLC2, BACP
09-24-2019 08:33 AM
Hi @gowdakssujan ,
The sent parameters must be those of the host device:
r1(config)#username r2 password cisco
r1(config)#int s0/3/0
r1(config-if)#en ppp
r1(config-if)#ppp au pap
r1(config-if)#ppp pap sent-username r1 pass cisco
r2(config)#username r1 password cisco
r2(config)#int s0/3/0
r2(config-if)#en ppp
r2(config-if)#ppp au pap
r2(config-if)#ppp pap sent-username r2 pass cisco
Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide