07-16-2009 07:23 AM - edited 03-06-2019 06:48 AM
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.
Solved! Go to Solution.
07-16-2009 02:17 PM
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
07-16-2009 12:08 PM
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
07-16-2009 12:14 PM
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.
07-16-2009 12:28 PM
OK. But you have to enter "ppp authentication pap" on both ends.
Use "debug ppp authentication" to see what is happening.
Cheers:
Istvan
07-16-2009 02:17 PM
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
07-17-2009 12:05 AM
Hi Edison,
You're right, I forgot about this.
Thanks for your contribution.
Istvan
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: