赞
踩
# 发送ping
[root@localhost ~]# ping -c 10 -s 1472 192.168.0.10
PING 192.168.0.10 (192.168.0.10) 1472(1500) bytes of data.
1480 bytes from 192.168.0.10: icmp_seq=1 ttl=64 time=0.133 ms
1480 bytes from 192.168.0.10: icmp_seq=2 ttl=64 time=0.060 ms
1480 bytes from 192.168.0.10: icmp_seq=3 ttl=64 time=0.074 ms
1480 bytes from 192.168.0.10: icmp_seq=4 ttl=64 time=0.045 ms
1480 bytes from 192.168.0.10: icmp_seq=5 ttl=64 time=0.056 ms
1480 bytes from 192.168.0.10: icmp_seq=6 ttl=64 time=0.069 ms
1480 bytes from 192.168.0.10: icmp_seq=7 ttl=64 time=0.068 ms
1480 bytes from 192.168.0.10: icmp_seq=8 ttl=64 time=0.160 ms
1480 bytes from 192.168.0.10: icmp_seq=9 ttl=64 time=0.064 ms
1480 bytes from 192.168.0.10: icmp_seq=10 ttl=64 time=0.064 ms
可见此时没有分片
# 发送ping包
[root@localhost ~]# ping -c 5 -s 5000 10.70.2.1
PING 10.70.2.1 (10.70.2.1) 5000(5028) bytes of data.
5008 bytes from 10.70.2.1: icmp_seq=1 ttl=128 time=6.47 ms
5008 bytes from 10.70.2.1: icmp_seq=2 ttl=128 time=2.14 ms
5008 bytes from 10.70.2.1: icmp_seq=3 ttl=128 time=2.35 ms
5008 bytes from 10.70.2.1: icmp_seq=4 ttl=128 time=9.83 ms
5008 bytes from 10.70.2.1: icmp_seq=5 ttl=128 time=2.97 ms
--- 10.70.2.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 2.142/4.757/9.837/2.985 ms
注:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。