sh ip route(ospf)

Dubuku57Dubuku57 Member Posts: 81 ■■□□□□□□□□
Hi guys,

200.120.45.0/24 is variably subnetted, 5 subnets
C 200.120.45.252/30 is directly connected, Serial0/0
C 200.120.45.192/28 is directly connected, Ethernet0
O 200.120.45.244/30 [110/64] via 200.120.45.253, 00:00:05,Ethernet0
O 200.120.45.248/30 [110/64] via 200.120.45.253, 00:00:05,Ethernet0
O 200.120.45.128/27 [110/64] via 200.120.45.129, 00:00:05,Ethernet0

This is part of the ip routing table. The topo however, is such that those Ospf routes actually are connected to the serial interface. Why is it showing up as Ethernet0? If i shut the Eth0 int, then the routing table changes to Serial0.

Is this normal? Or is smth wrong with the lab configs?

Thanks guys!!

Comments

  • APAAPA Member Posts: 959
    Without seeing your full config.... I'd say that routes are being learnt via Serial and Ethernet interfaces and because the Ethernet interfaces metric is lower it is preferring those routes.

    So when you shut the E0 interface the route table removes those routes and installs the routes the are being learnt via the serial interface.

    CCNA | CCNA:Security | CCNP | CCIP
    JNCIA:JUNOS | JNCIA:EX | JNCIS:ENT | JNCIS:SEC
    JNCIS:SP | JNCIP:SP
  • Dubuku57Dubuku57 Member Posts: 81 ■■□□□□□□□□
    Thats odd right, given my Ethernet0 isnt connected to anything else but a host. How is it learning the other networks?

    The statement on all the routers running ospf is this :
    network 200.120.45.0 0.0.0.255 area 0

    They are all in different subnets. But some router cant see certain networks while others can. Its weird....Im not sure how to go about troubleshooting this...
    the show ip ospf neighbours doesnt show anything! neither does sh ip ospf int...

    Thank you for your help!
  • Dubuku57Dubuku57 Member Posts: 81 ■■□□□□□□□□
    Hey it works now!! I re-did the whole lab in PacketTracer(earlier it was a preloaded lab in Netsim), and now am able to see all the networks and neighbours and all...phew!!

    Thanks for your help!
Sign In or Register to comment.