IPv4 address calculator

Keith Owens (kaos@ocs.com.au)
Tue, 04 Aug 1998 21:01:10 +1000


GPL IPv4 address calculator ftp://ftp.ocs.com.au/pub/ipcalc.tcl.gz. It
needs tcl+tk, written for tcl 8, it may work on earlier versions. This
calculator might be useful for those people who are having problems
with CIDR and subnetting. It even works in Windows (gack!@@) if you
tweak the font definitions to suit Tk for Windows.

Enter the IPv4 address and the number of bits in the netmask. The
calculator displays :-

Netmask in bits.
Netmask in dotted quad.
Address in bits with the network and host portions highlighted.
Network address in dotted quad.
Broadcast address in dotted quad.
First available host number.
Last available host number.
Total number of available hosts.
PTR address, in-addr.arpa format.
Address in hex, network order.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu