How to Configure and Manage Network Connections Using ‘nmcli’ Tool

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

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

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ioannis Koustoudis

Ioannis Koustoudis is a LFCS­ Linux sysadmin from Kavala, Greece. He works for the ministry of education and supports almost 200 school units in their infrastructure. If he is not in front of a computer screen, he plays music (he is a multi­-instrumentalist) or take care of his two lovely kids.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

9 Responses

  1. Harish says:

    Hi, I created a profile a profile name static3 by root user account still is showing ‘static3’ does not exist, Please tell me what cloud be the problem?

  2. matian says:


    Really good article with well explanation, you rock, geek passionate bro..

  3. Kingstan says:


    I have 2 problem.

    1. How to find which ifcfg-anything is up or active?
    2. I have internet connection on my VM but when i fire nmcli con up test1. It throws an error. like “Error: Connection activation failed: No suitable device found for this connection.”

    Assist on this. I can send the screen shot if anyone will to teach me via mail.

  4. Amal says:

    Excellent article..!

  5. shailendra says:

    I have type all command correctly and connection added successfully is also showing. but m checking nmcli connection show device field is showing blank please suggest.

    Thank you.

  6. Mightyme says:

    My current interface eno16780032 has an IP
    I want to change to new IP address:
    is there a way to change the existing IP address immediately from one command line without creating an alias?

    • Ravi Saive says:


      Yes, you can change the existing IP with new IP using nmcli tool on the fly as shown.

      # nmcli con mod net-eth0 ipv4.addresses ""
      # nmcli con mod net-eth0 ipv4.method manual
      # nmcli con up net-eth0
  7. Shahebaaz Shaikh says:

    Excellent article!
    Thanks for so much clearification.

  8. jace brodsky says:

    typed in ; #sudo nmcli con show
    error came back ; Error: ‘con’ command ‘show’ is not valid.

Leave a Reply to Kingstan Cancel reply

Your email address will not be published. Required fields are marked *

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