09-20-2011 08:12 AM - edited 03-07-2019 02:19 AM
hi all,
i have this routing problem. here is the topology

Speed:
Site A to Site B - 100 Mb
Site B to Site C - 2 MB
Site C to Site D - 10 mb
Site D to Site A - 100 MB
we run ospf
when i ping 192.168.1.1 (site A) from site D and tracert it takes me all the way through site C and Site B and Site A instead of using the 172.21.254.6 (directly connected)...similary if i do from Site A to SITE D it takes me all the way round instead of using hte directly connected interface..
all links are up and active. can you pls tell why this happenening and how to solve this
sh run on the interface of Site D is :
sh ip ospf interface gigabitEthernet 1/0/2 (connects to SITE A) - cost 1
sh ip ospf interface gigabitEthernet 1/0/1 (connects to SITE C) - cost 10
any thoughts pls?
Thanks
09-20-2011 08:30 AM
Are they all in the same area?
Regards,
jerry
09-20-2011 08:44 AM
yes (sorry forgot to mention)
all area 0
09-20-2011 09:51 AM
Have you cleared the routing process by any chance? Also, I see the OSPF cost going to the port on A from D
is set manually to 1, but what is the cost on the other interface?
09-20-2011 11:11 AM
Hi,
You have the 192.168.1.0 subnet on site A and site B.
Can you do sh ip ospf database 192.168.1.0 on site D and sh run | section router ospf on site A
Regards.
Alain.
09-23-2011 02:12 AM
hiya,
i think i figured out the proble. there was a passive interface command which was stopping it from advertising ospf.
as soon as i removed it, ospf started to take this route
thanks for all your help
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide