01-11-2017 03:38 AM - edited 03-05-2019 07:49 AM
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.
Solved! Go to Solution.
01-11-2017 04:32 AM
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
01-11-2017 04:32 AM
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
01-21-2017 01:26 PM
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.
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