View previous topic :: View next topic |
Author |
Message |
Um_Help n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Sep 2003 Posts: 74
|
Posted: Wed Mar 01, 2006 11:26 pm Post subject: Multiple Internet Connections. |
|
|
I have two different internet connections coming into my computer and I want to use one for just purely downlading and I want to use the other one for just purely web-browsing.
Is there a way I can make firefox only use Eth0 and let everything else use Eth1??? Or separate my internet traffic some how?
What would something like that be called?
As of right now I am getting some very strange behavior.
I stop both eth0 and eth1 then I start eth0 and start azureus and start downloading on eth0, and it goes fine until I start eth1 and then my downloads just stop. I restart azureus and it starts using eth1 perfectly fine.
It is kinda strange, there has to be something that is stopping it from using eth0. It is getting confused on something. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MEW Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/297569228448c2f7a7290e.jpg)
Joined: 15 Dec 2005 Posts: 131
|
Posted: Thu Mar 02, 2006 2:08 am Post subject: |
|
|
You can do something with iptables for that. I think it would be something like this, but I haven't tested it (I have only one connection, for one thing). Note: This will not work under SMP (--cmd-owner doesn't work there).
Code: | iptables --table mangle -m owner --cmd-owner=firefox-bin -j ROUTE --oif eth0 | (I don't know if that will work for you - I don't have the ROUTE module on my box, but the iptables man page mentions it)
Why not just use both connections at the same time either with bonding (not sure if that would work) (http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=3#doc_chap6) or something with linux advanced routing? _________________ Moo. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Um_Help n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Sep 2003 Posts: 74
|
Posted: Thu Mar 02, 2006 2:39 pm Post subject: |
|
|
i have tried bonding before but you need routers that support it on the ISP end. I am not really a network junkie so i dont really know all that much that you can do with iptables and linux advanced routing. I will look into it, you gave me a pretty good base to start looking.
Thanks ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|