CMD ping requests not allowing more than 1000 bytes to be sent
As grawity said in the comments when your packet is larger than the MTU size fragmentation will occur. Because ICMP packets contain very short messages, there is no legitimate reason for ICMP packets to be fragmented. If an ICMP packet is so large that it must be fragmented, something is amiss. For this reason some network administrators will block any ICMP packet that has the More Fragments flag set or that has an offset value indicated in the offset field.
Related videos on Youtube
I say Reinstate Monica
Updated on September 18, 2022Comments
-
I say Reinstate Monica over 1 year
I can successfully ping, say,
google.com
viacmd
using:ping {IP ADDRESS} -T -L 1000
But if I use a packet size greater than "1001" I get a request timed out error. I know that the max amount of bytes I can send out is 65500.
Why is this?
P.S. My Internet is fine and I can access all websites through browsers.
-
Admin almost 9 yearsOn windows the format for
ping
is ip address after the options. So you should be usingping -t -l 1000 <ipaddress>
-
Admin almost 9 years
ping -t -l 9999 www.google.com
works here (Windows 7). Perhaps you can give an example that fails?
-
-
user1686 almost 9 yearsJumbo Frames aren't very important here, as IP already supports fragmentation; a 2000-byte ICMP message over 1500 byte MTU would just be sent as two IP packets.