cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
653
Views
8
Helpful
3
Replies

PBR-Backup

anva12345
Level 1
Level 1

Hi All

Is it possible to creat a backup route using policy based routing.For example I need to route internet browsing thru ADSL link .once it fails these traffic should go thru Internet leased line.Thanks in advance

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

PBR probably isn't the solution here but you can use floating statics ie.

ip route 0.0.0.0 0.0.0.0

ip route 0.0.0.0 0.0.0.0 250

note the 250 at the end of the second statement. This means this route will only be used if the first route is not in the routing table. If the ADSL link fails then the original route should be removed and the route pointing to the Internet leased line should be used.

If the ADSL link comes back up then the route will be installed in the routing table again.

Jon

Hi Jon

Thanks for the quick response.My rquirement is all the outbound traffic shouild go thru ADSL link and all the inbound traffic and their return traffic should go thru leased line.Is it possible to configure without PBR.

Also I need to send the outbound traffic thru leased line when ADSL link fails?

Hi,

The issue with ADSL link is your L3 interface is a Dialer interface which state is not linked to the physical interface state (Dialer interface are always UP).

So a standard default static route is not enough, you need to add a tracking object which will ping your hub public address. If the ping fails, this route will be removed and your backup default route (the one with the administrative distance set to 250 as suggested by John) will be installed and used.

Check this link for object tracking configuration:

http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html

Now regarding the inbound traffic, there is nothing you can do on the ADSL router. You need to configure a preferred route for the leased line on the peer router.

HTH

Laurent.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card