D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Network device allocation

 

Simon Williams wrote:

> The problem here is the naming of the devices. Example: I have a card in
> PCI slot 2, a card in PCI slot 3 and a card in PCI slot 4. The card in
> PCI2 must always be called eth0 (and not eth1 or eth2). The card in PCI3
> must always be called eth1 (and not eth0 or eth2), and the card in PCI4
> must always be called eth2 (and not eth0 or eth1). It would be better if
> I could also assign my own names, such as "LAN", "WAN", "INTERNET", etc,
> rather than having to remember which eth* device is which.
> Currently, two of the cards (using modules 8139too and 3c59x) are

You might find things are less trouble using 4 identical (or at least
same chipset cards.)

> unpredictably getting eth0 and eth1. The third and forth cards aren't
> installed yet. On some boots the 8139 is eth0, and on others the 3c59x
> is eth0. I would have thought that they would be allocated in the order
> that the modules are loaded, but maybe udev does it as it finds them and

Are you listing the modules explicitally in /etc/modules (or
equivalent). You could also check the "Plug and Play OS" setting in
the BIOS.

> doesn't look in a predictable manner?

-
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html