首页 > 系统相关 >centos8重启网卡

centos8重启网卡

时间:2022-08-30 16:35:49浏览次数:50  
标签:nmcli ens160 重启 网卡 root localhost centos8

1、重启网卡之前一定要重新载入一下配置文件,不然不能立即生效

[root@localhost~]# nmcli c reload ens160

2、重启网卡

[root@localhost~]# nmcli c up ens160

注:ens160为实际网卡名称

3、查看ip地址

[root@localhost~]# ip a

 

标签:nmcli,ens160,重启,网卡,root,localhost,centos8
From: https://www.cnblogs.com/xgsh/p/16639834.html

相关文章