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

PBR for 4 different ISPs

hello gurus,

I have a single router with 4 WAN connections. I want to load share and use all the 4 WAN links. Can I configure secondary IP addresses on the router and configure PBR for these 4 next hops?

int e0/0

ip address 1

ip address 2 sec

ip address 3 sec

ip address 4 sec

ip policy route-map

route-map permit 1

match 1

set next-hop 1

route-map permit 2

match 2

set next-hop 2

route-map permit 3

match 3

set next-hop 3

route-map permit 4

match 4

set next-hop 4

route-map permit 5

-Sai.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Bronze

Re: PBR for 4 different ISPs

Cisco Document on PBR states that : 'The next hop router specified in the set clauses must be adjacent to the policy router, sharing a sub-network with the policy router'. It doesn't mention anything specific about using secondary addresses.

So I assume that as long as you meet this criteria you can set next hope as secondary address.

http://www.cisco.com/en/US/products/ps6599/products_white_paper09186a00800a4409.shtml#wp14045

P.S: I wonder to see your setup where four ISPs are connected to same interface using secondary IPs.

Hall of Fame Super Silver

Re: PBR for 4 different ISPs

Sai

Having 4 WAN connections all of which seem to go out a single 10 Mb Ethernet interface seems a bit odd. And there are some syntax issues in what you have posted. But conceptually I do not see a problem with having a route map with 4 instances and each instance directing specifically identified traffic to a different outbound connection. Obviously how well it would work would depend on how well the various access lists identify the traffic for each of the outbound WAN connections.

HTH

Rick

3 REPLIES
Bronze

Re: PBR for 4 different ISPs

Cisco Document on PBR states that : 'The next hop router specified in the set clauses must be adjacent to the policy router, sharing a sub-network with the policy router'. It doesn't mention anything specific about using secondary addresses.

So I assume that as long as you meet this criteria you can set next hope as secondary address.

http://www.cisco.com/en/US/products/ps6599/products_white_paper09186a00800a4409.shtml#wp14045

P.S: I wonder to see your setup where four ISPs are connected to same interface using secondary IPs.

Hall of Fame Super Silver

Re: PBR for 4 different ISPs

Sai

Having 4 WAN connections all of which seem to go out a single 10 Mb Ethernet interface seems a bit odd. And there are some syntax issues in what you have posted. But conceptually I do not see a problem with having a route map with 4 instances and each instance directing specifically identified traffic to a different outbound connection. Obviously how well it would work would depend on how well the various access lists identify the traffic for each of the outbound WAN connections.

HTH

Rick

New Member

Re: PBR for 4 different ISPs

Hi Rick,

Please excuse my syntax, its been long since i configured anything on Cisco... this is actually a conceptual scenario which my Director posted and I confidently put forward the PBR idea. wanted to re-confirm from Gurus like you :)

299
Views
0
Helpful
3
Replies