进入 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