Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple Internet Connections.
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
Um_Help
n00b
n00b


Joined: 17 Sep 2003
Posts: 74

PostPosted: Wed Mar 01, 2006 11:26 pm    Post subject: Multiple Internet Connections. Reply with quote

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
View user's profile Send private message
MEW
Tux's lil' helper
Tux's lil' helper


Joined: 15 Dec 2005
Posts: 131

PostPosted: Thu Mar 02, 2006 2:08 am    Post subject: Reply with quote

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


Joined: 17 Sep 2003
Posts: 74

PostPosted: Thu Mar 02, 2006 2:39 pm    Post subject: Reply with quote

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 :D
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