pkgsrc/net/whatmask/DESCR
zuntum f26e335c1d Update to version 1.2
Changes from version 1.1:
        * Added support for hex netmasks.
        * Minor bugfixes, cleanup.

Provided by the maintainer - Joe Laffey <joe@laffeycomputer.com>, thanks!
2003-12-19 12:23:56 +00:00

15 lines
573 B
Text

Whatmask is a small C program that will help you with network settings.
Whatmask can work in two modes. The first mode (which is how prior
versions worked) is to invoke Whatmask with only a subnet mask as the
argument. In this mode Whatmask will echo back the subnet mask in four
formats, plus the number of useable addresses in the range.
Netmask Notations supported:
Name Example
---------------------------------
CIDR /24
Netmask 255.255.255.0
Hex Netmask 0xffffff00
Wilcard Bits 0.0.0.255