Hi Khalil,
Thank you and all the others for providing help on this. The command ppp pap
sent-username is the one that worked. Thanks a million to you. I am
puzzled-I was following instructions from books(won't mention which) and
none of them had this command!! Here is what I found out...very interesting.
2 routers, RouterA and RouterB connected back to back.
RouterA 1.1.1.1 DCE
username RouterB password cisco
encap ppp
ppp auth pap
ppp pap sent-username RouterA password cisco
RouterB 1.1.1.2 DTE
username RouterA password cisco
encap ppp
ppp auth pap
ppp pap sent-username RouterB password cisco
This command is reqd. on BOTH routers. If this command if entered on only 1
router, the serial on the other starts flapping!!! strange!!
If NOT entered, the BOTH serial report line prot. down!! strange!!
But if configured with chap, ppp chap sent-username.....is NOT reqd. It
works fine!! strange!!
My only explanation could possibly be is that since pap sends the password
to the other side, the other side needs to know who is coming in with what
password and compares this to the local username and password. I wonder what
would happen if I did not have the local username and password set??
Would anyone be kind enough to explain why this configuration is such??
Thank you.
Kind regards,
[EMAIL PROTECTED]
>From: Muhammed Khalilullah <[EMAIL PROTECTED]>
>Reply-To: Muhammed Khalilullah <[EMAIL PROTECTED]>
>To: Andrew Larkins <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: RE: Line prot. down with ppp auth pap command?
>Date: Mon, 26 Mar 2001 19:12:45 -0800 (PST)
>
>The router you are dialing in, i.e. the router that is
>supposed to authenticate should use the command ppp
>authentication pap and username and passwords. However
>the router that is dialing to should only use ppp pap
>sent-username command only. i.e. without ppp
>authentication pap command. That will work, i bet.
>
>Regards,
>Khalil
>CCNP, MCSE
>
>--- Andrew Larkins <[EMAIL PROTECTED]>
>wrote:
> > are you using the ppp pap sent username command??
> > Otherwise it sounds as
> > though the usernames and passwords may be wrong..
> > What is the output of the
> > debug ppp auth??
> >
> > -----Original Message-----
> > From: Niraj Palikhey [mailto:[EMAIL PROTECTED]]
> > Sent: 26 March 2001 14:26
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Line prot. down with ppp auth pap command?
> >
> >
> > <html><DIV>Hi,</DIV>
> > <DIV>I have setup 2 routers with a back-to-back
> > cable. When I setup the
> > serial int. with ppp encap. I can ping the other
> > router and vice-versa. But
> > when I setup the username and password and add the
> > command #ppp auth pap,
> > the line prot. goes down. I setup #debug ppp
> > nego and one of the debug
> > output reads, "Closing connection as remote
> > router cannot
> > authenticate". I made sure that the hostnames
> > were setup correctly and
> > the passwords were the same(cisco). What could
> > be the possible reason
> > why the serial int. shows line
> > prot down(sh ip int brie). Please
> > advise. </DIV>
> > <DIV>Sincerely,</DIV>
> > <DIV>[EMAIL PROTECTED]</DIV><br
> > clear=all><hr>Get your FREE
> > download of MSN Explorer at <a
> >
>href="http://explorer.msn.com">http://explorer.msn.com</a><br></p></html>
> >
> > _________________________________
> > FAQ, list archives, and subscription info:
> > http://www.groupstudy.com/list/cisco.html
> > Report misconduct and Nondisclosure violations to
> > [EMAIL PROTECTED]
> >
> > _________________________________
> > FAQ, list archives, and subscription info:
> > http://www.groupstudy.com/list/cisco.html
> > Report misconduct and Nondisclosure violations to
>[EMAIL PROTECTED]
>
>
>__________________________________________________
>Do You Yahoo!?
>Get email at your own domain with Yahoo! Mail.
>http://personal.mail.yahoo.com/
>
>_________________________________
>FAQ, list archives, and subscription info:
>http://www.groupstudy.com/list/cisco.html
>Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]