background image
Hands-on Labs
551
3.
To change the default HDLC encapsulation method to PPP on both
routers, use the encapsulation command at interface configuration.
Both ends of the link must run the same encapsulation method.
RouterA#Config t
RouterA(config)#Int s0
RouterA(config)#Encap ppp
4.
Now go to Router B and set serial 0 to PPP encapsulation.
RouterB#config t
RouterB(config)#int s0
RouterB(config)#encap ppp
5.
Verify the configuration by typing sh int s0 on both routers.
6.
Notice the IPCP, IPXCP, and CDPCP. This is the information used to
transmit the upper-layer (Network layer) information across the ISO
HDLC at the MAC sublayer.
7.
Define a username and password on each router. Notice that the
username is the name of the remote router. Also, the password must
be the same.
RouterA#config t
RouterA(config)#username RouterB password todd
RouterB#config t
RouterB(config)#username RouterA password todd
8.
Enable CHAP or PAP authentication on each interface.
RouterA(config)#int s0
RouterA(config-if)#ppp authentication chap
RouterB(config)#int s0
RouterB(config-if)#ppp authentication chap
9.
Verify the PPP configuration on each router by using these two
commands:
sh int s0
debug PPP authentication
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com