SubNetCalc

From Wikipedia, the free encyclopedia

Other namesIPv4/IPv6 Subnet Calculator
Original authorThomas Dreibholz
Initial releaseJanuary 30, 2009; 17 years ago (2009-01-30)[1]
SubNetCalc
Other namesIPv4/IPv6 Subnet Calculator
Original authorThomas Dreibholz
DevelopersThomas Dreibholz, Simula Research Laboratory, Simula Metropolitan Center for Digital Engineering
Initial releaseJanuary 30, 2009; 17 years ago (2009-01-30)[1]
Stable release
2.6.6[2] / April 19, 2026; 10 days ago (2026-04-19)
Written inC++
Operating systemLinux, FreeBSD, MacOS
Platformcross-platform
Available in4 languages
TypeIP network utility
LicenseGPL-3.0-or-later
Websitewww.nntb.no/~dreibh/subnetcalc/
Repositorygithub.com/dreibh/subnetcalc

SubNetCalc is an open-source IPv4 and IPv6 subnet address calculator. It is distributed in several major software distributions, including Debian[3], Ubuntu[4], and FreeBSD[5].

SubNetCalc calculates a breakdown of IP network information. It provides:

  • Dual-Stack Support: Full support for both IPv4 and IPv6 address families.
  • Address Analysis: Calculates the network address, broadcast address (IPv4), host address range, and the maximum number of hosts for a given subnet.
  • Binary Visualization: Displays addresses in binary format, highlighting the network and host portions.
  • Unique Local Prefix Generation: Can generate randomly chosen IPv6 Unique Local prefixes according to RFC 4193, using /dev/random or /dev/urandom for entropy.[6]
  • Geo-Location: Integration with MaxMind GeoIP library to identify the country associated with a given IP address.

Components and Integration

The tool is portable and is maintained as part of the FreeBSD Ports collection and the Debian/Ubuntu package repositories. It also features bash shell-completion support.

See also

References

Related Articles

Wikiwand AI