Bug 188454
Summary: | Interface names eth0, eth1 assigned randomly at boot time | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stefan Behrens <sbeh2006> |
Component: | module-init-tools | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | Keywords: | Reopened |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-04-25 15:00:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stefan Behrens
2006-04-10 07:52:38 UTC
just bind the MAC Address to the interface name via system-config-network or in the ifcfg-<interface> config file with "HWADDR=". HWADDR= doesn't fix it. I tried again with the config below and it still gives me the wrong results: --ifcfg-eth0-- # VIA Technologies|VT6105 [Rhine-III] DEVICE=eth0 HWADDR=00:40:D0:3D:7F:D5 ONBOOT=no TYPE=Ethernet USERCTL=yes IPADDR=192.168.0.3 NETMASK=255.255.255.0 --ifcfg-eth1-- # Intel Corp.|PRO/Wireless LAN 2100 3B Mini PCI Adapter DEVICE=eth1 HWADDR=00:04:23:64:85:A0 ONBOOT=no BOOTPROTO=dhcp TYPE=Wireless USERCTL=yes --modprobe.conf-- #options pbe5 radio=0 #install ipw2100 /sbin/modprobe via-rhine;/sbin/modprobe pbe5;/sbin/modprobe --ignore-install ipw2100 alias eth0 via-rhine alias eth1 ipw2100 alias snd-card-0 snd-intel8x0 options snd-card-0 index=0 options snd-intel8x0 index=0 remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0 ifconfig -a after reboot; note the swapped MACs and i/f names: eth0 Link encap:Ethernet HWaddr 00:04:23:64:85:A0 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:11 Base address:0x8000 Memory:e0001000-e0001fff eth1 Link encap:Ethernet HWaddr 00:40:D0:3D:7F:D5 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:11 Base address:0xe800 # iwlist eth1 scan eth1 Interface doesn't support scanning. # iwlist eth0 scan eth0 Scan completed : Cell 01 - .... |