On Mon, 18 Sep 2000, Michael R. Jinks wrote:

> Can somebody explain to me the relationship between physical NIC's and the
> device names they're assigned at boot time?
> 
> I have a machine with a 4-port NIC and a 1-port NIC.  When the system was
> first set up, the 4-port took eth0-3 and the 1-port got eth4.  Okay, fine.
> Well I recompiled my kernel and now for some reason the 4-port is upset with
> me; I think I can get that sorted out but in the meantime the 1-port has been
> booting with the config information intended for eth0.
> 
> Since this machine is going to be a router, it is important that each NIC only
> receive the configuration information intended for it, and that nobody ever
> gets configured "backwards".
> 
> Is there a way to query the system to find out which physical device has been
> assigned eth(N)?  Is there a way to control the assignment?  For example, in
> the future if the 4-port fails, could I force the 1-port to come up as eth4
> in spite of the fact that there is no eth(0-3)?
> 
> Thanks,
> -m
> 
Normaly, they are assigned on a first found, first assigned basis.  You
can modify this somewhat if you are using modules for the NICs, as long
as they all do not use the same modules.  For NICs of the same type, you
can control ISA NIC order by the hardware address.  For PCI NICs, slot
order is the determining factor.  Depending on your BIOS, usualy the
slots closest to the powersupl are found first, and working out from
there.

If you are using modules, and the one port uses a seperate module from
the 4 port, just make sure you have the driver for the 1 port aliased to
eth4.  then bringing up eth4 should load that module, but bringing up
eth 0 to 3 should not load it.

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to