Thanks for the responses so far.  I still don't understand the
purpose of the "ppp chap hostname" command under the interface
config.

Using this command, I am now able to get a PPP link up.  But I must
do the following:

rtr-a config:

        username rtr-b

        int serial 0
                encap ppp
                ppp chap hostname rtr-a

rtr-b config:
        
        username rtr-a
        
        int serial 0
                encap ppp
                ppp chap hostname rtr-b

That is, I must define the hostnames to be *different* on each
side, and then define the corresponding global username to match the
remote hostname on each side of the link.  Thus, the interface
"ppp chap hostname" command doesn't appaear to simplify the CHAP 
config.   This seems to defeat the purpose of this command as suposedly
it's used to simplify the CHAP config so that the same hostname can be
used on multiple routers.  Or so its stated in the ICRC book (page 373).

So, I'm not really sure what benefit there is for this command,
as it doesn't seem to simplify the config.   

But I'm sure I'm missing something... :-)

Thanks for any more info/comments.



Cisco Breaker wrote:
> 
> Your only choice is to use global username other router and  password the
> sama as your router they must be identical on both sides.
> 
> ""bergenpeak""  wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > "sent-username" is not an option for me under ppp chap.  My
> > options at "ppp chap" are "hostname", "password", "wait", and
> > "refuse".
> >
> > Thanks
> >
> >
> > "McCallum, Robert" wrote:
> > >
> > > what about ppp chap sent-username ?
> > >
> > > -----Original Message-----
> > > From: bergenpeak [mailto:[EMAIL PROTECTED]]
> > > Sent: 07 January 2002 13:09
> > > To: [EMAIL PROTECTED]
> > > Subject: PPP link negotiation problem [7:31132]
> > >
> > > I'm working through the different ways one can configure CHAP
> > > authentication between two routers over a PPP serial link.
> > >
> > > If I configure ppp encap and ppp chap authentication and both sides
> > > of the link and use the global:
> > >
> > >         username  password
> > >
> > > for identification, the link comes up and IPCP is established.  The
> > > routers have hostnames defined to be "rtr-2505" and "rtr-2514".
> > >
> > > When I try to use the "simpler" CHAP config, where one can encode
> > > in the interface directly the same hostname and password, I see
> > > the error:
> > >
> > > PPP Serial0: Using alternative CHAP hostname something
> > > PPP Serial0: CHAP Challenge id=14 received from something
> > > PPP Serial0: ignoring challenge with local name
> > >
> > > On both rtrs I have the following defined on the serial interface:
> > >         ppp encap
> > >         ppp authentication chap
> > >         ppp chap hostname something
> > >         ppp chap password else
> > >
> > > there are no usernames defined globally.
> > >
> > > Ideas?
> > >
> > > Thanks




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=31389&t=31132
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to