net/cidr 2.3.1 NetBSD
RFC 1878 subnet calculator / helper
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Categories
- net
- Package size
- 7.5 KiB, 17.3 KiB installed
Description
cidr is a tiny command-line tool for determining network and broadcast addresses a la RFC 1878. It takes an IP address and netmask and outputs the network address, broadcast address, and total number of addresses for the corresponding subnet. The IP can be in binary, decimal, hex, or dotted quad. The mask can be in binary, decimal, hex, dotted quad, or prefix.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | net/cidr | 2.3.1 |
| FreeBSD | net-mgmt/cidr | 2.3.2_3 |
| DragonFly | net-mgmt/cidr | 2.3.2_3 |
| HardenedBSD | net-mgmt/cidr | 2.3.2_3 |
| GhostBSD | net-mgmt/cidr | 2.3.2_3 |
Install
Binary package:
pkgin install cidr
From pkgsrc:
cd /usr/pkgsrc/net/cidr && 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 | 2.3.1 |
| NetBSD 10.1 aarch64 | 2.3.1 |
| SmartOS / illumos x86_64 | 2.3.1 |
| macOS 15 arm64 | 2.3.1 |
Dependencies
No port depends on this one.