network interface numbers weirdness
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
linux-source-2.6.22 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
udev (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-source-2.6.22
I just installed Gusty with kernel 2.6.22-12.
During the installation two ethernet cards were detected in the machine as eth0 and eth1 (and there are only two). I used eth0 to install the system. Upon rebooting /etc/network/
grep e1000 /var/log/dmesg
[ 78.371669] e1000: 0000:03:0e.0: e1000_probe: (PCI-X:
[ 78.407129] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[ 78.678746] e1000: 0000:04:0d.0: e1000_probe: (PCI-X:
[ 78.714164] e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
[ 87.694177] e1000: eth2: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
ifconfig
eth2 Link encap:Ethernet HWaddr 00:0B:DB:43:61:B3
inet addr:141.212.106.76 Bcast:141.
inet6 addr: fe80::20b:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:893 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:77550 (75.7 KB) TX bytes:22090 (21.5 KB)
Base address:0xdcc0 Memory:
Note that the hardware addresses that the driver originally noted as eth0 and the device i later configured as eth2 are the same.
I had a similar experience. The installer identified the wireless card as eth0 and the wired network interface on the motherboard as eth1. But on rebooting, I had no net access, as they had become eth2 and eth3. Ifconfig made clear what was happening, so a change to /etc/network/ interfaces and an /etc/init. d/networking restart made for a quick fix, but this would have stumped a newbie.
It'd be really nice if the installer created /etc/iftab entries for the identified network interfaces' MAC addresses so this didn't come up, though it's probably far too late for Gutsy.