[root@vps /]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[root@vps /]#
[root@vps /]# ip route add 0.0.0.0/0 via 0.0.0.0 dev venet0
[root@vps /]#
[root@vps /]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
[root@vps /]#
naylor@jump:~ $ ping 10.0.0.0
PING 167.114.223.54 (10.0.0.0) 56(84) bytes of data.
64 bytes from 10.0.0.0: icmp_seq=1 ttl=49 time=231 ms
64 bytes from 10.0.0.0: icmp_seq=2 ttl=49 time=230 ms
Like this:
Like Loading...
Related