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

Christian Heimes lists at
Sat Jul 16 15:59:33 EDT 2011

Am 16.07.2011 21:13, schrieb Dan Stromberg:
> Some options:
> 1) Broadcast ping
> 2) nmap the subnet, optionally with -P0
> 3) Check the arp cache (optionally after options 1, 2 or 4)
> 4) Unicast ping everything on the subnet in parallel - very effective, very
> fast, might want to do it with threads rather than subprocesses to avoid a
> load spike

5) arping - needs root permissions but works well inside a broadcast
domain. It can detect hosts that block ICMP echo reply, too.


More information about the Python-list mailing list