MTU: Difference between revisions
==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) +
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:
|