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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Cisco Static Route

hi,

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.

Router 1:

LAN IP : 10.10.50.100/24

WAN IP : 192.168.36.53/30

Router 2:

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.

14 REPLIES
Hall of Fame Super Gold

Cisco Static Route

You should use a routing protocol to router around network failures, not static routes.

New Member

Re: Cisco Static Route

Which routing protocol to be used and how to configure..

Kindly tell me.

New Member

Cisco Static Route

You can use HSRP for failover.

For more information please visit the link

http://www.cisco.com/en/US/tech/tk648/tk362/tk321/tsd_technology_support_sub-protocol_home.html

New Member

Re: Cisco Static Route

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.

Re: Cisco Static Route

Hello Dhinesh,

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

Vivek

New Member

Cisco Static Route

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.

Cisco Static Route

New Member

Cisco Static Route

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.

Cisco Static Route

Do you mean fallback or failover? Could you please share me the configs, you have done on your router?

New Member

Cisco Static Route

Config:

Router 1:

int fa0/0

ip add 10.10.20.100 255.255.255.0

speed auto

duplex auto

int se0/1/0

Des ### BSNL WAN ###

ip add 192.168.63.56 255.255.255.252

enc ppp

router eigrp 10

no auto-summary

network 10.10.20.0

network 192.168.63.0

Router 2:

int fa0/0

ip add 10.10.20.161 255.255.255.0

speed auto

duplex auto

int fa0/1

Des ## tata wan ###

ip add 10.70.45.23 255.255.255.252

enc ppp

router eigrp 10

no auto-summary

network 10.10.20.0

network 10.70.45.0

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

Cisco Static Route

Hello Dinesh,

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.

Thanks

Vivek

New Member

Cisco Static Route

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??

Bronze

Cisco Static Route

You can configure on the servers more than one gateway. Have router 2 ip configured on the servers as well.

Hope this helps

Eugen

Cisco Static Route

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.

Thanks

Vivek

675
Views
26
Helpful
14
Replies
CreatePlease login to create content