Try to start Eth0 device:
# ifup eth0
Device eth0 does not seem to be present, delaying initialisation
First step – check the MAC Addresses are set correctly:-
[root@centOS network-scripts]# cat ifcfg-eth0 | grep HWA
HWADDR=”08:00:27:FC:73:2A”
[root@centOS network-scripts]# cat ifcfg-eth1 | grep HWA
HWADDR=”08:00:27:09:E1:75?
[root@centOS network-scripts]# cat ifcfg-eth2 | grep HWA
HWADDR=”08:00:27:31:2D:D6?
[root@centOS network-scripts]# ip -o link
1: lo:
2: eth0:
3: eth8:
4: eth2:
Theres no eth1 but there is an eth8. Lets check what is there in dmesg:
root@centOS network-scripts]# dmesg | grep eth1
e1000 0000:00:08.0: eth1: (PCI:33MHz:32-bit) 08:00:27:09:e1:75
e1000 0000:00:08.0: eth1: Intel(R) PRO/1000 Network Connection
udev: renamed network interface eth1 to eth8.
So udev decided to rename my interface, Why is this? A little look at /etc/udev/rules.d/70-persistent-net.rules revealed the answer:-
[root@centOS ~]# cat /etc/udev/rules.d/70-persistent-net.rules | grep “08:00:27:09:e1:75?
SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{address}==”08:00:27:09:e1:75?, ATTR{dev_id}==”0x0?, ATTR{type}==”1?, KERNEL==”eth*”, NAME=”eth1?
SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{address}==”08:00:27:09:e1:75?, ATTR{dev_id}==”0x0?, ATTR{type}==”1?, KERNEL==”eth*”, NAME=”eth8?
Looks like there are mulitple entries for the same MAC address. Removed the incorrect entry and restart the interface using below command.
# ifup eth0
Thats it..
No comments:
Post a Comment