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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

- OSPF Single-Area configuration on RT3:<br />

RT3(config)#router ospf 1<br />

RT3(config-router)#network 10.1.3.2 0.0.0.0 area 0<br />

RT3(config-router)#network 10.1.5.2 0.0.0.0 area 0<br />

RT3(config-router)#network 10.1.6.1 0.0.0.0 area 0<br />

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

RT3#<br />

- The network {ip-addr} {wildcard-mask} area {area-id} router subcommand identifies the<br />

interfaces that belong to an OSPF process, the interfaces to transmit and receive routing updates,<br />

the OSPF area that the interfaces reside on, and the networks to be included in the routing updates.<br />

- OSPF network router subcommand differs from RIP and IGRP network router subcommands<br />

in its way of matching interfaces. It includes a parameter called the wildcard mask. Binary 1s in<br />

the wildcard mask are considered wildcard bits or don’t care bits, means that the router does not<br />

need to care what binary value is in the corresponding bits. Wildcard masks are also used in<br />

access control list configuration.<br />

- Binary 0s in the wildcard mask indicates that the corresponding bits of an interface IP address<br />

must be matched exactly. Ex: 1.1.1.1 and 0.0.0.0 would match 1.1.1.1 only. 1.1.0.0 and<br />

0.0.255.255 would match anything in the range 1.1.0.0 – 1.1.255.255. It is often simpler and<br />

safer to use the 0.0.0.0 wildcard mask to identify each OSPF interface individually.<br />

- Verify the OSPF Single-Area configuration on RT1:<br />

RT1#sh ip route<br />

Gateway of last resort is not set<br />

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

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

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

C 10.1.3.0 is directly connected, Serial0/1<br />

O 10.1.4.0 [110/65] via 10.1.2.2, 00:00:32, Serial0/0<br />

O 10.1.5.0 [110/128] via 10.1.2.2, 00:00:32, Serial0/0<br />

[110/128] via 10.1.3.2, 00:00:32, Serial0/1<br />

O 10.1.6.0 [110/65] via 10.1.3.2, 00:00:32, Seria0/1<br />

RT1#<br />

- Verify the OSPF Single-Area configuration on RT2:<br />

RT2#sh ip route<br />

Gateway of last resort is not set<br />

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

O 10.1.1.0 [110/65] via 10.1.2.1, 00:00:48, Serial0/0<br />

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

O 10.1.3.0 [110/128] via 10.1.2.1, 00:00:48, Serial0/0<br />

[110/128] via 10.1.5.2, 00:00:48, Serial0/1<br />

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

C 10.1.5.0 is directly connected, Serial0/1<br />

O 10.1.6.0 [110/65] via 10.1.5.2, 00:00:48, Serial0/1<br />

RT2#<br />

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