设IPifconfig 192.168.1.2网关ip route add default 192.168.1.1DNSecho "nameserver 202.x.x.x" >> /etc/resolv.conf
ifconfg eth0 192.168.0.1 netmask 255.255.255.0也就是ifconfig 网卡名 IP地址 netmask 子网掩码
setup