Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

path selection in ospf

if i have two wan routers connected to one switch....WAN router 1 shd be primary and wan router 2 shd be secondry....i have two vlans config on switch 20.0 and 30.0 for both the router lan (unfortunatly design is that both are on dif subnet) now my requirment is that if a packet comes to swicth it shd be routed to first router and if first router fails it shd route to second router.....and i have to use ospf ......how we do it is it cost or metric and what are the commands......thanks guys

5 REPLIES

Re: path selection in ospf

HI,

Assuming you Network as WAN Environment now,

WAN Router connected to Service Provider1 and Servier Provider2.

Last-mile is configured with OSPF as the Routing Protocol. The Remote prefixes are received via both the Service Providers cloud.

The Optimal way is to manipulate with the OSPF Cost from the CE WAN Router point.

Best Regards,

Guru Prasad R

New Member

Re: path selection in ospf

Thanks Guru

i am getting a default route from a same service provider so its connected to same service provider....now can we start from lan environment hjow i will config cost on switches keeping in mind that they are using vlan.....thanks

New Member

Re: path selection in ospf

Guroo ...this issues has been opened up yesterday

Some solutions were given to you but you dropped it in the air.

Anyway, if you are so stubborn in using different subnets on the lan side of wan routers here is what you need to do.

WAN_A

router ospf 1

default-information originate metric 100

WAN_B

router ospf 1

default-information originate metric 110

This way.. WAN_A will be the prefered one.

New Member

Re: path selection in ospf

Thanks for your kind reply.....and thanks for your help but dude just wanna add something i am not stuburn i have told you 5 times that , that is design requirment....and if u see my very first post i have already mentioned that if it was a same subnet that i would have gone for HSRP....but i guess you are not getting the point and keep insisting on somehting which i dont want.....so its not me who decides design and subnets...so i have left withno choice but to ask for solution....and i guess i got it.....

New Member

Re: path selection in ospf

cheers then.glad it helped

137
Views
5
Helpful
5
Replies
CreatePlease to create content