Linux设置IP
进入 vi /etc/sysconfig/network-scripts/ifcfg-eth0
root # ifconfig eth0 192.168.22.232 root # route add default gw 192.168.22.1 打root # echo nameserver 192.168.22.1 > /etc/resolv.conf
本文来自博客园,作者:aspirant,转载请注明原文链接:https://www.cnblogs.com/aspirant/p/3544388.html