cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1040
Views
10
Helpful
7
Replies

PPP authentication

alwahidi22
Level 1
Level 1

Hi Experts,

If i have two routers (point-to-point), one of them configured with ppp authentication CHAP and the other configured with ppp authentication PAP , the line protocol will be down or up ?

Regards,

Ibrahim Alwahidi

7 Replies 7

mohammedmahmoud
Level 11
Level 11

Hi Ibrahim,

The PPP link won't come up unless the authentication succeeds (both sides must support either PAP or CHAP simultaneously):

Troubleshooting PPP (CHAP or PAP) Authentication

http://www.cisco.com/en/US/tech/tk713/tk507/technologies_tech_note09186a00800b4130.shtml

HTH, please do rate all helpful replies,

Mohammed Mahmoud,

Edison Ortiz
Hall of Fame
Hall of Fame

It will be up.

Router 1

username R2 password CISCO

int s0/0

en ppp

ppp authentication chap

ppp pap sent-username R1 password CISCO

Router 2

username R1 password CISCO

int s0/0

en ppp

ppp authentication pap

ppp chap hostname R2

ppp chap password CISCO

Hi Edison,

You are absolutely correct, the case you are suggesting shall work, as R2 requires any PPP initiated to it to be PAP (ppp authentication pap) authenticated and since R1 can authenticate itself using PAP it will succeed and vice versa for R1 with CHAP (ppp authentication chap), i guessed that the original poster's question involved that each side is only configured with one different method as in and out.

HTH,

Mohammed Mahmoud.

Thanx Edison,

But i want to ask u another question about that can i put any username that i want for example

instead of using username R1 , i want to use username Linux...

Regards,

Ibrahim Alwahidi

Then you need to create an username Linux on R2.

Hi Ibrahim,

Like Edison has said, you can change the username like you can on the calling router (the router initiating the session), but always keep in mind the router authenticating the other router (we'll call it the server) must have a local entry of this username in order to be able to authenticate the calling router with, as i've told you before on the other thread think of it as a client server issue.

HTH,

Mohammed Mahmoud.

Router 1

username R2 password CISCO

int s0/0

en ppp

ppp authentication chap

ppp pap sent-username Linux password CISCO

Router 2

username Linux password CISCO

int s0/0

en ppp

ppp authentication pap

ppp chap hostname R2

ppp chap password CISCO

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco