Path to this page:
./
net/whatmask,
Easily convert between three common subnet mask notations
Branch: pkgsrc-2012Q4,
Version: 1.2,
Package name: whatmask-1.2,
Maintainer: pkgsrc-usersWhatmask 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
Master sites:
SHA1: 313762672acacd40de8021132b1024a5c96e2ad5
RMD160: 5863edc9fe0e3f98b5ff03e79117e44080e58033
Filesize: 166.194 KB
Version history: (Expand)
- (2013-01-06) Package added to pkgsrc.se, version whatmask-1.2 (created)