I have one doubt in the static route.
In my office two cisco router and both are connected in the switch.
Two router one is core router and secondary router.
Two routers have a wan connectivity.
LAN IP : 10.10.50.100/24
WAN IP : 192.168.36.53/30
LAN IP : 10.10.50.161/24
WAN IP : 10.70.24.86/30
All the systems are connected with the gateway 10.10.50.100
Static route is configured in the Router 1.
ip route 10.10.100.0 255.255.255.0 192.168.36.54
ip route 10.10.100.0 255.255.255.0 10.10.50.161 2
We put the second static route to point the second router for the fall back.
In case of router 1 link down means it will take the second router.
but it is not working.
i got a ttl expired response from the router 1.
The above static route is correct or not and i how to give the metric value for the static route.
I want if the router 1 link fail means i t will take the secon router link.
Any one can help me.
You can use HSRP for failover.
For more information please visit the link
If i give the above static route it will work or not..
the metric value which i given in the static route is correct or not.
usually how to give the metric value for the static route.
Think in this way, you have 2 routers connected to one switch. If you were to loose the WAN link connected to one router, your switch will never come to know about the failure as static routes will not be withdrawn from the routing table. There are some ways to overcome this, but i don't really feel that to be a right solution.
if you want to really go ahead with static routes, then you do the following
1) Configure IP SLA on your switch to poll an always available IP address on the remote side.
2) Have two floating static routes, the one which you have already configured (better to give a metric of 100, looks good) but nothing wrong with 2 though.
By configuring IP SLA - If the polling configured for that always available IP address fails, the tracked route will be removed off the routing table & then the next higher metric route will get automatically injected into the routing table.
if you want to explore an option of a dynamic routing protocol, you will really feel it to be comfortable than IP SLA (i feel this to be unreliable - sometimes)
Run EIGRP between your routers & switch & set proper metric weights for the one you want to be the best path.
Hope this helps.
Thanks for your advice.
can u tell me how to configure the eigrp in both router.
If one router wan links fails means and it will take the second wan link.
how to configure the fall back.
Thanks for sharing a information and also i saw the information.it is very helpful.
Both router i had configured eigrp protocol.
But i have little confusing to give the fallback between the router if one wan link failed.
Can u tell me.
ip add 10.10.20.100 255.255.255.0
Des ### BSNL WAN ###
ip add 192.168.63.56 255.255.255.252
router eigrp 10
ip add 10.10.20.161 255.255.255.0
Des ## tata wan ###
ip add 10.70.45.23 255.255.255.252
router eigrp 10
Our users are working with router 1 as a primary.If the router 1 WAN link went down it will take the route as second router .
i want to configure a failover b/w the router.
how to configure a failover in the router
I believe your network architecture looks something like the one attached. I would configure the network in this way, if i were you.
you have two paths to reach a destination (the building). Being that you have BSNL link on serial connection whose bandwidth is lesser than the fastethernet, EIGRP will prefer your TATA link. So, if you were to loose the TATA link, automatically failover would happen to your BSNL link as that's the only feasible successor out there.
Hope i answered you. Its depends on you if you want to run EIGRP over your WAN links to the other sites.
The network diagram is correct.
But my bsnl bandwidth is 2mbps and tata bandwidth is 512kbps.
In that office all my systems and servers having the gateway as 10.10.20.100.
If any one link down means how it will take the second link.
If any configuration is needed in the switch??
Oh, so the switch is a Layer 2 switch. I'm stupid ! I should have asked what kinda switch is that you have.
Well, then you need to deal your requirement via HSRP.
1) Remove those EIGRP configs.
2) Configure HSRP on Router 1 & Router 2
3) Track the serial link & do the configs to reduce the priority incase of the link goes down.