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

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. Use our Hosting referral link if you planning to start your blog ($3.82/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...

6 Responses

  1. Amal says:

    Excellent article..!

  2. 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.

  3. Mightyme says:

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

    • Ravi Saive says:

      @Mightyme,

      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 "10.131.206.54"
      # nmcli con mod net-eth0 ipv4.method manual
      # nmcli con up net-eth0
      
  4. Shahebaaz Shaikh says:

    Excellent article!
    Thanks for so much clearification.

  5. jace brodsky says:

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

Got something to say? Join the discussion.

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

Join Over 300K+ Linux Users
  1. 257,757
  2. 11,967
  3. 39,682

Are you subscribed?