How to Configure IP Network with ‘nmtui’ Tool

An alternative for the nmcli is the nmtui, short for Network Manager Text User Interface, the nmtui is yet another handy tool that allows you to easily configure your network interfaces in Linux distributions using a graphical display by invoking the nmtui command straight from the terminal or even putty.

To configure a network interface IPv4 address, start by invoking the nmtui tool.

$ nmtui

Select the first option ‘Edit a connection’ and hit ENTER.

Edit Network Interface Connection
Edit Network Interface Connection

Next, select the interface you want to configure and hit ENTER. In this case, the interface we are configuring is enps03.

Select Network Interface
Select Network Interface

In the next step, key in the preferred IP address and define the subnet mask, default gateway, and DNS servers as shown below.

Configure Network Connection
Configure Network Connection

Once you are satisfied with your settings, scroll all the way down and hit ENTER on the ‘OK’ option.

Confirm Network Settings
Confirm Network Settings

This takes you back to the interfaces screen as shown below. Navigate and hit on the ‘Back’ option.

Network Interface Settings
Network Interface Settings

Select ‘Activate a connection’ and then ‘OK’ and hit ENTER.

Active Network Connection
Active Network Connection

Select your interface name and then navigate to the ‘Deactivate’ option and hit ENTER.

Deactivate Network Connection
Deactivate Network Connection

This will take you a step back whereupon you will click on the ‘Activate’ option as shown:

Active Network Connection
Active Network Connection

We’re all done now. To go back click on the ‘Back’ option and finally, press ENTER on the ‘quit’ selection.

Quit Network Configuration
Quit Network Configuration

Again, to verify that the network interface has acquired the IP address we have just configured, run the command:

$ ip addr show enp0s3
Confirm Network IP Address
Confirm Network IP Address

And this concludes this article on configuring IP network connection using ‘nmtui’ graphical command-line utility on Linux. We hope you found this guide helpful.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments section.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.