1、关闭网络端口ens33,然后重新打开
[root@ctos110 ~]# ifdown ens33 #关闭网络 Device 'ens33' successfully disconnected. [root@ctos110 ~]# ifup ens33 #启动网络 Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)
2、然后重新载入网卡程序,如下:
/etc/init.d/network reload
完成!