How to Setup network on RHEL/CentOS 7 (Minimal)


Issue: Not able to connect to network/internet.
Caused by: Ethernet interfaces are not enabled by default.

Step 1: First, type “nmcli d” command in your terminal for quick list ethernet card installed on your machine:
Screen Shot 2017-12-09 at 02.23.48

Step 2: 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).
Screen Shot 2017-12-09 at 02.27.44

Step 3: Now choose you network interfaces and click “Edit”
Screen Shot 2017-12-09 at 02.31.07

Step 4: Configure DHCP. Choose “Automatic” in IPv4 CONFIGURATION and check Automatically connect check box and press OK and quit from Network manager.
Screen Shot 2017-12-09 at 02.34.09

Step 5: Reset network services. Run service network restart

Now test your connection.


This entry was posted in Linux, UNIX and tagged , , . Bookmark the permalink.