Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2 NIC's on separate networks
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
Runefox
n00b
n00b


Joined: 20 Feb 2006
Posts: 3
Location: NL, Canada

PostPosted: Tue Feb 21, 2006 6:15 pm    Post subject: 2 NIC's on separate networks Reply with quote

I've got two NIC's connected to two different networks - One NIC, eth0, is connected to a dedicated DSL line. The other NIC, eth1, is connected to a router with two other computers on a cable connection. This NIC is used primarily as either a failsafe, or for talking to the other computers, which is something that happens often (since one is a server).

Gentoo seems to be using eth1 exclusively. All HTTP requests and other network connections are going through eth1, which is not only slow, but also slows down the other computers as well. I need eth0 to be the default NIC to use for outgoing connections and have eth1 come into play only for LAN/fallback purposes. How do I go about setting this up?
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Tue Feb 21, 2006 6:52 pm    Post subject: Reply with quote

Change your default route to go over eth0 rather than eth1. Also check you don't have two "default" routes, as behavior can be weird in that case.
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