Well, not sure but every ping no matter if it is a bad ip or a good ip, says ping sucessfull.

so if I ran your script to ping 0.0.1.1 it says it pinged, and if you place in a good ip, it says the same result.
_________________________
www.microcyb.com