RHEL 7 new install will not connect to network or internet
We have RHEL 7 installed within a virtual environment (HP c7000 blade).
The network connection will not get an IP via DHCP, and will not connect to the internet/LAN with a valid IP. I've found a few articles where people experienced similar issues. In one case the ifcfg-(connection) file had an incorrect MAC address. I checked and confirmed that the file had the correct MAC address.
"systemctl stop network" works, "systemctl start network" fails. I've attached a screenshot of the errors.
I have checked everything that I can think of and cannot determine the source of the issue.
image 1: https://access.redhat.com/sites/default/files/images/screen_shot_2018-07-17_at_5.14.39_pm.png
image 2: https://access.redhat.com/sites/default/files/images/screen_shot_2018-07-17_at_5.13.49_pm.png
Responses
Hello Scojet,
You are using both NetworkManager.service and network.service. This causing a conflict. You must make a choice.
Is the computer connected correctly, for the output shows no-carrier. (It could also be an indication of the service conflict, so fix that first)
My advise:
systemctl disable network
reboot
Regards,
Jan Gerrit
Hi,
The attachments show quite generic errors.
Can you please check these:
cat /etc/sysconfig/network-scripts/ifcfg-eno1
cat /etc/sysconfig/network
journalctl -xe
nmcli con show
dhclient -r -v eno1
nmcli connection reload
Also, as you are using Network Manager - can you try this for the moment to isolate the problem:
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl restart network
Regards,
Dusan Baljevic (amateur radio VK2COT)
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
