08-31-2009 03:44 AM - edited 03-04-2019 05:53 AM
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.
Solved! Go to Solution.
08-31-2009 04:21 AM
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.
08-31-2009 04:26 AM
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
08-31-2009 04:21 AM
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.
08-31-2009 04:26 AM
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
08-31-2009 04:31 AM
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 :)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide