[Tutor] get a list of all IPs on a lan

Allyn Weaks allyn. at tardigrade.net
Fri May 28 03:03:38 EDT 2004


On 27/5/2004, Marco wrote:

>> Ping the broadcast address and see who answers?
>
>Not "everybody" answers to broadcasts, usually even "lightly"
>firewalled machines avoid answering to some ICMP types.

On unix, if you have root access and can turn on promiscuous mode, and
if you aren't isolated behind a switch, install the excellent arpwatch.
It watches all traffic across the network card, collects pairs of IP vs
MAC address and logs it. On a complex enough network, it's worth
analyzing the log with a python script...
-- 
Allyn Weaks    allyn at tardigrade.net   Seattle, WA  Sunset zone 5
Pacific NW Native Wildlife Gardening: http://www.tardigrade.org/natives/
"To announce that there must be no criticism of the president, or that
we are to stand by the president, right or wrong, is not only
unpatriotic and servile, but is morally treasonable to the American
public." -- Theodore Roosevelt



More information about the Tutor mailing list