Tim <ignored_mailbox@xxxxxxxxxxxx> wrote:
Surely someone's made a useful tool for compiling a list out of the
DHCP leases? I've seen enough people say that they've wanted one.
(Waiting to be told, "Don't call me Shirley".)
[root@bend ~]# nmap -sP --system-dns 192.168.0.0/24
Starting Nmap 4.03 ( http://www.insecure.org/nmap/ ) at 2006-09-17 10:40 MDT
Host bend.local.davenjudy.org (192.168.0.184) appears to be up.
Host abuse.local.davenjudy.org (192.168.0.186) appears to be up.
MAC Address: 00:0A:5E:1A:EC:9E (3COM)
Host spindle.local.davenjudy.org (192.168.0.188) appears to be up.
MAC Address: 00:0A:5E:1A:ED:52 (3COM)
Host wireless.local.davenjudy.org (192.168.0.250) appears to be up.
MAC Address: 00:12:17:7A:B6:F6 (Cisco-Linksys)
Nmap finished: 256 IP addresses (4 hosts up) scanned in 5.567 seconds
[root@bend ~]#
You can grep out the MAC address information if you don't want it. The
other thing nice about using nmap is it lists both DHCP and fixed IP
addresses although you can limit the scan to just the DHCP assigned
addresses if that's all you want.
... and don't call me Shirley.
Cheers,
Dave
--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce