BSD Ports

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

SystemPortVersion
NetBSDnet/cidr2.3.1
FreeBSDnet-mgmt/cidr2.3.2_3
DragonFlynet-mgmt/cidr2.3.2_3
HardenedBSDnet-mgmt/cidr2.3.2_3
GhostBSDnet-mgmt/cidr2.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.

RepositoryVersion
NetBSD 10.1 x86_642.3.1
NetBSD 10.1 aarch642.3.1
SmartOS / illumos x86_642.3.1
macOS 15 arm642.3.1

Dependencies

No port depends on this one.