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.

- With classless routing, the default route is used whenever a packet does not match a more<br />

specific route in the routing table (unknown subnets of known a classful network).<br />

- If the supernet or default route is learned via a classless routing protocol (eg: OSPF, IS-IS),<br />

the classful nature (the no ip classless global configuration command is configured) of a router<br />

is ignored – a classful router may use a default route to reach networks that are not listed in the<br />

routing table regardless of the ip classless command.<br />

Secondary IP Addressing<br />

- Secondary addressing provides a solution to the problem of running out of addresses in a subnet<br />

(due to poor network design) by allowing multiple networks (or subnets) to reside on the same<br />

data link media. An interface may have an unlimited number of secondary addresses.<br />

RT1<br />

S0/0<br />

S0/0<br />

RT2<br />

Fa1/0<br />

10.1.1.1<br />

10.1.2.0/24<br />

Fa1/0<br />

Figure 16-4: Sample Secondary IP Addressing Network<br />

- Secondary IP Addressing configuration on RT2:<br />

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

RT2(config-if)#ip add 10.1.3.1 255.255.255.0<br />

RT2(config-if)#ip add 10.1.4.1 255.255.255.0 secondary<br />

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

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

RT2#<br />

RT2#sh ip route<br />

Gateway of last resort is not set<br />

10.0.0.0/24 is subnetted, 4 subnets<br />

R 10.1.1.0 [120/1] via 10.1.2.1, 00:00:10, Serial0/0<br />

C 10.1.2.0 is directly connected, Serial0/0<br />

C 10.1.3.0 is directly connected, FastEthernet1/0<br />

C 10.1.4.0 is directly connected, FastEthernet1/0<br />

RT2#<br />

- By implementing secondary IP addressing on RT2, all PCs are able to ping each other.<br />

PC1<br />

10.1.1.2<br />

10.1.3.1<br />

10.1.4.1 secondary<br />

- Note: RT2 would use its primary IP address (10.1.3.1) as the source IP address when it<br />

communicates with hosts in the secondary network (10.1.4.0/24).<br />

121<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com<br />

PC2<br />

10.1.3.2<br />

PC3<br />

10.1.4.2

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

Saved successfully!

Ooh no, something went wrong!