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.

- The ip classless global configuration command is important when using default routing. It is<br />

enabled by default in <strong>Cisco</strong> IOS release 12.0 and later. Default routing and classless routing are<br />

discussed further in Chapter 17 – Classful and Classless Routing and MISC TCP/IP Topics.<br />

- Multiple routes can be configured and flagged as candidate default routes. The candidate default<br />

route with the lowest metric will be selected as the default route.<br />

RIP Configuration<br />

- The main command when configuring RIP and IGRP is the network {classful-network-addr}<br />

router subcommand. It matches one or more interfaces on a router and causes the router to<br />

perform 3 tasks on the matched interfaces:<br />

i) Broadcast routing updates out the matched interfaces.<br />

ii) Listen and process incoming routing updates from the matched interfaces.<br />

iii) Include the subnet of the matched interfaces in the routing updates to other routers.<br />

- RIP configuration on RT1:<br />

RT1(config)#no ip route 0.0.0.0 0.0.0.0 192.168.2.2<br />

RT1(config)#router rip<br />

RT1(config-router)#network 192.168.1.0<br />

RT1(config-router)#network 192.168.2.0<br />

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

RT1#<br />

- RIP configuration on RT2:<br />

RT2(config)#no ip route 192.168.1.0 255.255.255.0 192.168.2.1<br />

RT2(config)#no ip route 192.168.5.0 255.255.255.0 192.168.4.2<br />

RT2(config)#router rip<br />

RT2(config-router)#network 192.168.2.0<br />

RT2(config-router)#network 192.168.3.0<br />

RT2(config-router)#network 192.168.4.0<br />

RT2(config-router)#^Z<br />

RT2#<br />

- RIP configuration on RT3:<br />

RT3(config)#no ip route 192.168.1.0 255.255.255.0 192.168.4.1<br />

RT3(config)#no ip route 192.168.2.0 255.255.255.0 192.168.4.1<br />

RT3(config)#no ip route 192.168.3.0 255.255.255.0 192.168.4.1<br />

RT3(config)#router rip<br />

RT3(config-router)#network 192.168.4.0<br />

RT3(config-router)#network 192.168.5.0<br />

RT3(config-router)#^Z<br />

RT3#<br />

- Note: Remember that the administrative distances of static routes and RIP routers are 1 and 120<br />

respectively, hence static routes must to be removed in order to use the routes learnt via RIP.<br />

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