su
-bash-2,05b# route Kernel IP routing table
Destination |
Gateway |
Genmask |
Flags Metric |
Ref |
Use |
Iface |
192.163.1.0 |
* |
255.255.255.0 |
U 0 |
0 |
0 |
ethO |
default |
192.163.1.1 |
0.0.0.0 |
UG 0 |
0 |
0 |
ethO |
-bash-2,05b# ping 192,163,1,23
PING 192.163.1.23 (192.163.1.23) 56(34) bytes of data. 64 bytes from 192,163.1,23: icmp_seq=l ttl=64 time=6,03
64 bytes from 192,163.1,23: icmp_seq=2 ttl=64 time=l,68 64 bytes from 192,163.1,23: icmp_seq=3 ttl=64 time=l,69
64 bytes from 192.163.1,23: icmp_seq=4 ttl=64 time=l,69
ms
ms
ms
ms
( packęt loss, time 3030ms 1.637/2.777/6.037/1.332 ms default
gw 192.163.1.23
Genmask 255.255.255.0 0.0.0.0
--- 192,163,1,23 ping statistics ---
4 packets transmitted, 4 received, 0; rtt min/avg/max/mdev =
-bash-2,05b# route del -bash-2,05b# route add default -bash-2,05b# route Kernel IP routing table Destination Gateway
192.163.1.0 *
default 192.163.1.23
-bash-2,05b# |
Flags Metric Ref U 0 0
UG 0 0
Use Iface 0 ethO 0 ethO