On Tue, Sep 11, 2018 at 11:59:04AM -0600, Andrew wrote: > > FWIW: a small network calculator without a python dependency is already > in packages. > > $> pkg_info ipcalc > Information for inst:ipcalc-1.4p0 > > Comment: > small network calculator > > Description: ipcalc is a small tool that operates on IPv4 networks. It > can operate in one of four modes: network describing, netmask > describing, finding or splitting. > > Maintainer: The OpenBSD ports mailing-list <po...@openbsd.org> > > WWW: https://github.com/pyr/ipcalc
If you need IPv6 functionality, there's sipcalc in packages without any extra dependencies.