How to setup Network after Rocky Linux 8 / CentOS 8 minimal installation

How to setup Network after Rocky Linux 8 / CentOS 8 minimal installation

After installing Rocky Linux 8/ AlmaLinux 8 / RHEL / CentOS 7 minimal, You may not able to connect network in that machine. This will happen because Ethernet interfaces are not enabled by default.
This guide explain you to setup network on Rocky Linux 8 / AlmaLinux 8 / RHEL/CentOS 7.

Setup network on Rocky Linux 8 / AlmaLinux 8 / CentOS 8

First, type “nmcli d” command in your terminal for quick list ethernet card installed on your machine:

Setup network on Rocky Linux 8 / AlmaLinux 8 / CentOS 8 minimal

Type “nmtui” command in your terminal to open Network manager. After opening Network manager chose “Edit connection” and press Enter (Use TAB button for choosing options).

How to setup network after Rocky Linux 8 / CentOS 8 minimal installation

Now choose you network interfaces and click “Edit

Setup network on Rocky Linux 8 / AlmaLinux 8 / CentOS 8 minimal

DHCP configuration on Rocky Linux 8 / AlmaLinux 8 / CentOS 8

Choose “Automatic” in IPv4 CONFIGURATION and check Automatically connect check box and press OK and quit from Network manager.

DHCP configuration on Rocky Linux 8 / AlmaLinux 8 / CentOS 8

Reset network services:

service network restart

Now your server will get IP Address from DHCP .

DHCP configuration on Rocky Linux 8 / AlmaLinux 8 / CentOS 8

1 Comment

Leave a Reply

Your email address will not be published.


*