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:
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
ip address 184.108.40.206 255.255.255.252
ppp authentication pap
Help please to understand why... I am doing what the book says.
You need to send the username and password with the following command:
ppp pap sent-username R1 password carro
ppp pap sent-username R2 password carro