Help - Search - Members - Calendar
Full Version: Weird Gentoo Network Problem
Linuxhelp > Support > Technical Support
I have a slightly strange problem with my Gentoo server, and two network interfaces.

Basically, I wanted to connect another computer directly to the server, so "that will be easy" i though - "I'll just enable the interface which i'm not using at the moment". 'Cept it didnt work like that.

I configured the interface (eth1) in /etc/conf.d/net as follows
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
iface_eth0=" broadcast netmask"
iface_eth1=" broadcast netmask"

# For setting the default gateway

Then, I copied /etc/init.d/net.eth0 to /etc/init.d/net.eth1 (like the Gentoo docs say you need to, and like i have done numerous times before). All was OK so far. So I ran the net.eth1 script, and started the interface.

Then it got weird. I couldnt ping from the computer connected directly to eth1, but I could ping it from the network connected to eth0 ( Ifconfig confirmed that both interfaces had the correct IP.

So, I disabled the interface. Unfortunately, the server still responds to pings, http requests and absolutely everything else on! I even removed it from the config file, to no avail!

It seems that it's getting eth0 and eth1 confused somehow, and giving both IPs to the same physical interface (depsite the fact that ifconfig clearly shows that they have different hardware addresses). No idea why it wont give up the Ip address - I restarted all the service that depend on it, so I dont tihk it is one of those blocking it.

Any ideas?


just a idea :


is there a entry for the cards mac address? (eth0 mac address)

Robert B
Don't think so.

Anyway, I rebooted to get rid of the IP adresses it had accumulated, and then stuck the two interfaces on different subnets. I guess it could be a bug with part of the network setup (it's pretty much default settings) but I dont have the time or know-how to figure out what's wrong with it atm.

i saw somebody else had the same problem as me on the Gentoo forums, but that was 2004 and there were no replies.

Anyway, it' working now - Thanks for replying

* Closing *

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.