ubuntu10.04及以前的版本重启网卡 (1)/etc/init.d/networking restart (2)service network restart ubuntu14.04及以后的版本重启网卡 (1)关闭网卡:ifdown eth0 (2)开启网卡:ifup eth0