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

POLICY BASE ROUTING

HI,

  HOW CAN I CONFIGURE POLICY BASE ROUTING ON MY ROUTER . ROUTER HAS CONNECTED WITH TWO ISP LINK & TRACKING IS CONFIGURE FOR BOTH LINK.. THERE ARE 4 VLAN & INTERFACE VLAN CONFIGURE ON MY L3 SWITCH & IT IS CONNECTED TO MY ROUTER.

I WANT LOAD SHEARE WITH MY TWO ISP FOR EXAMPLE 10 & 20 VLAN SHOULD BE GO THROUGH ISP1. 30 & 40 VLAN SHOULD BE GO THROUGH ISP 2. BUT IF ANY LINK FAIL EVERY VLAN SHOULD BE GO THROUGH BACK-UP LINK....

PLEASE HELP

1 REPLY
Hall of Fame Super Silver

POLICY BASE ROUTING

What you suggest sounds fairly typical for configuration of Policy Based Routing. You would start by configuring access lists that identify the traffic. So probably you want one access list that matches the source address for traffic coming from VLAN 10 and 20 and another access list that matches the source address for tarffic coming from VLAN 30 and 40.

Then you would configure a route map. In the first instance of the route map you would match the first access list and would set the ip next hop to use ISP 1. In the next instance of the route map you would match the secnod access list and would set the ip next hop to use ISP 2.

Then you would assign the route map to interfaces. PBR route maps are assigned on interfaces where traffic arrives. So if you have 4 VLANs connecting via router interfaces then you would need the route map assigned on the 4 interfaces.

Failover with PBR can get a bit complex. Sometimes PBR will automatically fail over (if it knows that the next hop is not reachable). But sometimes (especially on Ethernet interfaces) the next hop may not work but the router does not know this. So if you want failover you probably will want to include the verify availability on the set next  hop command. This will use tracking to verify if the next hop is working or not.

HTH

Rick

285
Views
0
Helpful
1
Replies