cidr is a utility for determining the network address and broadcast address for a CIDR subnet. It takes as input an ip address and netmask in binary, dotted-quad, hexadecimal, decimal or prefix formats. It outputs the network address, broadcast address, and a count (and optionally a list) of valid host addresses for the corresponding subnet.
cidr is a utility for determining the network address and broadcast address for a CIDR subnet. It takes as input an ip address and netmask in binary, dotted-quad, hexadecimal, decimal or prefix formats. It outputs the network address, broadcast address, and a count (and optionally a list) of valid host addresses for the corresponding subnet.
To install cidr, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install cidr
To see what files were installed by cidr, run:
port contents cidr
To later upgrade cidr, run:
sudo port selfupdate && sudo port upgrade cidr
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.