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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Gateway of last resort is not set<br />

C 192.168.30.0/24 is directly connected, Serial0/0<br />

R 192.168.4.0/24 [120/1] via 192.168.30.2, 00:00:07, Serial0/0<br />

C 192.168.3.0/24 is directly connected, Ethernet0/0<br />

Randy><br />

We see our directly connected routes and the one learned via our routing protocol.<br />

Getting stuck? Try using this command at the privileged prompt:clear ip route *<br />

several times on each router to “restart” the routing process (clears the tables,<br />

sends updates, receives updates, and re-creates the ip routing table). This is a<br />

really good command to remember and keep in your “arsenal.”<br />

13. Let’s watch ICMP packets as they pass from one router to another. Turn on<br />

debug, then ping and trace route from the workstation to generate icmp “traffic.”<br />

Side note: debug can really chew up resources. Be sure to use just enough debug<br />

to get the job done, then turn off debug. Notice how we had to change user<br />

modes:<br />

Randy#debug ip icmp<br />

(use “undebug ip icmp” or “undebug all” to<br />

turn off)<br />

You should see: {This is what I sent}<br />

Pinging 192.168.4.2 with 32 <strong>by</strong>tes of data:<br />

Reply from 192.168.4.2: <strong>by</strong>tes=32 time=23ms TTL=126<br />

Reply from 192.168.4.2: <strong>by</strong>tes=32 time=20ms TTL=126<br />

Reply from 192.168.4.2: <strong>by</strong>tes=32 time=20ms TTL=126<br />

Reply from 192.168.4.2: <strong>by</strong>tes=32 time=20ms TTL=126<br />

Ping statistics for 192.168.4.2:<br />

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),<br />

Approximate round trip times in milli-seconds:<br />

Minimum = 20ms, Maximum = 23ms, Average = 20ms<br />

C:\WINDOWS\Desktop>tracert 192.168.4.2<br />

Tracing route to STAR10616119 [192.168.4.2]<br />

over a maximum of 30 hops:<br />

1 2 ms 1 ms 1 ms 192.168.3.1<br />

2 25 ms 25 ms 25 ms 192.168.30.2<br />

3 30 ms 30 ms 30 ms STAR10616119 [192.168.4.2]<br />

Trace complete.<br />

C:\WINDOWS\Desktop><br />

You should see on RouterA:<br />

Randy#debug ip icmp<br />

ICMP packet debugging is on<br />

Randy#<br />

01:02:29: ICMP: time exceeded (time to live) sent to 192.168.3.2 (dest<br />

was 192.168.4.2)<br />

01:02:29: ICMP: time exceeded (time to live) sent to 192.168.3.2 (dest<br />

was 192.168.4.2)<br />

185

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

Saved successfully!

Ooh no, something went wrong!