Site icon moneyslow.com

ubuntu16 配置网络重启 /etc/init.d/networking restart 命令无效

apt-get update 和 upgrade 的区别

apt-get update 和 upgrade 的区别

在ubuntu16下 配置好网络 使用命令:
/etc/init.d/networking restart
但是没有生效。

不重启主机直接生效使用命令:
ip addr flush dev eth1
如下图,ip信息被清空了。

ubuntu改ip地址

ifdown eth1
ifup eth1

 

Exit mobile version