Ubuntu的重启网络命令是:sudo /etc/rc.d/init.d/network restart
用ubuntu的系统——>系统管理——>网络的网络设置
关闭网卡 ifdown eth0
开启网卡 ifup eth0