
PPP Interface Configuration Command Set Command Reference Guide
488 © 2003 ADTRAN, Inc. 61950860L1-35D
Configuring CHAP Example 3: Using the ppp chap hostname command as an alternate solution.
On the local router (hostname Local):
Local(config-ppp 1)#
ppp authentication chap
Local(config-ppp 1)#
username Peer password same
Local(config-ppp 1)#
ppp chap hostname nearend
On the peer (hostname Peer):
Peer(config-ppp 1)#
username nearend password same
Notice the peer is expecting username “nearend” even though the local router's hostname is “Local".
Therefore the local router can use the
ppp chap hostname
command to send the correct name on the
challenge.
Configuring CHAP Example 4: Using the ppp chap password command as an alternate solution.
On the local router (hostname Local):
Local(config-ppp 1)#
ppp authentication chap
Local(config-ppp 1)#
username Peer password different
On the peer (hostname Peer):
Peer(config-ppp 1)#
username Local password same
Peer(config-ppp 1)#
ppp chap password different
Here the local router challenges with hostname "Local". The peer verifies the name in the username database,
but instead of sending the password "same" in the response, it uses the one in the
ppp chap password
command. The local router then verifies that user "Peer" with password "different" is valid and sends a
"success".
Technology Review (Continued)
Kommentare zu diesen Handbüchern