- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pings every host in a given subnet to determine what IPs are online in that subnet.
I would doubt that logic would work, since the ips which reply can also be a gateway, dns, or other workstations, neways, you could come with a simple script like
for i in `seq 255`; do for j in `seq 255`; do echo 192.168.$i.$j; esxcli network diag ping -H 192.168.$i.$j -I vmk0 -c 1 | grep -i Recieved | awk '{if($2 == 1) {print "Alive"} else print "Dead"}'; done; done