netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Auke Kok <auke-jan.h.kok@intel.com>
To: Victor Secarin <vsecarin@paradigmgeo.com>
Cc: netdev@vger.kernel.org
Subject: Re: eth interface enumeration order
Date: Wed, 23 Aug 2006 09:13:07 -0700	[thread overview]
Message-ID: <44EC7E93.2080604@intel.com> (raw)
In-Reply-To: <44EC79D8.3050402@paradigmgeo.com>

Victor Secarin wrote:
> VERSION
> With kernel 2.4.33.1:
> HARDWARE
> I have a server with two eepro100 and one e1000 interfaces
> BEHAVIOR
> When the kernel boots the drivers report (/var/log/messages) the 
> interfaces they find and what they are named (eth0, eth1, eth2)
> 1. With the drivers configured monolithically in the kernel:
> e1000 reports eth0 and then eepro100 reports eth1 and eth2
> 2. With the drivers configured as modules:
> eepro100 reports eth0 and eth1 and then e1000 reports eth2
> PROBLEM
> 1. On a red  hat distribution, different interfaces may have different 
> configuration scripts, which assign IP addresses and more, and the 
> scripts are identified by the ethx name.
> 2. It is necessary to control which interface becomes eth0 as various 
> programs use the MAC address of eth0 to identify the computer. In my 
> case that is "lmhostid" and all the FLEXlm software,
> as I run a license server on that machine.

[ Please don't mail tree maintainers with this sort of question. ]

[ Try using the e100 driver instead of eepro100 ;) ]

there are several answers to this solution. First of all, you can build the 
e100 driver into the kernel and use e1000 as a module, at which point the 
in-kernel driver will always load first.

second of all, you can set `alias eth0 e100` in your /etc/modules.conf and 
force that nic to be bound to the first interface.

other handwork includes manually installing the modules in the right order at 
boot time.

Cheers,

Auke


  reply	other threads:[~2006-08-23 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-23 15:52 eth interface enumeration order Victor Secarin
2006-08-23 16:13 ` Auke Kok [this message]
2006-08-23 16:46 ` Erik Mouw
2006-08-23 17:36 ` Stephen Hemminger

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=44EC7E93.2080604@intel.com \
    --to=auke-jan.h.kok@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=vsecarin@paradigmgeo.com \
    /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;
as well as URLs for NNTP newsgroup(s).