05-04-2009 09:06 PM - edited 03-04-2019 04:38 AM
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
05-04-2009 09:18 PM
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
05-04-2009 10:14 PM
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
05-04-2009 10:26 PM
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.
05-05-2009 12:57 AM
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.....
05-05-2009 02:44 AM
cheers then.glad it helped
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