Linux文章列表 设置IP ifconfig 亲测假有效(导致软件无法升级下载) ifconfig eth0 192.168.0.20 netmask 255.255.255.0 什么是子网掩码 重启网络 重启网络服务:service NetworkManager restart 重启指定网卡 ifdown eth0 ifup eth0 或者 ifconfig eth1 down ifconfig eth1 up