Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

PAP authentication in PPP

I read that for configuring PAP authentication in a serial PPP link we need the following commands. I am using R1 and R2 as example:

In R1:

username (R2) passsword (word) - Global command.

encapsulation ppp (int subcommand)

ppp authentication pap (int subcomand)

The same commands in R2 but configuring the username as R1.

Once I enter the "ppp authentication pap" command the link goes down.... is there any reason for this behavior? Is there any crazy thing like needing the cable to be unplugged before setting the configuration and plugged back once the configuration is done?

This is my configuration in R1:

username R2 password 0 carro

!

interface Serial0/0

ip address 12.0.0.1 255.255.255.252

encapsulation ppp

no fair-queue

ppp authentication pap

!

Help please to understand why... I am doing what the book says.

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: PAP authentication in PPP

You need to send the username and password with the following command:

On R1:

ppp pap sent-username R1 password carro

On R2:

ppp pap sent-username R2 password carro

5 REPLIES

Re: PAP authentication in PPP

Hi Francisco,

R2 configuration should be the following:

username R1 password 0 carro

!

interface Serial0/0

ip address 12.0.0.2 255.255.255.252

encapsulation ppp

ppp authentication pap

Did you configue this on R2 ?

Cheers:

Istvan

Community Member

Re: PAP authentication in PPP

Yes, that is the configuration in R2... but it doesn't work... the connection fails once I enter the "ppp authentication pap" command on either end.

Re: PAP authentication in PPP

OK. But you have to enter "ppp authentication pap" on both ends.

Use "debug ppp authentication" to see what is happening.

Cheers:

Istvan

Hall of Fame Super Bronze

Re: PAP authentication in PPP

You need to send the username and password with the following command:

On R1:

ppp pap sent-username R1 password carro

On R2:

ppp pap sent-username R2 password carro

Re: PAP authentication in PPP

Hi Edison,

You're right, I forgot about this.

Thanks for your contribution.

Istvan

408
Views
0
Helpful
5
Replies
CreatePlease to create content