Re: [tkined] network & subnet

Matthew Levine (mlevine@cisco.com)
Thu, 12 Aug 1999 10:27:45 -0700

Hi,

I'm going to work on 2.1.x first. I haven't installed 3.0 yet. When I
do install 3.0, I'll see if it still needs to be fixed, in which case I
can update it using the netdb commands.

Thanks,
Matthew

Juergen Schoenwaelder wrote:
>
> >>>>> Matthew Levine writes:
>
> Matthew> I've fixed the discover script (attached) in the examples
> Matthew> directory to use subnet masks. The network address now needs
> Matthew> to be a four octet dotted-decimal address (ie 192.168.1.0)
> Matthew> instead of the old format it wanted (192.168.1 or 192.168).
>
> [...]
>
> The scotty 3.0.x snaphot already contains a script which works with
> arbitrary netmasks. Scotty 3.0.x provides some new buildin commands
> that do all the bit handling in C. The key is the following command:
>
> Tnm::netdb ip range address mask
>
> The Tnm::netdb ip range command returns the list of IP addresses
> in the address range given by address and mask.
>
> If you seriously want to update the ip_discover.tcl script, please
> consider to use the 3.0.x commands. If you need things running with
> 2.1.X, then you can write a replacement for the Tnm::netdb ip
> subcommands in pure Tcl.
> Juergen
> --
> Juergen Schoenwaelder schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
> Technical University Braunschweig, Dept. Operating Systems & Computer Networks
> Bueltenweg 74/75, 38106 Braunschweig, Germany. (Tel. +49 531 / 391 3289)
> --
> !! This message is brought to you via the `tkined & scotty' mailing list.
> !! Please do not reply to this message to unsubscribe. To subscribe or
> !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
> !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.

-- 
---
------
Matthew Levine
Development Test (Consumer Line Of Business)
Cisco Systems, Santa Cruz	http://www.cisco.com/
mlevine@cisco.com	(831) 457 - 5431
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.