Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
multiple nics
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
thesheff17
Apprentice
Apprentice


Joined: 12 Jan 2005
Posts: 283

PostPosted: Sun Feb 12, 2006 6:08 am    Post subject: multiple nics Reply with quote

I'm trying to setup dual nics on my server but I seem to be doing something wrong. Below is my /etc/conf.d/net file. As you can see my public address pointing to the web is 70.88.74.105 and the local one is 10.1.10.5. As soon as I enamble eth1 eth0 won't ping out from another box. It may be something simple but I don't know what I'm doing wrong. Please help.

This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "70.88.74.105 netmask 255.255.255.0 broadcast 70.255.255.255")
config_eth1=( "10.1.10.5 netmask 255.255.255.0 broadcast 10.1.10.255")
# Here's how todo routing if you need it - the below sets the default gateway
routes_eth0=(
"default via 70.88.74.110"
)
Back to top
View user's profile Send private message
sloof3
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2004
Posts: 75

PostPosted: Sun Feb 12, 2006 6:17 am    Post subject: Reply with quote

Could you post your routing table when both NICs are up?
/sbin/route -n

Just to be sure you don't have a IPtables rules on at that time do you?


-sloof3
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun Feb 12, 2006 10:17 am    Post subject: Reply with quote

netmask and broadcast address for eth0 do not match; most probably the correct broadcast address should be 70.88.74.255
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
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