View previous topic :: View next topic |
Author |
Message |
chrism Guru
Joined: 15 Jul 2004 Posts: 526
|
Posted: Mon Mar 07, 2005 2:52 pm Post subject: Having two networkcards working as if they were one. |
|
|
Hi,
I was wondering if it is possible to use two networkcards to work together.
Explanation:
THe City has a wireless network wich you can join for free. The Problem is that the capacity of each participating card is limited to 90kb/s. My Idea was to build two or three networkcards into on computer and have them work together to cumulate the avaliable bandwith.
Is that possible?
Thanks,
Chris |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Mon Mar 07, 2005 2:54 pm Post subject: |
|
|
I'm sure it is, but you'll have to figure out how for yourself.
You are, after all, proposing to defraud a public service. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
chrism Guru
Joined: 15 Jul 2004 Posts: 526
|
Posted: Mon Mar 07, 2005 3:02 pm Post subject: |
|
|
adaptr wrote: |
You are, after all, proposing to defraud a public service. |
Not exacly, since there is no rule which says one Computer per household or something simular. Were would be the difference, if I had two computers downloading at the same time or having one computer downloading at double speed?
But if you mind you could help me theoretically, give me some hints... I really don't want to abuse a public service.
Thanks,
Chris |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Mon Mar 07, 2005 3:12 pm Post subject: |
|
|
What you want is commonly referred to as line bonding, load sharing, or (sometimes) load-balancing.
There are different setups possible to achieve some of this; if you Google or search tldp for those terms you're bound to turn op something. _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
chrism Guru
Joined: 15 Jul 2004 Posts: 526
|
Posted: Mon Mar 07, 2005 3:42 pm Post subject: |
|
|
Thanks a lot.
That's all I wanted to know.
Chris |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Mon Mar 07, 2005 5:44 pm Post subject: |
|
|
I believe the best you're going to be able to do is round robin your TCP streams over the connections. For example you can check mail over connection #1, download a file over connection #2, and stream music on connection #3. You will not be able to bond all connections to create a single 270k/s download... unless you're using some download manager that creates multiple connections.
IIRC you're coing to need to recompile the kernel with a few extra options. Google for Advaned Linux routing and you should get to the right how-to.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
killfire l33t
Joined: 04 Oct 2003 Posts: 618
|
Posted: Thu Mar 24, 2005 2:28 am Post subject: Re: Having two networkcards working as if they were one. |
|
|
yellowhippy wrote: | Hi,
I was wondering if it is possible to use two networkcards to work together.
Explanation:
THe City has a wireless network wich you can join for free. The Problem is that the capacity of each participating card is limited to 90kb/s. My Idea was to build two or three networkcards into on computer and have them work together to cumulate the avaliable bandwith.
Is that possible?
Thanks,
Chris |
couldnt you do this with a lot of firewall hacking?
like make a virtual interface, and use pf, iptables, w/e to route everything that is sent from you to the interfce (as in its going out the interface) to an alternate of the other two (which it could figure out through a combination of logging what has gone out of what interface, and send it out the one with the lesser overall bandwidth)... the other way owuld be simple to, forward everythingcoming into the two interfces onto the one virtual one.....
like this (these arent actual rules, kind of pseudo-codeish):
(foo0 is virtual interface, wi0 and wi1 re the two wireless ones)
forward any going out foo0 to (load_wi0 > load_wi1 ? wi1 : wi0)
forward any coming in wi0 to foo0
forward any coming in wi1 to foo0
granted, the load deciding would be difficult (i dont know iptables that well)
now im not saying that _I_ could do this, but it doesnt seem impossible... just a really complicated firewall....
killfire _________________ my website, built in HAppS: http://dbpatterson.com
an art (oil painting) website I built a pure python backend for: http://www.lydiajohnston.com |
|
Back to top |
|
|
|