Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9648

Re: how to get a list of all the hosts on the intranet around my workstation?

References <a872bea7-3920-44c4-8df2-e75cad47c5f2@p12g2000pre.googlegroups.com>
Date 2011-07-16 16:01 -0400
Subject Re: how to get a list of all the hosts on the intranet around my workstation?
From Michael Hrivnak <mhrivnak@hrivnak.org>
Newsgroups comp.lang.python
Message-ID <mailman.1132.1310846507.1164.python-list@python.org> (permalink)

Show all headers | View raw


A host on your network is likely to have a default gateway (aka
default route).  That should be a reliable thing to ping.

Michael

On Sat, Jul 16, 2011 at 12:31 PM, Phlip <phlip2005@gmail.com> wrote:
> Yes, pythonistas, sometimes I even amaze myself with the quality of
> question that a computer scientist with a 25 year resume can ask
> around here...
>
> In my defense, a Google search containing "intranet host" will fan out
> all over the place, not narrow on what I actually need.
>
> The Use Case is a user wants to ping a nearby host, and I provide a
> list of nearby hosts for the user to pick from. Nothing else. Hosts on
> the outernet need not apply.
>
> pydhcplib? Shell to a DHCP utility? Ping every server in a range
> around my own?
>
> --
>  Phlip
>  http://bit.ly/ZeekLand
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

how to get a list of all the hosts on the intranet around my workstation? Phlip <phlip2005@gmail.com> - 2011-07-16 09:31 -0700
  Re: how to get a list of all the hosts on the intranet around my workstation? Chris Angelico <rosuav@gmail.com> - 2011-07-17 02:52 +1000
  Re: how to get a list of all the hosts on the intranet around my workstation? Emile van Sebille <emile@fenx.com> - 2011-07-16 11:04 -0700
  Re: how to get a list of all the hosts on the intranet around my workstation? Thomas Jollans <t@jollybox.de> - 2011-07-16 20:15 +0200
  Re: how to get a list of all the hosts on the intranet around my workstation? Chris Angelico <rosuav@gmail.com> - 2011-07-17 04:19 +1000
  Re: how to get a list of all the hosts on the intranet around my workstation? Chris Angelico <rosuav@gmail.com> - 2011-07-17 04:27 +1000
  Re: how to get a list of all the hosts on the intranet around my workstation? Christian Heimes <lists@cheimes.de> - 2011-07-16 21:59 +0200
  Re: how to get a list of all the hosts on the intranet around my workstation? Michael Hrivnak <mhrivnak@hrivnak.org> - 2011-07-16 16:01 -0400

csiph-web