ubuntu 重启网卡方法

合集 · 1024

查看网卡信息: ifconfig 设定一个网卡IP:ifconfig eth1 192.168.1.10 netmask 255.255.255.0 重启网卡使设定生效:sudo /etc/init.d/networking restart 用ubuntu的系统——>系统管理——>网络的网络设置 关闭网卡 ifdown eth0 开启网卡 ifup eth0 重启网卡,优点是可以指定网卡,不影响其他网络接

合集1024共 72 篇内容

本文作者 PSICMI,转载请注明出处。