09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to 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.

An alternative <strong>to</strong> this is <strong>to</strong> use <strong>the</strong> <strong>network</strong> addresses of <strong>the</strong> connected interfaces.<br />

When using this approach, <strong>the</strong> netmask/wild card bits are set <strong>to</strong> 0.0.0.0. Router<br />

asbr-a1 is configured using this approach:<br />

asbr-a1(config)#router ospf 57<br />

asbr-a1(config-router)#<strong>network</strong> 192.168.3.19 0.0.0.0 area 0.0.0.0<br />

asbr-a1(config-router)#<strong>network</strong> 192.168.0.1 0.0.0.0 area 0.0.0.0<br />

asbr-a1(config-router)#<strong>network</strong> 192.168.0.97 0.0.0.0 area 192.168.0.0<br />

Now that both routers are configured, let's check <strong>the</strong> routing table on asbr-a1 <strong>to</strong><br />

make sure we are in fact getting announcements from asbr-b2:<br />

asbr-a1#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 />

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2<br />

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

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate<br />

default<br />

U - per-user static route, o - ODR<br />

Gateway of last resort is 12.14.116.6 <strong>to</strong> <strong>network</strong> 0.0.0.0<br />

192.168.160.0/30 is subnetted, 1 subnets<br />

C 192.168.160.96 is directly connected, E<strong>the</strong>rnet0/0<br />

172.16.0.0/32 is subnetted, 4 subnets<br />

O IA 172.16.2.129 [110/65] via 192.168.0.2, 00:00:51, Serial0/0<br />

O IA 172.16.2.193 [110/65] via 192.168.0.2, 00:00:51, Serial0/0<br />

O IA 172.16.1.1 [110/65] via 192.168.0.2, 00:00:56, Serial0/0<br />

O IA 172.16.2.65 [110/65] via 192.168.0.2, 00:00:41, Serial0/0<br />

C 192.168.191.0/24 is directly connected, E<strong>the</strong>rnet0/1<br />

192.168.0.0/30 is subnetted, 1 subnets<br />

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

12.0.0.0/30 is subnetted, 1 subnets<br />

C 12.14.116.4 is directly connected, Loopback1<br />

S* 0.0.0.0/0 [1/0] via 12.14.116.6

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

Saved successfully!

Ooh no, something went wrong!