Re: Subnets and IPDiscover

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 20 Feb 1996 19:30:39 +0100

Hi!

Justin Randall <jrandall@credrouter.limited.net> said:

Justin> I am trying to find every system in use on a CIDR block with a
Justin> netmask of 255.255.248.0. Is it possible to submit a netmask
Justin> when doing an IP discover?

No. You need to hack the sources a bit by adding a Tcl proc that
creates all IP addresses in an address space defined by the network
address and the netmask. Writing this proc might be tricky in Tcl if
you want it to run fast.

Perhaps we should extend the icmp command so that you can send ICMP
messages to whole address spaces without creating a Tcl list of IP
addresses. This would be a lot faster and simpler. Anyone who wants to
contribute some code for this?

Juergen