On Wed, 04 Jan 2012 14:15:12 -0600, Usuário do Sistema <maiconlp@xxxxxxxxx> wrote:
yes, I need redundancy. when an line adsl come down all traffic go to other line adsl. I couldn't have done this on linux machine. if you has any how to about please post here.
One simple way to do this is to use the gateway failover that is built-in to Linux. I haven't done this, since I wanted more in-depth link quality monitoring, but I understand that all you have to do is to set up a default route for each of your interfaces, and then reduce the gc_timeout value. From http://www.muug.mb.ca/pipermail/roundtable/2005-May/000872.html: "Enabling failover routing After you have configured your network, the next step is to enable failover routing on your Linux box, so that if the first route dies the router will automatically switch over to the next route. To do so, you'll need to add the default gateway routes provided to you by your ISPs for both your network cards: # route add default gw 61.16.130.97 dev eth0 # route add default gw 200.15.110.90 dev eth1 Finally, modify the /proc/sys/net/ipv4/route/gc_timeout file. This file contains a numerical value that denotes the time in seconds after which the kernel declares a route to be inactive and automatically switches to the other route if available. Change its default value of 300 to some smaller value, say 10 or 15. Save the changes and exit. # echo "10" > /proc/sys/net/ipv4/route/gc_timeout Now your Linux machine is ready to serve as a failover router, automatically and quickly switching to the secondary route every time the primary route fails." -- Lloyd -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html