Skip to contentSkip to conversation

2 DSL connection

DISCUSSION varun 3 participants 3 messages Feb 5, 2006 – Feb 6, 2006

lore
Share & tools
lore

varun

author
#0 lore raw

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

#1 lore raw

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

Quoted 23 lines · varun

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

#2 lore raw
In reply to varun

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

Quoted 23 lines · varun

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