28.06.2014 Views

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

Learning by Doing: CISCO Certified Network ... - SCN Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

“real-world” scenario. Undo all of the last steps. This time use similar<br />

commands except the username and passwords are set a bit differently. The<br />

username must match the hostname of the destination router. Use the line<br />

between leftist and urvile to set up chap.<br />

leftist(config)#int s0/0<br />

leftist(config-if)#enc ppp<br />

leftist(config-if)#ppp authentication chap<br />

leftist(config-if)#exit<br />

leftist(config)#username prophet password cisco<br />

This will set up a username to “dial-in” and be “authenticated” to the urvile<br />

router. We chose to use the username prophet and are obligated to use the<br />

password cisco since we already set it up in our router basics. Next, on urvile, we<br />

use similar commands except that we set the username to the router which will be<br />

calling in. We must also include the hostname that will be calling in to urvile.<br />

urvile(config)#int s0/0<br />

urvile(config-if)#enc ppp<br />

urvile(config-if)#ppp authentication chap<br />

urvile(config-if)#ppp authentication chap callin<br />

urvile(config)#ppp chap hostname prophet<br />

urvile(config-if)#exit<br />

urvile(config)#username leftist password cisco<br />

Don’t forget to change the settings on both sides! (Use S0/1 on urvile.) Notice<br />

how we now have to use the hostname of the other router and the “enable secret”<br />

of “cisco” (the encrypted one). You will know when you have the right<br />

combination of user names and passwords when the line and protocol both come<br />

up.<br />

11. Then view the CHAP with the same debugs…debug tasks, debug negotiation, and<br />

debug authentication. They should be similar to the PAP ones except that there is<br />

a three-way handshake and our passwords are encrypted. Can you see it?<br />

Challenge Lab or Supplemental Activities:<br />

1. Try switching the order of which router will be called into and which one will<br />

do the calling. Why would this be important? Why would you want to do<br />

this?<br />

2. Try configuring PAP and CHAP on the same router. Why would you want to<br />

do this?<br />

3. Can we do any authentication with HDLC? Try it and find out. When would<br />

you want to use PPP with authentication and when would you want to use<br />

HDLC?<br />

4. What are the other debug options available with PPP? What does each of<br />

them do?<br />

385

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!