sipcalc
IPv4 and IPv6 subnet calculator
TLDR
Calculate subnet
SYNOPSIS
sipcalc [-s size] [-a] [-b] [options] address
DESCRIPTION
sipcalc is an advanced IP subnet calculator that handles both IPv4 and IPv6 addresses. Given an address with a prefix length or netmask, it displays the network address, broadcast address, host range, and other details in both CIDR and traditional netmask notation.
The subnet splitting option (-s) divides a network into smaller subnets at a specified prefix length, showing all resulting ranges. Interface mode accepts a network interface name instead of an address, reading the system's configured addresses for analysis. The -b option adds binary representations for bit-level understanding of subnet boundaries.
PARAMETERS
-s SIZE
Split into subnets.-a
All information.-b
Binary output.-c
Classful info.-d
Resolve hostnames.-n
Suppress newlines.-4
IPv4 mode.-6
IPv6 mode.
CAVEATS
Complex subnetting may need verification. IPv6 output is verbose. Interface mode needs permissions.
HISTORY
sipcalc was written by Simon Ekstrand for IP address calculations. It supports both protocol versions with consistent output.
