<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">Wow, that is a winning reply!  Thanks, Trevor.<br> <br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">
Hartmut Sager<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 31 March 2013 02:47, Trevor Cordes <span dir="ltr">&lt;<a href="mailto:trevor@tecnopolis.ca" target="_blank">trevor@tecnopolis.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2013-03-29 Hartmut W Sager wrote:<br>
&gt; Now THIS should get a discussion going.  What&#39;s the latest on<br>
&gt; load-balancing / dual-WAN / multi-WAN routers?  I only see two kinds<br>
&gt; - some very old D-Link (DI-LB604) and Cisco (RV042, RV082, RV016)<br>
&gt; models, and quite a few current models from completely unheard of<br>
&gt; Oriental companies.<br>
<br>
I&#39;ve done multi-homed Linux routers.  To do weird stuff without buying<br>
major expensive gear (read: Cisco enterprise, Juniper, etc) your best<br>
bet is to just do it in Linux (or BSD if you prefer, though I have no<br>
experience there).<br>
<br>
You can select what traffic should go out what modem (by nearly any<br>
criteria since it is iptables based).  I usually select it based on<br>
port (put VNC, ssh over low-latency pipes) or intranet IP (give certain<br>
machines fast / slow internet).  Return packets come in the same modem<br>
as the outgoing.<br>
<br>
I haven&#39;t yet done automatic failover but it should be fairly easy to<br>
write a script to detect pipe failure and tweak iptables to direct all<br>
traffic out just one pipe.<br>
<br>
Your friends here are:<br>
<br>
ip rule ... table<br>
ip route ... table<br>
iptables<br>
echo 0 &gt; /proc/sys/net/ipv4/conf/eth0/rp_filter<br>
iptables -t mangle<br>
tc<br>
(and maybe more I&#39;m forgetting, this is from memory at the moment!)<br>
<br>
and you can do QoS fairly easily at the same time.<br>
_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
</blockquote></div><br></div></div>