2 4Mbit DSL Lines: Can I connect them together?

Stanley Pain

2[H]4U
Joined
Apr 5, 2001
Messages
2,510
Alright here's the setup.

I have two 4mbit DSL lines in the house (on 2 different physical lines).

1 DSL line is hooked up to a router that my current computer is on.

the 2nd DSL line will be coming in shortly, which I will have direct access to the modem (the one upstairs I don't have direct access to).

What I am wondering is if there is a way to multiplex the two lines together? or have 2 IPs on 1 computer?

I remember something about possibly being able to load balance accross two NICs. I have a vauge idea how to do this under Windows server (Having 2+ nics in the computer and setting up load balancing across the 2 IPs or something), but I'd like to know how/if it is possible under Linux as well.

to re-cap:

DSL line 1 has a 192.xxx.xxx.xxx IP (through a router) going into a Linux box that is acting as a router/gateway/nat/server (10.1.1.xxx internal IP).

DSL line 2 will be running to the Linux box and will have direct access to the "outside world".

I'd like to "combine" both these lines in some way to maximize both connections, or multiplex them into an 8mbit line.

Cheers,

Mr. Pain
 
yeah you can load balance, but remember, this simply increases throughput, it does NOT double your bandwidth. other than that, yeah load balancing two dsl lines should be fun.
 
Originally posted by draconius
yeah you can load balance, but remember, this simply increases throughput, it does NOT double your bandwidth. other than that, yeah load balancing two dsl lines should be fun.

Yeah I'm aware of that, but I should be able to pull multple downloads at faster speeds with less load on a single NIC :).

The question still stands, is there a way to multiplex them together?

and/or how would I load balance under Linux? (trying to learn that as well as Win2k3 Server :)
 
whatchu mean by multiplex?

as for load balancing, I have never done it in linux, but you can use IPFW + DUMMYNET to do it on FreeBSD for sure, probably the otherbsd/*nix OS's all have something similar
 
Originally posted by draconius
whatchu mean by multiplex?

as for load balancing, I have never done it in linux, but you can use IPFW + DUMMYNET to do it on FreeBSD for sure, probably the otherbsd/*nix OS's all have something similar

Will have to check out freeBSD then :).

Know of any "HowTos", or any info for that matter?

Cheers,

Mr. Pain
 
Originally posted by aderuwe
What I think you're looking for is "link aggregation" and not "load balancing".

Try looking at this:

http://linux-ip.net/html/ether-bonding.html

Won't work with two DSL lines. you are on two different physical addresses, and it is impossible to send traffic out the one line and have it come back over the other. Notice that guide talks of two connections to a switch.
If your ISP supported it, they could bond the channels together maybe, but it would be easier to just have em double your bwidth.


ANYWAYS


I will look for some tutorials for you, or I might get my arse in gear and write one up for my site. But yeah, any *nix OS is capable of load balancing *somehow* be it your packet filtering software, or an addon kernel module or package you install.
<edit> Didn't read thru all of this, but this might help understanding DUMMYNET on freebsd
http://info.iet.unipi.it/~luigi/ip_dummynet/

and also, read http://obfuscation.org/ipf/ipf-howto.html and look at using IPNAT/IPF for load balancing.

I hae to go to class now, I shall look more later</edit>
 
Thanks for all the links, much appreciate it.

Will definatley play around/read through some of this. We'll see which way nets me the nicest "settings" if you will.


Cheers,

Mr. Pain
 
customs: "oooooo shiny new product....will be ~$320498.84 for processing fees, and we will need to wait at least 3 months before it leaves our facility and travels by way of japan to your home on the back of a penguin"


i have bad experience w/ customs coming from canda -> us
lol
 
Originally posted by draconius
customs: "oooooo shiny new product....will be ~$320498.84 for processing fees, and we will need to wait at least 3 months before it leaves our facility and travels by way of japan to your home on the back of a penguin"


i have bad experience w/ customs coming from canda -> us
lol

hehe, I haven't had too many problems having some things shipped US -> Canada. But sometimes things take 1-2 weeks MORE time to deliver. Damn facist government types. It's like wth? We share the largest unprotected border, just fucking send the shit over and stop looking through my packages for porn! :p

Cheers,

Mr. Pain
 
Back
Top