check_connectivity.rb works, but only with valid IP