Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Arthur van Leeuwen <arthurvl@sci.kun.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] which NIC is which
Date: Tue, 09 Jul 2002 21:56:52 +0000	[thread overview]
Message-ID: <marc-lartc-102625192621572@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102624934518788@msgid-missing>

On Tue, 9 Jul 2002, John Telford wrote:

> I'm building routers.  It's difficult to tell in advance which NIC will
> be assigned eth0 and which will assigned eth1 when using two NICs.  Ping
> testing usually clears up this simple problem.
>
> The identification problem gets worse when adding a third NIC, after
> sorting out the first two NICs.  Frequently the eth0 or eth1 assignments
> for the first two NICs change.
>
> Of course adding a fourth and fifth NIC multiplies the identification
> problem.  Yes, some of my routers are supporting five network segments.
>
> My question is, what's the algorithm for assigning Ethernet
> designations?  I know it not placement order in the PCI bus, and I know
> its not the NIC data-link address.
>
> So what is it?

Almost random. However, there's some evidence to suggest:
order of probing of device drivers
order of I/O addresses


Unfortunately, in systems with identical cards that are configured using
plug-and-play methods such as those used by PCI random is the best shot you
have...

Doei, Arthur.

-- 
  /\    / |      arthurvl@sci.kun.nl      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2002-07-09 21:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-09 21:14 [LARTC] which NIC is which John Telford
2002-07-09 21:56 ` Arthur van Leeuwen [this message]
2002-07-09 22:06 ` Michael T. Babcock
2002-07-10  6:37 ` Arthur van Leeuwen
2002-07-10  8:34 ` bert hubert
2002-07-10 12:38 ` Vladimir B. Savkin
2002-07-10 12:42 ` bert hubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-102625192621572@msgid-missing \
    --to=arthurvl@sci.kun.nl \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox