RHEL 7 new install will not connect to network or internet

Latest response

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

Hi,

There are no attachments. Can you please resend?

Also, provide results for couple of commands:

ip a
cat /etc/sysconfig/network/ifcfg-*<interface>
dhclient -r <interface>

Regards,

Dusan Baljevic (amateur radio VK2COT)

I've edited the original post...for some reason the attachments that I've uploaded aren't showing up in the post. I was able to copy/paste the image links. Hopefully that works. I'll run the commands and post the output.

ip a: https://access.redhat.com/sites/default/files/images/screen_shot_2018-07-17_at_11.57.39_pm.png

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)

Trying this now.

Thank you. Unfortunately this did not work. I've confirmed that the MAC address for the network adapter is correct. The blade infrastructure is online and connectivity is available. Only one VLAN in use (default VLAN) and one network. IPs to the blade infrastructure works, but the guest OS cannot connect.

Ok here is the latest. I have done the following:

*confirmed physical link state of ethernet cables on equipment *disabled "network"...now only using Network Manager *updated drivers for NIC within RHEL 7 *confirmed that the ethernet status now shows green and connected via nmcli dev status *assigned a valid static IP...can ping itself *ip a for the device still shows "no carrier" and "state DOWN".

Thanks to all who tried to help. Issue has been resolved. The blade system's network configuration was not correct. Link was established once fixed.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.