<a href="http://linux-ip.net/html/adv-multi-internet.html">http://linux-ip.net/html/adv-multi-internet.html</a><br><a href="http://www.linux.com/archive/articles/46735">http://www.linux.com/archive/articles/46735</a><br><a href="http://www.neotitans.com/resources/networking/switching-between-two-ISP-gateways-via-ARP.html">http://www.neotitans.com/resources/networking/switching-between-two-ISP-gateways-via-ARP.html</a><br>
<a href="http://www.netlife.co.za/content/view/12/34/">http://www.netlife.co.za/content/view/12/34/</a><br>
<a href="http://www.linux.com/archive/feature/113988">http://www.linux.com/archive/feature/113988</a><br>
<a href="http://www.michaelbrumm.com/how-to-aggregate-bandwidth.html">http://www.michaelbrumm.com/how-to-aggregate-bandwidth.html</a><br>
<a href="http://minez-inspirate.blogspot.com/2009/07/create-load-balancing-router-using.html">http://minez-inspirate.blogspot.com/2009/07/create-load-balancing-router-using.html</a><br>
<a href="http://www.linuxquestions.org/linux/answers/Networking/Spanning_Multiple_DSLs">http://www.linuxquestions.org/linux/answers/Networking/Spanning_Multiple_DSLs</a><br>
<a href="http://chris.olstrom.com/blog/howto/setup-dual-wan/">http://chris.olstrom.com/blog/howto/setup-dual-wan/</a><br><br><div class="gmail_quote">On Wed, Sep 29, 2010 at 10:39 AM, Michael Trausch <span dir="ltr"><<a href="mailto:mike@trausch.us">mike@trausch.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Tue, Sep 28, 2010 at 6:27 PM, Richard Bronosky <<a href="mailto:Richard@bronosky.com">Richard@bronosky.com</a>> wrote:<br>
> What you describe is a failover, not a load balancer. If you have 2<br>
> good connections it would be a shame not to use them.<br>
<br>
</div>Well, yes. The subject did include “failover”. :-)<br>
<br>
While I am quite sure that it would be possible to load-balance with<br>
NAT connections, I don't think it would be terribly useful. I often<br>
see a place that will have a high-speed primary link, and a very low<br>
speed backup link. Failover is far more appropriate.<br>
<br>
Now, if some place has two identical links that come in different<br>
ways, way, a T1 from place A and a T1 from place B, and there were a<br>
way to bond the two together such that they would work as a single<br>
virtual pipe and subsequently suffer the failure of one of them, then<br>
I think that load-balancing would be quite appropriate. But I have<br>
yet to encounter such a situation, personally.<br>
<br>
-- Mike<br>
<div><div></div><div class="h5"><br>
> On 9/28/10, Michael Trausch <<a href="mailto:mike@trausch.us">mike@trausch.us</a>> wrote:<br>
>> You should be able to do this with any distribution. You need only to have:<br>
>> * Setup eth0 with the first connection<br>
>> * Setup eth1 with the second connection<br>
>> * Setup eth2 as the LAN's RFC1918 space and have it answer DHCP and<br>
>> do all the "normal" things.<br>
>><br>
>> Now, write your iptables rules for Internet-through-eth0 and create a<br>
>> modified copy of that for Internet-through-eth1.<br>
>><br>
>> Now, keep a file, say, /var/run/active-connection, that has the name<br>
>> of the currently active connection in it (either eth0 or eth1).<br>
>><br>
>> Have a cron job that, once per minute, pings the gateway address for<br>
>> whatever interface is listed in /var/run/active-connection. If it is<br>
>> down, then reconfigure the routing table and IP masquerading for the<br>
>> second connection, mark the change in /var/run/active-connection, and<br>
>> go from there.<br>
>><br>
>> I'd leverage /etc/network/interfaces on Debian and derivatives. All<br>
>> you need to do is hook into that so that "ifdown eth0" and "ifup eth1"<br>
>> are all you need, and you should probably have it setup so that you<br>
>> cannot "ifup" on both interfaces at the same time, unless you have a<br>
>> static IP address from both ISPs.<br>
>><br>
>> I haven't gotten around to it yet, but what I would like to do is<br>
>> create a little embedded doohickey that will do just this, with three<br>
>> Ethernet ports (two in, one out) and a USB port for configuration<br>
>> (serial ports don't exist on modern systems anymore, so might as well<br>
>> just use a USB port and make it act like a serial port...). And the<br>
>> default configuration of the device would just be for a standard<br>
>> network with two standard DHCP-providing ISPs, such that a "completely<br>
>> standard" setup would Just Work. Me being me, I'll probably (when I<br>
>> get to it) even have the thing create an IPv6 tunnel and advertise<br>
>> IPv6 connectivity, because I just can't see the point of not doing so.<br>
>> :-)<br>
>><br>
>> --- Mike<br>
>><br>
>> On Tue, Sep 28, 2010 at 12:08 PM, david w. millians <<a href="mailto:millia@panix.com">millia@panix.com</a>><br>
>> wrote:<br>
>>><br>
>>> I've got a district that is getting a second internet connection for<br>
>>> redundancy purposes. They would therefore love to have a load balancing<br>
>>> and failover appliance. Obviously, there are some vendors that have<br>
>>> products to sell them, and also obviously, they cost money that they<br>
>>> don't have.<br>
>>><br>
>>> A fair number of districts have used "untangle" before, but it appears<br>
>>> that they charge for the lb/f capability; it's not included in the free<br>
>>> download. It may be cheaper for them since they don't need firewall,<br>
>>> filtering, etc., but free is preferred, since even the box to do this is<br>
>>> a factor...<br>
>>><br>
>>> So, do you know of/have you used any linux distros that do this well and<br>
>>> easily? I'm going to go to distrowatch now, but I just want to know of<br>
>>> good experiences.<br>
>>><br>
>>> Thanks,<br>
>>> David<br>
>>> _______________________________________________<br>
>>> Ale mailing list<br>
>>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
>>> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
>>> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
>>> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
>>><br>
>> _______________________________________________<br>
>> Ale mailing list<br>
>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
>> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
>> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
>> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
>><br>
><br>
> --<br>
> Sent from my mobile device<br>
><br>
> .!# RichardBronosky #!.<br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>I would rather stumble along in freedom than walk effortlessly in chains.<br><br><br>