OSPF network question

Hello- I was practising a lab yesterday using 2 routers and a host off each router. Router A's PC had a 172.16.20.0 network Router A to Router B had a point to point link 172.16.1.0 network(uisng addresses 172.16.1.1 and 172.16.1.2) Then the host from Router B used

172.16.1.129 as its default gateway and 172.16.1.130 as it address.

Using two network statements 172.16.1.0 0.0.0.3 area 0 (point to point) and

172.16.1.0 0.0.0.63 for the Host network.

For some reason Router Bs host coulde ping everywhere but router A , and the host could not ping past Router Bs serial address- 172.16.1.129 was unreachable

In the show ip route ,Router B had learnt its routes-whereas Router A only had directly connected routes available. When a default route was put in to Router A 0.0.0.0 0.0.0.0 s0 , connectivity was gained. What I couldnt understand was why Router B knew routes,when Router B didnt.

Thanks alot-hope its clear-it was a Cisco Lab for Semester 3

Reply to
daytime
Loading thread data ...

and on the other router? you should post both routers config files.

Reply to
Drake

daytime napisa=B3(a):

You should have: Router A: router ospf 1 network 172.16.20.0 0.0.0.255 area x network 172.16.1.0 0.0.0.3 area 0 (it can be also 172.16.1.1 0.0.0.0=20 area 0)

Router B: network 172.16.1.0 0.0.0.3 area 0 network 172.16.1.128 0.0.0.63 area y (or 172.16.1.129 0.0.0.0 area y)

Your network statement doesn't cover 172.16.1.129 interface and thus=20 doesn't include it in OSPF routing.

Ern

Reply to
Ern

I see what you mean-I was following the instructions in the CCNA lab manual,it wrote to just include network 172.16.1.0 0.0.0.63 as the network for the host address , instead of ,as you have included

-172.16.1.128 0.0.0.63

Many thanks for that-I assume it was a typo on ciscos part.

Reply to
daytime

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.