Skip to content

Instantly share code, notes, and snippets.

@nevans
Created June 7, 2011 20:56
Show Gist options
  • Save nevans/1013141 to your computer and use it in GitHub Desktop.
Save nevans/1013141 to your computer and use it in GitHub Desktop.
some silly tracert diagnostics...
ip_prefix=xxx.yyy.zzz
count=4
for (( i=96; i <= 127; i=i+1 )); do ip=$ip_prefix.$i; echo Trying $ip; mtr -nr -c $count $ip; done
# or
for (( i=96; i <= 127; i=i+1 )); do ip=$ip_prefix.$i; echo Trying $ip; arping -c $count -w $count $ip; done
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment