* 2 DSL connection
@ 2006-02-05 14:25 varun
2006-02-05 17:32 ` John Mok
2006-02-06 8:06 ` Amitabh Kant
0 siblings, 2 replies; 4+ messages in thread
From: varun @ 2006-02-05 14:25 UTC (permalink / raw)
To: netfilter
Hello,
I want to use 2 DSL connections on one
system.
eth0 - DSL1 with static IP
eth1 - DSL2 with static IP
eth2 - LAN
I would like all traffic from eth2(LAN)
to be distributed equally between DSL1
and DSL2.
Is it possible to do that using iptables ?
Thanks in advance
Varun
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2 DSL connection
2006-02-05 14:25 2 DSL connection varun
@ 2006-02-05 17:32 ` John Mok
2006-02-06 8:06 ` Amitabh Kant
1 sibling, 0 replies; 4+ messages in thread
From: John Mok @ 2006-02-05 17:32 UTC (permalink / raw)
To: netfilter
The functions of iproute2 will suffice, that one route to the 2
interfaces of equal metrics. Of course, the 2 interfaces eth0 and eth1
have to be NAT'ed. For details, please reference the documentation at :-
http://www.lartc.org/
Regards, John Mok
varun wrote:
> Hello,
>
> I want to use 2 DSL connections on one
> system.
>
> eth0 - DSL1 with static IP
>
> eth1 - DSL2 with static IP
>
> eth2 - LAN
>
> I would like all traffic from eth2(LAN)
> to be distributed equally between DSL1
> and DSL2.
>
> Is it possible to do that using iptables ?
>
> Thanks in advance
>
> Varun
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2 DSL connection
2006-02-05 14:25 2 DSL connection varun
2006-02-05 17:32 ` John Mok
@ 2006-02-06 8:06 ` Amitabh Kant
1 sibling, 0 replies; 4+ messages in thread
From: Amitabh Kant @ 2006-02-06 8:06 UTC (permalink / raw)
To: varun; +Cc: netfilter
Hi
You can also take a look at the "nth" and/or "random" extensions for
netfilter. Either of these two alongwith the route command should
give you the desired result.
Amitabh
On 2/5/06, varun <varun_saa@rediffmail.com> wrote:
> Hello,
>
> I want to use 2 DSL connections on one
> system.
>
> eth0 - DSL1 with static IP
>
> eth1 - DSL2 with static IP
>
> eth2 - LAN
>
> I would like all traffic from eth2(LAN)
> to be distributed equally between DSL1
> and DSL2.
>
> Is it possible to do that using iptables ?
>
> Thanks in advance
>
> Varun
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: 2 DSL connection
@ 2006-02-05 18:10 Gary W. Smith
0 siblings, 0 replies; 4+ messages in thread
From: Gary W. Smith @ 2006-02-05 18:10 UTC (permalink / raw)
To: varun, netfilter
It is possible, as already stated, you should look at lartc. It does
get a little tricky if you need to dnat/snat those static IP's
internally. We have done just that (two DSL's) for a couple clients.
In our case we don't equalize the outgoing routes but rather have then
going out a single route. The second DSL is used for incoming VPN and
remote desktop connections. This way if people are sending/reciving
large email or downloading/uploading a bunch of files, the people using
the VPN are unaffected by it.
> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org [mailto:netfilter-
> bounces@lists.netfilter.org] On Behalf Of varun
> Sent: Sunday, February 05, 2006 6:25 AM
> To: netfilter@lists.netfilter.org
> Subject: 2 DSL connection
>
> Hello,
>
> I want to use 2 DSL connections on one
> system.
>
> eth0 - DSL1 with static IP
>
> eth1 - DSL2 with static IP
>
> eth2 - LAN
>
> I would like all traffic from eth2(LAN)
> to be distributed equally between DSL1
> and DSL2.
>
> Is it possible to do that using iptables ?
>
> Thanks in advance
>
> Varun
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-06 8:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-05 14:25 2 DSL connection varun
2006-02-05 17:32 ` John Mok
2006-02-06 8:06 ` Amitabh Kant
-- strict thread matches above, loose matches on Subject: below --
2006-02-05 18:10 Gary W. Smith
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.