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

Content deleted Content added
AA-Andrew (talk | contribs)
AA-Andrew (talk | contribs)
Line 96: Line 96:




Explanation:
==Explanation:==


'''-c1''' In these examples, we've only used a count of one ping using the -c option.
'''-c1''' In these examples, we've only used a count of one ping using the -c option.
Line 102: Line 102:
'''-M do''' Use the path discovery options to ping. The option is -M. See the man page for all the options.
'''-M do''' Use the path discovery options to ping. The option is -M. See the man page for all the options.


''' -s 1472''' When setting size in ping, the size is the payload size - not the full packet size. The full packet size is <syntaxhighlight inline> payload + ICMP header</syntaxhighlight> size (20 bytes for the IP header and 8 bytes for the ICMP header). The option for payload size is -s.
''' -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) + IP header (20) + ICMP header (8) </syntaxhighlight>, so this is 1500 in total!


Note: ping is slightly different on different operating systems, the above is a Debian machine.
Note: ping is slightly different on different operating systems, the above is a Debian machine.
Line 123: Line 123:
rtt min/avg/max/mdev = 12.491/12.491/12.491/0.000 ms
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:
Checking if you have smaller than 1500 MTU: