19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

- Tips: The show controllers {intf-type intf-num} EXEC command can be used to find out<br />

which end (DTE or DCE) is plugged into a serial interface:<br />

Router#show controllers serial 0/0<br />

HD unit 0, idb = 0xC2518, driver structure at 0xC79B0<br />

buffer size 1524 HD unit 0, V.35 DCE cable<br />

cpb = 0xE1, eda = 0x4940, cda = 0x4800<br />

RX ring with 16 entries at 0xE14800<br />

- The terminal ip netmask-format {bit-count | decimal} EXEC command can be used to<br />

change the network mask format (prefix notation – /xx or dotted decimal – x.x.x.x) in the<br />

output of the series of show command, eg: show ip route.<br />

- Troubleshooting network problems with ping:<br />

Error Message Possible Cause<br />

Destination host unreachable Packet dropped on the way to the destination. Normally<br />

returned by an intermediate router when it is not able to find a<br />

route to the destination network.<br />

Request timed out Packet dropped on the way to the destination. Another<br />

possible cause is an intermediate router does not have a route to<br />

the network of the source host when the packet is on the way<br />

back from the destination network.<br />

Static Routing Configuration<br />

- Currently, a Request timed out error message would be received when trying to ping<br />

192.168.2.2 from PC1. This is due to RT2 does not have a route to 192.168.1.0/24 network!<br />

This section shows the static routing configuration on all routers for them to reach all networks.<br />

- The ip route {destination-network} {subnet-mask} {next-hop-addr | outgoing-intf}<br />

[administrative-distance] [permanent] global configuration command defines static routes.<br />

Note: Static routes that use the outgoing interface option instead of the next-hop address option<br />

are considered as directly connected static routes.<br />

Note: Only configure static routes pointing to an outgoing interface on point-to-point links, as<br />

the router won’t be able to resolve a next-hop address in point-to-multipoint topologies.<br />

- Static Routing configuration on RT1:<br />

RT1(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2<br />

RT1(config)#ip route 192.168.4.0 255.255.255.0 192.168.2.2<br />

RT1(config)#ip route 192.168.5.0 255.255.255.0 192.168.2.2<br />

RT1(config)#^Z<br />

RT1#<br />

RT1#sh ip route<br />

Gateway of last resort is not set<br />

C 192.168.1.0/24 is directly connected, FastEthernet1/0<br />

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

S 192.168.3.0/24 [1/0] via 192.168.2.2<br />

S 192.168.4.0/24 [1/0] via 192.168.2.2<br />

S 192.168.5.0/24 [1/0] via 192.168.2.2<br />

83<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

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

Saved successfully!

Ooh no, something went wrong!