Re: How do I make my NIC pick the same ETH port every time?



On 3/25/06, Tyson Varosyan <tigran@xxxxxxxxxx> wrote:

Using Debian command mode 2.6 kernel.

My NIC keeps jumping around between eth0 and eth1 every so often when I
reboot. It is real annoying! How do I get it to stick to be the same all
the
time? It is conflicting with a firewire controller...


I had a similar issue with a machine I was setting up yesterday. One ISA nic
and a PCI nic in it. During the install, the PCI card was set as eth0, and
the ISA wasn't configured. Once I added the ISA card's module to
/etc/modules, it was brought up as eth0 instead of the PCI card, and I think
I figured out why. The modules from /etc/modules are loaded before hotplug
fires up, so the ISA card was loaded first.
Perhaps you can do something similar... add whichever module you want as
eth0 to /etc/modules, and let hotplug take care of the other one, which
should (hopefully) get you some consistency.
HTH

...Rob


Relevant Pages

  • Re: [patch] genapic: optimize & fix APIC mode setup
    ... the CPU hotplug code, ... Subject: genapic: optimize & fix APIC mode setup ... NETDEV WATCHDOG: eth0: transmit timed out ...
    (Linux-Kernel)
  • Simple one: How to set a static IP address?
    ... # They will be activated automatically by the hotplug subsystem. ... iface eth0 inet static ... Then I set IP on eth0 to 192.168.0.7 with ifconfig ...
    (comp.os.linux.setup)
  • Re: SuSE 9.1: eth0 no such device
    ... there won't be any eth0. ... Also check with "chkconfig | grep isapnp" that isa PnP is enabled, ... much more common 3C905B PCI card. ...
    (alt.os.linux.suse)
  • Re: /etc/network/interfaces file ?
    ... type 'dhclient eth0' to connect. ... I comment out the 'hotplug' line and use ... See 'man interfaces'. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: /etc/network/interfaces file ?
    ... type 'dhclient eth0' to connect. ... I comment out the 'hotplug' line and use ... See 'man interfaces'. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)