Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

MTU: Difference between revisions

146 bytes added ,  11 July 2017
m
 
 
==Explanation:==
 
'''-c1''' In these examples, we've only used a count of one ping using the -c option.
'''-M do''' Use the path discovery options to ping. The option is -M. See the man page for all the options.
 
''' -s 1472''' The option for payload size is -s. When setting size in ping, the size printed is the payload size - not the full packet size. '''The full packet size is''' <syntaxhighlight inline> payload (1472) + ICMPIP header</syntaxhighlight> size (20) bytes+ for the IPICMP header and (8 bytes for the ICMP header). The</syntaxhighlight>, optionso forthis payloadis size1500 isin -s.total!
 
Note: ping is slightly different on different operating systems, the above is a Debian machine.
rtt min/avg/max/mdev = 12.491/12.491/12.491/0.000 ms
 
So, here we see '''1480''' bytes received. 1480 plus 20 bytes for the IP header and 8 bytes for the ICMP header is a '''1500''' byte MTU!
 
Checking if you have smaller than 1500 MTU:
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,270

edits