Created
December 5, 2013 17:25
-
-
Save JustinAzoff/7809637 to your computer and use it in GitHub Desktop.
Test for MTU/fragmentation issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| IP=$1 | |
| for x in `seq 1200 20 1700`; | |
| do echo -n "$x " | |
| ping -W 1 -M do -s $(($x-28)) $IP -c 1 > /dev/null && echo WORKED || echo failed | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment