CentOS 7/RHEL How to setup network after minimal installation?

How to setup network after RHEL/CentOS 7 minimal installation?

After the installation of RHEL/CentOS 7 minimal, there might be an issue that you won’t be able to connect network in that machine. This would be in the case when you don’t enable Ethernet interfaces.


Automate VMware VPS with WHMCS


Let us know in the guide what you need to do to setup network on RHEL/CentOS 7:

Setting up network on CentOS 7 minimal:

1. Initially, you need to type “nmcli d” command in your terminal in order to quick list ethernet card installed on your machine :

2. Now, type “nmtui” command on your terminal and open Network Manager. After opening Network manager, select “Edit connection” and press on Enter button.

nmtui

3. Pick the network interfaces and click on the “Edit button“.

DHCP configuration

  1. Choose “Automatic” in IPv4 configuration and check the Automatically connect checkbox.
  2. Press OK and quit from the Network Manager to proceed with CentOS setup.

Reset the network services:

Now, you will see your server attaining the IP Address from DHCP.

IP Address from DHCP


CentOS 8.4 Released – What’s New In It?

Looking for Something More? We can help!

Our WHMCS experts are ready to accept your custom requirements.