verifying connectivity with ping command