Missconfiguration of ethernet interfaces on reboot
- From: Fionn <albinopousa@xxxxxxxxx>
- Date: Mon, 26 May 2008 06:42:04 -0700 (PDT)
Hello everybody,
recently I have the same error in two different machines running
RedHat Linux 9 (kernel 2.4.20-8).
Each machine has 3 NICs: 2 of them come included in motherboard (one
network card with 2 NICs: one Intel e100 and one intel e1000) and the
other is an Intel e1000 Fiber Network Card attached in a PCI-Express
slot.
The interfaces' alias are assigned like this (looking at /etc/
modules.conf):
eth0: e100 NIC in motherboard
eth1: e1000 NIC in mother board
eth2: e1000 NIC in PCI slot
All the system was working properly untill the other day the machine
made a reboot (due to the softdog) and the interfaces' configuration
became wrong: the system couldn't find the eth2 interface and also it
tried to asign eth0 a e1000 module, but it couldn't, so it didn't
result in a good rising of the interface and failed to be up.
Indeed, the e100 module was not loaded (consulting via lsmod)
When I tried to re-configure the interfaces trough the redhat-config-
networg assistant, then appeared a message box telling me that I was
wrongly trying to asign a e100 module to eth0 while it needed a e1000
module (it's false).
It seems like someone is saying that interface eth0 needs a e1000
module, but neither the /etc/module.conf file, nor the /etc/sysconfig/
network-scripts/ifcfg-ethX files had changed.
I looked at the /etc/sysconfig/hwconf file and it was the same like
few weeks ago. No changes. But I realized that on the interface name
especification, the COMPLETE interface name was not correct.
I mean, it was written just eth, without 0, 1 or 2, insteed of
eth0,eth1,eth2.
The file hwconf network part is like this:
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: e100
desc: "Intel Corp.|82801BD PRO/100 VE (LOM) Ethernet Controller"
vendorId: 8086
deviceId: 1039
subVendorId: 8086
subDeviceId: 103a
pciType: 1
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: e1000
desc: "Unknown vendor|Generic e1000 device"
vendorId: 8086
deviceId: 1076
subVendorId: 8086
subDeviceId: 1076
pciType: 1
-
class: NETWORK
bus: PCI
detached: 0
device: eth
driver: e1000
desc: "Unknown vendor|Generic e1000 device"
vendorId: 8086
deviceId: 1027
subVendorId: 8086
subDeviceId: 1027
pciType: 1
In other (newer) RedHat systems (kernel 2.6.9-55), interface name in
that file is complete (eth0, eth1, eth2).
The /etc/modules.conf file is like this:
alias eth0 e100
alias eth1 e1000
alias eth2 e1000
Does anybody knows if there's a bug in hwconf file or something
related with those files? I was several days looking for a clue about
that, but I haven't find anything.
Thanks for any advice,
Fionn
.
- Follow-Ups:
- Re: Missconfiguration of ethernet interfaces on reboot
- From: Moe Trin
- Re: Missconfiguration of ethernet interfaces on reboot
- Prev by Date: Re: Strange MTU Problem
- Next by Date: Re: How to delete an entry in ARP
- Previous by thread: wireless bridge with DD-WRT
- Next by thread: Re: Missconfiguration of ethernet interfaces on reboot
- Index(es):
Relevant Pages
|