PPP authentication is not working?
alliasneo
Member Posts: 186
in CCNA & CCENT
So I've just configured PPP on my S0/0 interface on a router and PPP on s0/0 on my other router. All works fine, line protocol comes down and then goes back up.
No whenever I enter the following my line protocols stay down, in both packet tracer and on my real equipment?
R1 -
int s0/0
Router(config-if)#ppp authentication chap
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to down
username R1 password 0 CCNA
R2 -
int s0/0
Router(config-if)#ppp authentication chap
%LINEPROTO-5-UPDOWN:
username R1 password 0 CCNA
!
!
!
R1#sh int s0/0
Serial0/0 is up, line protocol is down (disabled)
Hardware is HD64570
Internet address is 1.1.1.2/24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
Something I'm missing here? I can't seem to get the protocol side of things back up. Clock rate is fine. if I take the ppp authentication off using #no ppp authentication chap then it all works fine?
thanks
No whenever I enter the following my line protocols stay down, in both packet tracer and on my real equipment?
R1 -
int s0/0
Router(config-if)#ppp authentication chap
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to down
username R1 password 0 CCNA
R2 -
int s0/0
Router(config-if)#ppp authentication chap
%LINEPROTO-5-UPDOWN:
username R1 password 0 CCNA
!
!
!
R1#sh int s0/0
Serial0/0 is up, line protocol is down (disabled)
Hardware is HD64570
Internet address is 1.1.1.2/24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
Something I'm missing here? I can't seem to get the protocol side of things back up. Clock rate is fine. if I take the ppp authentication off using #no ppp authentication chap then it all works fine?
thanks
Comments
-
mark_s0 Member Posts: 82 ■■■□□□□□□□I know that you can configure the usernames differently to my answer but in terms of CCNA prep and what the CCNA books tell you:
The username on each router needs to be set to match the other side's router name e.g. R1 username would be R2 and R2 username would be R1. The password would be CCNA as you've already done.
For further reading about my initial comment, see http://www.cisco.com/application/pdf/paws/10241/ppp_callin_hostname.pdf -
Amjo Member Posts: 27 ■□□□□□□□□□First you need to configure R1 with
#username R1 password CCNA
and for R2
#username R2 password CCNA
*************
Make sure the password is case sensitive and all will works fine..In Progress: MCTS Network Infa
Next: MCTS SA toward MCITP SA -
advanex1 Member Posts: 365 ■■■■□□□□□□I know that you can configure the usernames differently to my answer but in terms of CCNA prep and what the CCNA books tell you:
The username on each router needs to be set to match the other side's router name e.g. R1 username would be R2 and R2 username would be R1. The password would be CCNA as you've already done.
For further reading about my initial comment, see http://www.cisco.com/application/pdf/paws/10241/ppp_callin_hostname.pdf
This is correct.Currently Reading: CISM: All-in-One
New Blog: https://jpinit.com/blog -
alliasneo Member Posts: 186Fantastic, that now works:). Strange that you have to put the other router's name as the username though? I'm not sure if this makes sense to me yet.
When I run show run I can see the usernames and passwords I have set up and along with these are the SSH one's as well? How does the router differentiate between the usernames and passwords for the different uses? -
pham0329 Member Posts: 556Fantastic, that now works:). Strange that you have to put the other router's name as the username though? I'm not sure if this makes sense to me yet.
Think of it as a user account. When you create an account for yourself, would you specify the local router's hostname or alliasneo? -
alliasneo Member Posts: 186hmm yeah I can kind of see that. I'll bear that in mind for future configurations and think of it as accounts I think