[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

change the naming of eth0 and eth1



Hi,

my server has a dual onboard nic (Intel Gigabit Ethernet, driver e1000).
The BIOS names the two interfaces NIC 1 and NIC 2. Unfortunately
NIC 1 (BIOS) corresponds to eth1 (linux) and NIC 2 to eth0.
I tried to interchange the naming of eth0 and eth1 in order
to avoid confusion. According to the Ethernet HOWTO (driver compiled
into the kernel) I need to switch the parameters on the kernel
boot command line. But this does not help:

# cat /proc/cmdline
auto BOOT_IMAGE=linux root=900 ether=30,0x2040,eth0 ether=31,0x2000,eth1

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:07:E9:04:A7:FD
...
          Interrupt:31 Base address:0x2000 Memory:fe9e0000-fea00000

eth1      Link encap:Ethernet  HWaddr 00:07:E9:04:A7:FC
...
          Interrupt:30 Base address:0x2040 Memory:fe9c0000-fe9e0000

Any hints?

Thanks, Thomas





Reply to: