Re: Pinging an entire Class B

Erik Schoenfelder (schoenfr@gaertner.de)
Thu, 11 Jul 96 11:22:34 +0200

Hi!

Sam> I need to ping an entire class B in order to load my routers
Sam> arp cache with all mac-ip pairs. [...] ntping will doit but i
Sam> cannot figure out the correct syntax to do say an entire class
Sam> C at once. [...] I just want the sytem in the arp cache.

ntping itself cannot ping entire networks by telling it ``this is
class b''; maybe this would be a nice feature for others too.

ntping can ping many hosts by specifying them on the commandline or
stdin.

please have in mind that your host may drop packets to be sent, in the
network-layer, because they possibly couldn't sent so fast as they
arrive from ntping. if this happens tune the -delay parameter a little
bit.

anyway, you need a script (tcl, perl, shell, ...) wrapped around the
ntping call, to create the ip addresses argument.

or you may like to look at

scotty-2.1.0/tnm/examples/discover

as an example how to do this with scotty (to use the discover script
as-is patch the scotty command in line 3 to scotty2.1.0).

Erik