View previous topic :: View next topic |
Author |
Message |
thesheff17 Apprentice

Joined: 12 Jan 2005 Posts: 283
|
Posted: Sun Feb 12, 2006 6:08 am Post subject: multiple nics |
|
|
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 |
|
 |
sloof3 Tux's lil' helper


Joined: 09 Sep 2004 Posts: 75
|
Posted: Sun Feb 12, 2006 6:17 am Post subject: |
|
|
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 |
|
 |
think4urs11 Bodhisattva


Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sun Feb 12, 2006 10:17 am Post subject: |
|
|
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 |
|
 |
|