nmcli命令配置网络

要配置网卡的IP地址除了图形方式和编辑文本的方式,还可以通过nmcli命令配置,以下是常用的nmcli命令配置网络的方式。 首先执行systemctl status NetworkManager命令查看服务是否开启,该命令需要在服务开启才可以执行。 1.添加静态网络 nmcli connection add type ethernet con-name westos ifname eth0 ip4
相关文章
相关标签/搜索