Load Balancing and failover on Dynamic IP?
Posted: Fri May 04, 2012 3:17 am
Hi guys. I'm trying to do load balancing and failover over two ADSL lines. The problem is that both lines are from the same ISP, and both are PPPoE. So the IP is always dynamic (can't request static IP), and the biggest problem is that both connections always give me the same gateway. This seems to be the biggest problem.
Traffic comes from two separate offices and the idea is that one office (10.1.1.0/24) comes out through ADSL 1, and office 2 (10.2.1.0/24) comes out through ADSL 2. If either ADSL connection fails, route the traffic through the remaining ISP.
Most examples I've seen either use the ADSL modems in Route mode (and NAT twice, which I don't want) or use two separate ISPs, which gives you two different gateways.
I tried adding a static route and using the "Pref Source" address option, but that doesn't work. All traffic just goes through one of the modems and the other is idle.
How can I make traffic go through one connection or the other based on the source (LAN) address, if the gateway address is the same?
Traffic comes from two separate offices and the idea is that one office (10.1.1.0/24) comes out through ADSL 1, and office 2 (10.2.1.0/24) comes out through ADSL 2. If either ADSL connection fails, route the traffic through the remaining ISP.
Most examples I've seen either use the ADSL modems in Route mode (and NAT twice, which I don't want) or use two separate ISPs, which gives you two different gateways.
I tried adding a static route and using the "Pref Source" address option, but that doesn't work. All traffic just goes through one of the modems and the other is idle.
How can I make traffic go through one connection or the other based on the source (LAN) address, if the gateway address is the same?