Connie Nie wrote: > > Hi, group! > > I have been trying to figure out how "dialer remote-name" is > used/or not > used in the ppp process but without success. Here is what I > understand the > ppp chap process work: > R1 calls R2 > R2 challenges R1. Together with the random no and seq. no, r2 > also send its > hostname as specified by "Hostname" or "ppp chap hostname", in > this case, > let's say it is R2 > R1 looks up the password for R2, sends the response back with > its own > hostname, in this case, R1 > R2 looksup the password for R1, use the password as one of the > elements to > generate hash value, compare it with R1's response, and makes > decision. > ---I didn't see "dialer remote-name" being used in this whole > process. the > name exchanged are specified with either hostname, or ppp chap > hostname, and > password lookup uses username ... password. > > Yet Caslow book states that "dialer remote-name statement is > critical for > the called party. It must match the calling parties' host name > or ppp chap > hostname." Why is it so? Can someone shed some light on this? > > Thank you. > > Connie Nie > > I was going to make a smart-alec response and say "because otherwise it doesn't work" (because I am sure I've seen calls fail for this reason), but I thought I'd be more helpful, so I changed the remote-name on a test router and dialled up with some debugs on. Much to my surprise, the call worked (with the debugs indicating that CHAP authenticated using the real router names). I realised that the name I'd changed it to had a user-name statement defined, so I removed that. Still worked. Wondered if there was something left in a cache somewhere, so changed the remote-name to something daft. Still worked.
This is using 11.2 IOS calling 12.1 IOS, and it may well depend on the precise configuration. I will note, however, that the dialer remote-name can be used without using PPP. Many moons ago we had a setup where the dialer remote-name was used to distinguish incoming calls and use the correct dialer interface. An incorrect dialer remote-name here certainly caused the call to fail (unless there was only one dialer interface defined, in which case,due to a bug, the remote-name was ignored). This was probably using IOS 11.2 or 10.3. JMcL Message Posted at: http://www.groupstudy.com/form/read.php?f=7&i=57331&t=57313 -------------------------------------------------- FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

