multiple ethernet ports, random order

alvin at Maggie.Linux-Consulting.com alvin at Maggie.Linux-Consulting.com
Thu Aug 2 16:57:39 PDT 2001


hi ya

if oyu have onboard nic...and no others.... it's eth0

if you plug in one pci-based nic...it becomes eth0 by
default... and onboared nic becomes eth1

if you plug in two pci-based nics...
the one furthest from the atx connectors is eth0
and eth1 is the other pci nic...
and onboard nic is eth2

you can remapp which is eth0 and eth3....but why go thru
that headache ??

-- there might have been a solution posted in the eepro mailing list
   to remap eth3(onboard nic)  to be eth0....

have fun
alvin
http://www.Linux-1U.net ... 500Gb 1U Raid5 ...


On Thu, 2 Aug 2001, Chris Harwell wrote:

> hi,
> 
> could anyone provide a work around for this?
> 
> i have an onboard ethernet port, and a dual port ethernet card all
> intel eepro. stock redhat7.1 w/ 2.4.3-12 redhat kernel and 2.4.3-12-1 (i
> compiled)
> 
> it seems that with different kernels or perhaps boot conditions the
> ethernet card labels eth0,1,2 order themselves differently. what i mean by
> that is sometime eth0 is associated with a different physical port than at
> other times. the driver is currently built into the kernel, before it was
> the standard redhat modular kernel.
> 
> i'm assuming the irq and base adrress combination maps uniquely to the
> port and stuck a line in /etc/lilo.conf and reran lilo to fix this - but
> it seemed to have no effect at mapping to the previous config.
> it goes something like append "ether=9,0xde80,eth2 ether=9,0xcf80,eth1
> ether=10,0xcf40,eth2"
> 
> what can i do to keep them constant?
> 
> thanks,
> 
> 
> -- 
> chris
> charwell at digitalpulp.com
> 
> 
> 
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
> 





More information about the Beowulf mailing list