CentOS 7: eth0 down after reboot
-
Network configuration file in /etc/sysconfig/network-scripts/ is set to 'ONBOOT=yes'
I still need to restart the network service after a reboot.Anyone have any idea why this is like this?
I just did a clean install & this issue still exists.The vm's boot up & grab IP addresses but you can't SSH even though the SSH service is running.
Once I re-start the network service then I can SSH in. -
NetworkManager is running after reboot?
systemctl status NetworkManager
-
@black3dynamite said in CentOS 7: eth0 down after reboot:
NetworkManager is running after reboot?
systemctl status NetworkManager
Yes, active & running
-
Here's my settings in ifcfg-eth0
TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=eth0 UUID=4c942ade-7461-438c-96e8-2cc3eb15cdf7 DEVICE=eth0 ONBOOT=yes IPV6_PRIVACY=no ZONE=public
-
@black3dynamite Mine looks the same.
-
I always end up disabling Network Manager in CentOS because of dumb issues like this. Then it works great afterwards.
-
@obsolesce said in CentOS 7: eth0 down after reboot:
I always end up disabling Network Manager in CentOS because of dumb issues like this. Then it works great afterwards.
I’ve never had issues with Network Manager. The only reason I would disable it because some weird applications doesn’t play nice with Network Manager.
-
I've recently had issues with Nic's being renamed from something like eth0 to something like enp2s0 and vice versa at reboots.
-
@dafyre said in CentOS 7: eth0 down after reboot:
I've recently had issues with Nic's being renamed from something like eth0 to something like enp2s0 and vice versa at reboots.
There is a Red hat in article about that.
-
Adding this line (suggestion by Squeakz on #ovirt IRC) fixed the issue.
Each host has 4 nics, I only made the change on the first nic. When I tried on all 4 nics, none of them worked after reboot..NM_CONTROLLED=no
-
@fateknollogee said in CentOS 7: eth0 down after reboot:
Adding this line (suggestion by Squeakz on #ovirt IRC) fixed the issue.
Each host has 4 nics, I only made the change on the first nic. When I tried on all 4 nics, none of them worked after reboot..NM_CONTROLLED=no
My point exactly. Get Network Manager out of the equation on CentOS, things always start working.