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

Load Balance Configuration

Hi,

I am having CISCO 1941 router which has two ISP, and i configured auto failover of ISP. Now want to configure load balancing. Could you help me out to configure the same.  

  • WAN Routing and Switching
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Purple

theres a couple of options

theres a couple of options maybe more

heres some anyway for options

pfr you can load balance that way
http://docwiki.cisco.com/wiki/PfR:Solutions:BasicLoadBalancing

Or
quick easy way load balance though the default routes

 make the defaults equal , kind of dirty LB , then set the interfaces per packet sharing , be careful with thi i t can effect real time critical traffic

http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5212-46.html#perper

ip route 0.0.0.0 0.0.0.0 122.15.167.226
ip route 0.0.0.0 0.0.0.0 182.74.119.181

int gx/x
des WAN1
ip load-sharing per-packet

int gx/x
des WA2
ip load-sharing per-packet


Or

LB with NAT you need pbr though so advanced ios required usually

http://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/100658-ios-nat-load-balancing-2isp.html

Or if you went BGP theres multiple ways to LB with that protocol as its so flexible

http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13762-40.html

2 REPLIES
VIP Purple

theres a couple of options

theres a couple of options maybe more

heres some anyway for options

pfr you can load balance that way
http://docwiki.cisco.com/wiki/PfR:Solutions:BasicLoadBalancing

Or
quick easy way load balance though the default routes

 make the defaults equal , kind of dirty LB , then set the interfaces per packet sharing , be careful with thi i t can effect real time critical traffic

http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5212-46.html#perper

ip route 0.0.0.0 0.0.0.0 122.15.167.226
ip route 0.0.0.0 0.0.0.0 182.74.119.181

int gx/x
des WAN1
ip load-sharing per-packet

int gx/x
des WA2
ip load-sharing per-packet


Or

LB with NAT you need pbr though so advanced ios required usually

http://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/100658-ios-nat-load-balancing-2isp.html

Or if you went BGP theres multiple ways to LB with that protocol as its so flexible

http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13762-40.html

Hello.

Hello.

I agree, that the best option would be an article http://www.cisco.com/c/en/us/support/docs/ip/network-address-translation-nat/100658-ios-nat-load-balancing-2isp.html

At the same time it's missing EEM script to flush NAT translation table on failover (this might be needed in some scenario).

PS1: Per-packet load-balancing is just impossible approach here - I would not recommend to use it.

PS2: PFR is not an option, as PFRv2 support along with NAT is questionable.

PS3: BGP could be an option if you do routing based on public IP-addresses.

PS4: please change your passwords on the device, as you had published your public IP-addresses along with the passwords to access the device.

PS5: your IP SLA configuration does not work as you expect it, as traffic for both of them [normally] leaves G0/0 interface; to fix the behaviour, the best would be to use local PBR. Please let me know if you want me to change the configuration appropriately (the passwords to access the box are available).

PS6: your router is missing important security configuration - please take a look at Cisco Guide to Harden Cisco IOS Devices.

80
Views
2
Helpful
2
Replies