Pings all the interfaces in the given network