I found myself doing a lot of loops around ping to find machines on the
network

foreach ip (`seq 1 254`) 
        ping -c 1 192.168.50.${ip}
end

However fping can ping a range of IPs in parallel.  Much nicer!

socks:~# fping -a -g 192.168.50.1 192.168.50.6
192.168.50.3
192.168.50.4
192.168.50.6
ICMP Host Unreachable from 192.168.3.1 for ICMP Echo sent to 192.168.50.1
ICMP Host Unreachable from 192.168.3.1 for ICMP Echo sent to 192.168.50.2
ICMP Host Unreachable from 192.168.3.1 for ICMP Echo sent to 192.168.50.5

Reply via email to