cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
694
Views
10
Helpful
10
Replies

Two static route

rrmpejero
Level 1
Level 1

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 10

pkhatri
Level 11
Level 11

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

gauravprakash
Level 1
Level 1

Hi Paresh,

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

regards,

Gaurav

s.greiner
Level 1
Level 1

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

imranmohd
Level 1
Level 1

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.

rtaulton
Level 1
Level 1

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.

csco10837896
Level 1
Level 1

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.

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,

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

Thanks paresh

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

Review Cisco Networking products for a $25 gift card