cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1532
Views
0
Helpful
5
Replies

PAP authentication in PPP

fjcardenas-1
Level 1
Level 1

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

Edison Ortiz
Hall of Fame
Hall of Fame

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

View solution in original post

5 Replies 5

Istvan_Rabai
Level 7
Level 7

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

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.

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

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

Cheers:

Istvan

Edison Ortiz
Hall of Fame
Hall of Fame

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

Hi Edison,

You're right, I forgot about this.

Thanks for your contribution.

Istvan

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