[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] How weird is this?
On Sun, 16 Dec 2001, Alistair Williamson wrote:
> I have made some progress at last! I figured there must be a hardware
> conflict somewhere (still haven't found out where?) in the process of
> tracking down this conflict, I installed a second NIC again and, if I set the
> IP of the first NIC to a different network - the second NIC works? But then,
> if I remove the first NIC - the second NIC stops working???
Define 'stops working'...
Sorry, I've come in on this part way through, but what it sounds like is
that you haven't quite got the knack of Linux device naming. Ethernet cards
are named in sequence, starting from eth0, eth1, eth2, etc. If you have two
Ethernet cards, the first one detected is called eth0, the next is eth1. If
you have two ethernet cards, and remove the one which the kernel thinks is
eth0, then eth1 will become eth0. This will confuse any scripts which
configure your network card, because what was previously eth1 no longer
exists, and it'll confuse your network, because you think that the IP
associated with eth1 is at the NIC end of the cable, but it's actually the
IP for eth0 which is at the end of the cable.
Use
/sbin/ifconfig
to see which eth? has what IP config. As far as which card gets eth0, if
they're all PCI, I think it's the card in the lower numbered slot. If it's
ISA or an ISA/PCI mix, it's a bit more complex. There has been info on this
topic passed around before on this list, check the list archives.
--
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer
mjp16@ieee.uow.edu.au
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.