We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Centos 7 eth0 not present after booting network kernel


WebHostingNeeds
2016-11-10, 11:52 AM
On newer kernel, they changed interface name to new annoying format. I am not sure which exact kernel version they done it.

I had this problem on a server, i did configure eth0, nothing comes up, then i did ifconfig -a, found interface name was different, edited config file with new interface name and it worked.

blue93030
2016-11-09, 11:06 AM
Thanks for the reply.
Since this is a production server, I'll have to schedule a down time where I can do more in depth diagnostics from the console. I'm trying to figure out what may be different in the 3.14.32 netboot kernel that causes it not to recognise eth0.

As an experiment, I installed the 3.10.23 disk kernel on a new Centos server which had been booting using the 3.14.23 netboot kernel. When this server boots 3.10.23, it gets the same error regarding eth0.

I'll post back when I have more info.

Thanks

WebHostingNeeds
2016-11-08, 11:55 PM
try

Code:
ifconfig -a
and see if network interface shows up.

blue93030
2016-11-08, 03:22 PM
When attempting a network boot using the 3.14.32 kernel, the network fails to start and issues the following error message:

Nov 8 05:32:59 XXXX network: Bringing up loopback interface: [ OK ]
Nov 8 05:32:59 XXXX network: Bringing up interface eth0: ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Device eth0 does not seem to be present, delaying initialization.
Nov 8 05:32:59 XXXX /etc/sysconfig/network-scripts/ifup-eth: Device eth0 does not seem to be present, delaying initialization.
Nov 8 05:32:59 XXXX network: [FAILED]

The server boots without any errors using the disk kernel version 3.10.23

The server is configured with virtual network interfaces eth0:0, eth0:1, eth0;3, ....

Are there any changes or special settings required in the sysconfig/network-scripts?

Thanks ion advance for any help.