![]() ![]() Note1: If a space appears in the interface name (like System eth0), put everything between quotes: nmcli con del “System eth0”. To remove a connection (here ethernet-eth0), type: # nmcli con del ethernet-eth0 Note: con is a shortcut for connection (you can even type only c).Īlternatively, you can type: # nmcli dev status To display the network configuration, type: # nmcli con showĮthernet-eth0 8d83684f-cd22-42cc-9fff-7704945a5c36 802-3-ethernet eth0 the nmcli command at the Command Line Interface,įor the rest of this tutorial, it is the nmcli option that has been chosen because it’s the quickest method and arguably the least prone to errors.Ĭhanges made through the nmcli command are permanent.Ĭaution: To practice this tutorial in the best conditions, connect to the machine through its console (you could otherwise loose your connection!).the nmtui command and a Text User Interface,. ![]() With RHEL 7, all the network configuration is now mainly done through NetworkManager (the NetworkManager changelog is available here). PresentationĪlthough it is still possible to define the network configuration through the files in the /etc/sysconfig/network-scripts directory, it’s not the preferred way any more (don’t forget to execute # nmcli con reload if you manually modify the files!).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |