net/whatmask 1.2 NetBSD
Easily convert between three common subnet mask notations
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Categories
- net
- Package size
- 9.2 KiB, 21.8 KiB installed
Description
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
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | net/whatmask | 1.2 |
| FreeBSD | net-mgmt/whatmask | 1.2_3 |
| DragonFly | net-mgmt/whatmask | 1.2_3 |
| MidnightBSD | net-mgmt/whatmask | 1.2 |
| HardenedBSD | net-mgmt/whatmask | 1.2_3 |
| GhostBSD | net-mgmt/whatmask | 1.2_3 |
Install
Binary package:
pkgin install whatmask
From pkgsrc:
cd /usr/pkgsrc/net/whatmask && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.2 |
| NetBSD 10.1 aarch64 | 1.2 |
| SmartOS / illumos x86_64 | 1.2 |
| macOS 15 arm64 | 1.2 |
Dependencies
No port depends on this one.