MTU: Difference between revisions
Appearance
Content deleted Content added
| Line 111: | Line 111: | ||
''' -s 1472 / -l 1472''' The option for payload size is -s, or -l on Windows. 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! |
''' -s 1472 / -l 1472''' The option for payload size is -s, or -l on Windows. 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. |
|||
On OSX (Apple), to perform a ping with the same options, you can use: |
|||
ping -c1 -D -s 1472 81.187.81.187 |
|||
On a Windows machine to perform a ping with the same options, you can use: |
|||
ping -n 1 -f -l 1472 81.187.81.187 |
|||
==Two quick examples== |
==Two quick examples== |
||