Managing network settings on Red Hat Enterprise Linux

Share this:

By default in Red Hat Enterprise Linux 7.3 (the version which this article was written) the default network service is done by NetworkManager which is a Linux daemon which is responsible to configure the network components of the system. Although the traditional ifcfg configuration files are supported the recommendation is to take advantage of NetworkManager service to configure IP, aliases, static routes, DNS and VPN connections.

The NetworkManager has a command line interface (nmcli) and a simple text user interface (nmtui), as well graphical user interface support.


If you are an old school administrator, you will use /etc/resolv.conf to configure your DNS settings on the system. However, if we do that on RHEL 7.0, we will notice that there is comment that the information there was generated by our friendly daemon NetworkManager.

2017-05-15 - Remote Desktop Connection Manager v2.2

Using Graphical User Interface (GUI)…

If you are using the graphical user interface, click on the network icon on the right-upper side and then click on Wired Settings.

2017-05-15 - Remote Desktop Connection Manager v2.2

In the new window, all current IPv4 and IPv6 will be displayed, as well MAC, default gateway and DNS. Click on Settings button to change the current settings.

2017-05-15 - Remote Desktop Connection Manager v2.2

Click on IPv4 and we can add a new DNS or perform any desired changes to the interface. We can always turn the interface on and off to refresh the settings like DNS.

2017-05-15 - Remote Desktop Connection Manager v2.2

Using text user interface (TUI)

We can use nmtui command to start the NetworkManager TUI where the administrator can click on Edit a connection. The administrator can use some shortcuts to save the trouble of selecting the first option that is being shown on the image below. For example nmtui edit eth0 goes straight to the configuration of eth0 interface.


Select the interface, in our case eth0 and click on Edit…


Perform the desired changes, such as DNS Server changes and confirm.


What is going on NetworkManager daemon?

We can use the command below to get an overview of the NetworkManager daemon to see what is going on and the latest activities.

systemctl status NetworkManager –l


Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at,, and Anderson (Portuguese).

Related Post

How to update the DNS root hints Updating the root servers on the DNS servers, by default when DNS server is installed a list of root servers comes with the server. In this Tutorial w...
How to list all static hosts in DNS In this Tutorial we are going over the process to list all static entries in any given DNZ zone. Solution If you are responsible to manage the Acti...
Installing Skype for Business – Part 3 In this third Tutorial of our series we are going to work on the DNS portion of the deployment. Like its predecessors, there are a lot of certificates...
Top 5 of the Week Folks, We live in a constantly changing world and new technologies and features are being added on  a daily basis. The team made a...