Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Having two networkcards working as if they were one.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Mon Mar 07, 2005 2:52 pm    Post subject: Having two networkcards working as if they were one. Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Mar 07, 2005 2:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Mon Mar 07, 2005 3:02 pm    Post subject: Reply with quote

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...:wink: I really don't want to abuse a public service.

Thanks,

Chris
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Mar 07, 2005 3:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
chrism
Guru
Guru


Joined: 15 Jul 2004
Posts: 526

PostPosted: Mon Mar 07, 2005 3:42 pm    Post subject: Reply with quote

Thanks a lot.
That's all I wanted to know.

Chris
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Mon Mar 07, 2005 5:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
killfire
l33t
l33t


Joined: 04 Oct 2003
Posts: 618

PostPosted: Thu Mar 24, 2005 2:28 am    Post subject: Re: Having two networkcards working as if they were one. Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum