Ipinfo is a simple tool for calculation of IP networks - broadcast address, wildacrd address or count of usable IP addresses in a network, all of it based just on the knowledge of an IP address and network mask (or prefix length). The program is written in C programming language primarily on the Linux platform, however it should be possible to run it on other platforms too. As a product part of the package there is a program ipmatch, which can simple tell if given IP address belongs to a given subnet (or if it is a network or a broadcast address). Version 1.0 can be distributed and modified freely under the terms of GPL license, however version 1.1 and higher are distributed under the terms of this license: Licence Beerware, revize 42: As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.

Extracted automatically from Ipinfo homepage

Install Ipinfo

brew install ipinfo


This formula has no dependencies.