设置IP和子网掩码:ifconfig eth0 IP值 netmask maskIP up
设置默认网关: route add default gw gatewayIP
route add -hostname default gw gatewayIP
关闭防火墙:
/etc/init.d/iptables stop
设置默认网关: route add default gw gatewayIP
route add -hostname default gw gatewayIP
关闭防火墙:
/etc/init.d/iptables stop