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.

10. Try the shortcut to the 192.168.3.3 folder from 192.168.1.2. It won’t work.<br />

In fact the computer will appear to freeze and give you an icky message like<br />

this:<br />

11. Try steps 8-10 again but from the 192.168.1.3 workstation. It should work<br />

fine because we only denied the host. Oh fudge! We forgot our pecking order<br />

with ACL’s…they are sequential and we need permits for denies. Let’s go<br />

add that in:<br />

gates(config)#access-list 10 permit ip any<br />

12. Now it should work fine…If you have any problems reboot the computers.<br />

Microsoft is quirky in small networks. I had to do it several times too. What<br />

the heck it may take some time but when you charge $100 an hour…who<br />

cares?<br />

13. Ok…let’s play…let’s verify that we really got our “out” statement correct <strong>by</strong><br />

changing it to “in” and see what happens.<br />

gates(config)#int e0/1<br />

gates(config-if)#no ip access-group 10 out<br />

gates(config-if)#ip access-group 10 in<br />

Everything will still work…drat! That is not what we wanted!<br />

14. Let’s finish off this puppy with some show and debug commands.<br />

gates#sh access-lists<br />

Standard IP access list 10<br />

deny 192.168.1.2<br />

permit any<br />

gates#<br />

This will show us, in brief, our standard access list statements. And, to the<br />

big kahuna:<br />

gates#debug ip packet detail<br />

IP packet debugging is on (detailed)<br />

gates#<br />

18:32:05: ICMP type=8, code=0<br />

18:32:05: IP: s=192.168.1.1 (local), d=192.168.1.2 (Ethernet0/0), len 56, sending<br />

345

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

Saved successfully!

Ooh no, something went wrong!