Path to this page:
./
net/whatmask,
Easily convert between three common subnet mask notations
Branch: pkgsrc-2020Q2,
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)
- (2020-07-01) Package added to pkgsrc.se, version whatmask-1.2 (created)