Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
two network cards
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
jeanluca
Apprentice
Apprentice


Joined: 08 Jan 2005
Posts: 179

PostPosted: Sat May 21, 2005 7:28 pm    Post subject: two network cards Reply with quote

Hi All

I've two network cards, one for a local network only and one for the outside world (behind a firewall/router). But I think I haven't configured this right, because when they are both up and running, both networks are very unstable

So
eth0 should handle the outgoing traffic, its configured like

iface_eth0="10.0.0.13 broadcast 10.0.0.255 netmask 255.255.255.0"

The otherone is configure like
iface_ath0="192.168.1.100 broadcast 192.168.1.255 netmask 255.255.255.0"

So, how do I make clear to my computer that she should use eth0 for outgoing requests ??

Cheers
Luca
Back to top
View user's profile Send private message
flavio
Apprentice
Apprentice


Joined: 12 Mar 2004
Posts: 161

PostPosted: Sat May 21, 2005 7:41 pm    Post subject: Reply with quote

You should configure a single default gateway in the 10.0.0.x range and linux will automatically select eth0 for anything outside the local range of 192.168.1.x.

Regards,

Flavio
_________________
Flavio Villanustre
flavio AT geminis dot dyndns dot org
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