In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you the "detailed explanation of nmcli commands in Linux system", which is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and study this article "detailed explanation of nmcli commands in Linux system".
The nmcli command is a very rich and flexible command-line tool that can complete all configurations on the network card and can be written to the configuration file.
1. View the binding information of the network card
Nmcli con show
two。 Create a new connection ens33-dhcp,IP is automatically obtained through dhcp
Con add-add a new connection
Con-name-connection name
Type-device typ
Ifname-Interface name
Autoconnect yes-allow boot to start automatically
Gw4 192.168.88.2-your own gateway
Ipv4.dns 114.114.114.114
3. Create a new connection ens33-static with an IP of 1.1.1.1 Universe 8
4. Cancel the current connection
Nmcli con down ens33-static
5. Start the ens33-dhcp link
Nmcli con up ens33-dhcp
6. View ens33-static IP
7. Delete ens33-static
Nmcli con delete ens33-static
Rarely used-modify connection settings nmcli con mod "static" connection.autoconnect nonmcli con mod "static" ipv4.dns 172.25.X.254nmcli con mod "static" + ipv4.dns 8.8.8.8nmcli con mod "static"-ipv4.dns 8.8.8.8nmcli con mod "static" ipv4.addresses "172.25.X.10/24 172.25.X.254"
The above is all the contents of this article "detailed explanation of nmcli commands in Linux system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.