public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* nic enumeration
@ 2010-07-07 22:25 Michael Di Domenico
  2010-07-07 22:39 ` Brian Kroth
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Michael Di Domenico @ 2010-07-07 22:25 UTC (permalink / raw)
  To: linux-net, linux-kernel

I have an issue where I have an onboard NIC with effectively three
ports, no other NIC ports/chips are in the system

Nic0: xx:xx:xx:00:00:02
Nic1: xx:xx:xx:00:00:01
IPMI: xx:xx:xx:00:00:03

When I boot RedHat Linux, Nic1 becomes Eth0 and Nic0 becomes Eth1.

I understand there is a disconnect between BIOS and linux on which
device should get which Eth, as well as, what ensues when you have PCI
cards along side onboard ports.

What I'm curious about is how/why Linux actually decides Nic1 should be Eth0?

My theory is it starts on the lowest MAC address and works up,
depending partly on driver load order.

Given the above scenario, swapping the MAC addresses between Nic1 and
Nic0 would clear this issue.

Can anyone confirm or deny this?  Or explain/point me to, how it actually works.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-07-12 18:27 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07 22:25 nic enumeration Michael Di Domenico
2010-07-07 22:39 ` Brian Kroth
2010-07-07 23:15 ` Steve Fink
2010-07-08  1:21 ` Matt Domsch
2010-07-08 20:36   ` Loke, Chetan
2010-07-08 20:47     ` Andrew Fong
2010-07-08 21:27       ` Kay Sievers
2010-07-08 22:07         ` Loke, Chetan
2010-07-08 21:24     ` Charlie Brady
2010-07-09  7:18     ` Florian Weimer
2010-07-09  7:57       ` Kay Sievers
2010-07-09  8:13         ` Florian Weimer
2010-07-09 16:27       ` Loke, Chetan
2010-07-09 17:10         ` Steve Fink
2010-07-09 18:23           ` Loke, Chetan
2010-07-09 21:26             ` Steve Fink
2010-07-12 16:56               ` Loke, Chetan
2010-07-12 18:27                 ` Steve Fink
2010-07-09 17:15         ` Matt Domsch
2010-07-09 18:55           ` Loke, Chetan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox