Problem:
What to do when we come across the message "Device eth0 does not seem to be present, delaying initialization" when starting the network service on Airwave. # service network start Device eth0 does not seem to be present, delaying initialization
We usually come across this issue when we are migrating from one VM instance to another and the MAC address is not matching up. If we execute the command "ifconfig" to check the ip details, we will see only the loop back interface. # ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 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:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
To resolve this issue delete networking interface rules file so that it can be regenerated and reboot your Airwave instance. # rm /etc/udev/rules.d/70-persistent-net.rules # reboot Now once the server is back up the new MAC would be updated and we can restart the network service once, # service network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Determining if ip address 192.168.1.99 is already in use for device eth0... [ OK ] Now if we execute the command "ifconfig" we would see the eth0 interface # ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:FE:C1:03 inet addr:192.168.1.99 Bcast:xxxxxxxx Mask:255.255.255.0 inet6 addr: fe80::a00:27ff:fefe:c103/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4400 errors:0 dropped:0 overruns:0 frame:0 TX packets:129 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:387597 (378.5 KiB) TX bytes:19567 (19.1 KiB)
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.