[5.001] Can't add default gateway to 2nd Interface

I've got 2 internet connections, I can configure a default gateway for the first connection, but when I try and configure a default gateway for the second I get an error about only one default gateway being allowed (the machine is at work so I don't have the exact error message). It is possible to do this under ASL v3 - can it be enabled under v5 ?

I'd like to use v5 and use both connections sumultaneously (VPN and SMTP use one, HTTP and FTP use the other) rather than use the v5 ISP fail-over which seems to only allow one interface to be used at a time.

Thanks,

John
Parents
  • You can only have one default gw per routing table, as many have mentioned already.   However, in linux you can have more than one routing table and specify which packets are routed by which table using a variety of methods.   There is no supprt for this in the Astaro web UI but it is very possible to do at the command line.  You can send packets to the different routing tables based on basically the same criteria used in packet filter rules, i.e. source, destination , src or dst ports, etc.  
    Using this type of setup I have had great results with both a DSL and a cable modem connection at my home.  Since my cable has more incoming bandwidth but much less outgoing than the DSL, I use the DSL for protocols involving alot of outgoing traffic (bittorent, smtp, uploads etc) and the cable for protocols mostly coming in (web surfing, pop3).    
    http://www.lartc.org/  will show you how to do this.
Reply
  • You can only have one default gw per routing table, as many have mentioned already.   However, in linux you can have more than one routing table and specify which packets are routed by which table using a variety of methods.   There is no supprt for this in the Astaro web UI but it is very possible to do at the command line.  You can send packets to the different routing tables based on basically the same criteria used in packet filter rules, i.e. source, destination , src or dst ports, etc.  
    Using this type of setup I have had great results with both a DSL and a cable modem connection at my home.  Since my cable has more incoming bandwidth but much less outgoing than the DSL, I use the DSL for protocols involving alot of outgoing traffic (bittorent, smtp, uploads etc) and the cable for protocols mostly coming in (web surfing, pop3).    
    http://www.lartc.org/  will show you how to do this.
Children
No Data