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.

Chapter 12<br />

Static Routing, Default Routing, RIP, and IGRP Lab<br />

Figure 12-1: Network Setup for IP Routing Configuration<br />

- Figure 12-1 shows the network setup for static routing, default routing, RIP, and IGRP<br />

configurations. Note: Both RT2 serial interfaces are DCEs.<br />

- Initial configuration on RT1:<br />

RT1 RT2 RT3<br />

Fa1/0<br />

192.168.1.1<br />

S0/0<br />

192.168.2.1<br />

192.168.2.2<br />

S0/0<br />

Router>en<br />

Router#conf t<br />

Enter configuration commands, one per line. End with CNTL/Z.<br />

Router(config)#hostname RT1<br />

RT1(config)#int fa1/0<br />

RT1(config-if)#ip add 192.168.1.1 255.255.255.0<br />

RT1(config-if)#no shut<br />

RT1(config-if)#int s0/0<br />

RT1(config-if)#ip add 192.168.2.1 255.255.255.0<br />

RT1(config-if)#no shut<br />

RT1(config-if)#^Z<br />

RT1#<br />

RT1#sh ip route<br />

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP<br />

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area<br />

E1 - OSPF external type 1, E2 - OSPF external type 2, E – EGP<br />

Gateway of last resort is not set<br />

PC1 PC2 PC3 PC4<br />

192.168.1.2 192.168.3.2 192.168.3.3 192.168.5.2<br />

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

RT1#<br />

- Route to 192.168.2.0/24 is not shown in the routing table as the line protocol of S0/0 is down.<br />

This happens because the DCE end (RT2) does not provide the clocking yet. The clock rate<br />

interface subcommand defines the timing of data transmission over a synchronous serial link<br />

when back-to-back DTE/DCE serial cables instead of CSU/DSU are being used.<br />

81<br />

Fa1/0<br />

192.168.3.1<br />

S0/1<br />

192.168.4.1<br />

192.168.4.2<br />

S0/0<br />

Fa1/0<br />

192.168.5.1<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!