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

Can we achive load balancing with route maps.

How can I load balance with route maps. I'm setting the next hop address based on source and destination address. The problem is I have two next hops and I want to achive load balancing.

1 REPLY
Anonymous
N/A

Re: Can we achive load balancing with route maps.

TO do this then you'll have to split

your traffic with an access-list first and then

use two route maps to set different next hop with the other hop still as an alternative

for redundancy.

e.g. say i have a network 172.21.59.0/24 and i want to load balance this traffic across two links.

10.1.1.0/30 and 10.2.2.0/30.

I can creat two access-list one to catch even number and the other to catch the odd numbers.

access-list 101 permit ip 172.21.59.1 0.0.0.254 any

access-list 102 permit ip 172.21.59.0 0.0.0.254

!

route-map loadBalance permit 10

match ip address 101

set ip next-hop 10.1.1.2 10.2.2.2

!

route-map loadBalance permit 20

match ip address 102

set ip next-hop 10.2.2.2 10.1.1.2

This should now send host ip address which

are even through one interface and odd through the other but

when one link goes down, all traffic is directed to the now active

link.

79
Views
0
Helpful
1
Replies