l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2009 Sep 10 09:57

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] two networks, one app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] two networks, one app

Peter Jay Salzman wrote:
> Hi all,
> Is it possible to transparently get network connectivity from two network
> interfaces, say eth1 and wlan1, at the same time?  I guess which one is used
> depends on which one is busy at any given moment.

Fast, easy, and always works no.  Did you have a particular use in mind?

> Suppose I had two working interfaces -- how would such a thing be
> accomplished?
> If it can't, is there any way to leverage two network connections to make my
> apparent connection to the internet faster?

Bittorrent would be easy, run one copy per uplink, then use various lan
disovery or manual peer injection to tell them about each other.

Now without setting up a routing infrastructure which requires cooperation at
someone on the internet side of your conenction for routing or bonding your
only other choice is to use something of a kludge.  The main problem being
that a TCPIP connection has a session, and that session is expected to come
from the same IP.  So if you say ssh somewhere for the duration of that
connection you are going to have to that uplink for the ssh connection.

So basically a router could round robin or based on load send new TCP
connections to the less utilized link. That doesn't prevent 2 TCP sessions
from heavily competing with each other while the other link is idle.

One particular usage that is friendly to this kind of thing is HTTP.
Typically TCP connections your browser opens are very short.  So an hour
surfing the internet uses many many connections not one.  Use wireshark to be
sure though.  Unfortunately many session ID widgets will put your IP in a
cookie (or it's hash), which will cause problems for more than one IP.

I believe I've seen HTTP proxies for just such a thing, providing privacy,
agent hiding, multiple uplinks, even the option to put certain kinds of
traffic through another transport like tor.  Alas I don't recall the name.

So in short, nothing easy, except maybe for torrents.
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.