cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1217
Views
0
Helpful
5
Replies

routing problems

Network Pro
Level 7
Level 7

hi all,

i have this routing problem. here is the topology

Untitled.png

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

5 Replies 5

Jerry Ye
Cisco Employee
Cisco Employee

Are they all in the same area?

Regards,

jerry

yes (sorry forgot to mention)

all area 0

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?

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.

Don't forget to rate helpful posts.

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