# /sbin/route del default
# /sbin/route add default gw 192.168.0.1 dev eth1
# ping
www.ya.ru
PING ya.ru (213.180.204.8): 56 data bytes
64 bytes from 213.180.204.8: icmp_seq=0 ttl=54 time=68.8 ms
64 bytes from 213.180.204.8: icmp_seq=1 ttl=54 time=63.1 ms
64 bytes from 213.180.204.8: icmp_seq=2 ttl=54 time=70.7 ms
64 bytes from 213.180.204.8: icmp_seq=3 ttl=54 time=63.4 ms
64 bytes from 213.180.204.8: icmp_seq=4 ttl=54 time=63.5 ms
64 bytes from 213.180.204.8: icmp_seq=5 ttl=54 time=73.2 ms
64 bytes from 213.180.204.8: icmp_seq=6 ttl=54 time=65.0 ms
64 bytes from 213.180.204.8: icmp_seq=7 ttl=54 time=64.9 ms
64 bytes from 213.180.204.8: icmp_seq=8 ttl=54 time=63.5 ms
--- ya.ru ping statistics ---
9 packets transmitted, 9 packets received, 0% packet loss
round-trip min/avg/max = 63.1/66.2/73.2 ms
#