In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to use the network configuration tool nmcli". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn this article "how to use the network configuration tool nmcli".
Nmcli modifies attributes such as IP address
Nmcli connection modify IFACE [+ | -] setting.property value
Setting.property:
Ipv4.addresses ipv4.gateway
Ipv4.dns1 ipv4.method manual | auto
The modification of the configuration file takes effect
Systemctl restart network
Nmcli con reload
Nmcli command takes effect
Nmcli con down eth0; nmcli con up eth0
Show all including inactive connections
Nmcli con show
Show all active connections
Nmcli con show-active
Show network connection configuration
Nmcli con show "System eth0"
Display device statu
Nmcli dev status
Show network interface properties
Nmcli dev show eth0
Create a new connection default,IP is automatically obtained through dhcp
Nmcli con add con-name default type Ethernet ifname eth0
Delete connection
Nmcli con del default
Create a new connection static, specify a static IP, and do not connect automatically
Nmcti con add con-name static ifname eth0 autoconnect no type Ethernet ipv4.addresses 172.25.X.10/24 ipv4.gateway 172.25.X.254
Enable static connection configuration
Nmcli con up static
Enable default connection configuration
Nmcli con up default
View help
Nmcli con add help
Nmcli command
After you modify the connection configuration, you need to reload the configuration
Nmcli con reload
Nmcli con down "system eth0" can be activated automatically
Nmcli con up "system eth0"
Nmcli dev dis eth0 disables the network card, and access is automatically activated.
one
Check the connection
View connection physical device information and connection status
View details
Add a new network card
Startup ratio View
Set static
Start to take effect
Delete the network card
two
Add Nic to configure:
Reload the configuration file
Start to take effect
View Gateway
Check to see if it starts
Modify domain name
Start and view
Simplest configuration
View network connection status
Configure automatic acquisition
View addresses that are learned automatically
The above is all the contents of the article "how to use the Network configuration tool nmcli". 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.