# ifconfig eth0 192.168.1.10 netmask 255.255.255.0 # route add default gw 192.168.1.10 # vim /etc/resolv.conf
参考
http://tyru.hatenablog.com/entry/20120408/changing_temporarily_ip_gw_hostname
# ifconfig eth0 192.168.1.10 netmask 255.255.255.0 # route add default gw 192.168.1.10 # vim /etc/resolv.conf
参考
http://tyru.hatenablog.com/entry/20120408/changing_temporarily_ip_gw_hostname