2005/09/08

fping

Ping can only send ICMP packets to one host at a time. If I want to test how many hosts in a Class C network are alive or I want to pick an unassigned IP address for other purpose, ping can not quickly help me.

To overcome the problem, I turn to fping which can send ICMP packets to multiple hosts :

% fping < target_files
(list of holes are stored in target_files)

To ping a Class C network :

%fping -g 192.168.1.0/24

or use

% fping -g 192.168.1.0 192.168.1.255

A handy tool, isn't it ?

No comments: