base of a script I use often for troubleshooting network issues.