Revision: 65986
Updated Code
at February 20, 2014 22:09 by biiont
Updated Code
ping -A -c 3 -M do -s 1472 google.com ping -A -c 3 -M do -s 1473 google.com
Revision: 65985
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 20, 2014 22:06 by biiont
Initial Code
ping -c 3 -A -M do -s 1472 google.com ping -c 3p -M do -s 1473 google.com
Initial URL
Initial Description
This script allows to determine MaxTranssmitUnit size for current network. Argument "-M" selects Path MTU Discovery strategy: - "do" means prohibit fragmentation, even local one; - "want" do PMTU discovery, fragment locally when packet size is large; - "dont" do not set DF flag. Argument "-s" specifies payload size. Value 1472 produces frames of 1500 bytes. And value 1473 is for frames 1501 byte which is more than usual MTU. Arguments "-c 3 -A" are used to send 3 packets as fast as possible (adaptive ping).
Initial Title
Determining MTU With Ping
Initial Tags
Initial Language
Bash