Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ping with packet size larger than 25152 failing?

Tags:

ping

When I am trying to ping with packet size > 25152 I am getting 100% packet loss. can anyone please help me out on why is it happening ???

ping -c 1 -s 25153 time.nist.gov

--- ntp.glb.nist.gov ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms

ping -c 1 -s 25152 time.nist.gov

PING ntp.glb.nist.gov (64.236.96.53) 25152(25180) bytes of data. 25160 bytes from dtc-nist01.ntp.aol.com (64.236.96.53): icmp_req=1 ttl=45 time=76.8 ms

--- ntp.glb.nist.gov ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 76.887/76.887/76.887/0.000 ms

like image 999
sr116 Avatar asked Oct 22 '22 01:10

sr116


1 Answers

As very quick google shows you are exceeding amount of fragments (data) that fits into one packet. In order to support that you would have to change configuration on your machine (and possibly the remote) to utilize it.

like image 172
Tymoteusz Paul Avatar answered Jan 02 '23 21:01

Tymoteusz Paul