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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Two static route

Hi,

I have two link to remote site using IPVPN(MPLS) with static route.My problem is that once i shutdown the other interface trafic would not go to other active interface.

ip route 172.12.0.0 255.255.0.0 Serial0/3/0.1 10.1.1.1

ip route 172.12.0.0 255.255.0.0 Serial0/3/1.1 20.2.2.2

Thanks,

10 REPLIES
Purple

Re: Two static route

Hi,

When you shut down one interface, the route through it should be removed from the routing table. Do you see that ?

Could you post the output of your routing table before and after you shut the interface down ?

Paresh

New Member

Re: Two static route

Hi Paresh,

I think since both command have equal AD then bydefault there should be loadbalancing anytime..

regards,

Gaurav

New Member

Re: Two static route

Hi,

could you give some more information? Do you want to use both lines simultaneously?

If you want to use Serial0/3/0.1 for payload and Serial0/3/1.1 for backup you should change the config like the following:

ip route 172.12.0.0 255.255.0.0 Serial0/3/0.1 10.1.1.1

ip route 172.12.0.0 255.255.0.0 Serial0/3/1.1 20.2.2.2 250

New Member

Re: Two static route

Hi

As you have the same metric for both the route there will be a loadbalancing bydefault.

However you can configure a float static route as a backup.

eg:

ip route 172.12.0.0 255.255.0.0 Serial0/3/0.1 10.1.1.1

ip route 172.12.0.0 255.255.0.0 Serial0/3/1.1 20.2.2.2 10

Default metric of static route is 1 so that you can assign a metric to another route anything more than 1.

When your route(metric 1) goes down the route with higher metric will come up

Do rate if it works.

New Member

Re: Two static route

Did you wait long enough for the route to be withdrawn? The default is 60 seconds. You can adjust that lower if you want faster convergence. You need IOS 12.0(29)S or higher. Command is ip route static adjust-time seconds and is a global command.

New Member

Re: Two static route

Hi

As you have the same metric for both the route there will be a loadbalancing bydefault.

However you can configure on both serial interface command keepalive.

when your any interface down/shut traffic moves via other interface.

New Member

Re: Two static route

Hello,

I can see that the route is removed from the route table when the interface is shutdown.Loadbalancing is working fine.Is there a difference between this two static route commands?

ip route 1.1.1.1 255.255.0.0 3.3.3.3

and ip route 1.1.1.1 255.255.0.0 serial0 3.3.3.3

When in load balance with static route,does trafic will failover to other active interface when it's shutdown?

Thanks,

Purple

Re: Two static route

Hi,

Cisco routers will try to recursively resolve next-hops in static routes.

The difference in your two examples is that with the first static route, it will be installed in the routing table as long as the router has a route to 3.3.3.3. With the second static route, the route to 3.3.3.3 has to be learned through Serial0 for this static route to be active. If you have a route to 3.3.3.3 but it's not through Serial0, the static route will not be installed.

Pls do rate posts that help.

Paresh

New Member

Re: Two static route

Thanks paresh

New Member

Re: Two static route

ip route 1.1.1.1 255.255.0.0 serial0 3.3.3.3

As per my knowledge this command will not work

you specify serial int. or ip address of that int. its one at the same.

load balance with static route,trafic will failover to other active interface when it's shutdown.

For that you need to configure Keepalive on your outgoing int.

Remember do rate this post

Yogesh

146
Views
10
Helpful
10
Replies