[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

SUMMARY: Gateway with two interfaces



Hello,

Two of the responses I got for this question pointed to the Linux 
Advanced Routing & Traffic Control HOWTO (http://lartc.org/howto/ and 
http://lartc.org/howto/lartc.rpdb.multiple-links.html), which looks like 
will be the solution we will actually use. Thanks to Frank Smith and 
Steve Mickeler for that.

Don Knott, John Madden and Tom Yates suggested combining iptables 
mangling and policy based routing, which is very similar to the 
explained in the HOWTO above.

Sorry about the delay in this Summary. Since I asked this question, I 
had some other projects going and could not implement any of the 
suggested solutions, but I'd like to thank every response!

Regards,
Flavio C. Prado

fprado@xxxxxxxxxxxxx
Av. Luis Carlos Berrini, 1140, 9 andar
Sco Paulo - SP
+55 (11) 5506-4540 R. 133
+55 (11) 9600-0863


Flavio Prado wrote:
>    Hello,
>    I have the following problem: in my office, the box which acts as a
>    network gateway (striped down Red Hat release 9, using iptables) used
>    to have only one ASDL line, but, because of performance and downtime
>    issues with our ISP, we decided to install a second ASDL from a
>    different ISP to act as a backup/load balance link.
>    We are aware we can divide the traffic based on the destination IP,
>    but what we really would like is to divide by port (for instance port
>    22 on one connection and 80 on the other). We tried configuring
>    iptables for that, but the gateway would only use the second link when
>    manually inserting routes to specific IPs in the routing table. Is
>    there any other way to do this?
>    I'm available for clarifications where needed.
>    I will summarize.
> --
> Regards,
> Flavio C. Prado
> 
> fprado@xxxxxxxxxxxxx
> Av. Luis Carlos Berrini, 1140, 9 andar
> Sco Paulo - SP
> +55 (11) 5506-4540 R. 133
> +55 (11) 9123-2788
> _______________________________________________
> LinuxManagers mailing list - http://www.linuxmanagers.org
> submissions: LinuxManagers@xxxxxxxxxxxxxxxxx
> subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers@xxxxxxxxxxxxxxxxx
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers

[Home]     [Kernel List]     [Linux SCSI]     [Video 4 Linux]     [Linux Admin]     [Yosemite News]     [Motherboards]

Powered by Linux