fping -a ?

From: lee <lee@afabco.com>
Date: Mon Feb 28 2005 - 08:18:34 AKST

Greetings oh grand gurus of all things bits and arcane....

Came across a little ditty named fping to ping a bunch of clients, or
even a whole subnet, to see what's there and alive.

From the man page:

OPTIONS
       -a Show systems that are alive.

<snip>

       -g Generate a target list from a supplied IP netmask, or a
       starting and ending IP. Specify the
            netmask or start/end in the targets portion of the command
            line.

            ex. To ping the class C 192.168.1.x, the specified command
            line could look like either:

            fping -g 192.168.1.0/24

            or

            fping -g 192.168.1.0 192.168.1.255

so, if I'm reading this right:

# fping -a -g 192.168.0.0/24

should just give me a list of the ip's on 192.168.0.0/24 that return a
ping?

But that's not what's happening. Instead, it tells me every stupid
thing, really not behaving any different than fping -g (no -a):

# fping -a -g 192.168.0.0/24
192.168.0.2
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.3
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.4
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.5
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.6
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.7
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.8
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.9
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.10
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.11
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.12
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.13
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.14
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.15
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.16
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.17
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.18
ICMP Host Unreachable from 192.168.0.185 for ICMP Echo sent to
192.168.0.19
 <snip>

Obviously I'm misunderstanding something. Anybody ever used this tool?
All I want is a list of ip's that are alive and returning a ping.

Thanks in advance,

-- 
  AFABCO
  afabco.com
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Mon, 28 Feb 2005 08:18:34 -0900

This archive was generated by hypermail 2.1.8 : Mon Feb 28 2005 - 08:18:41 AKST