sipcalc
IPv4 and IPv6 subnet calculator
TLDR
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
-a
Give all possible information about an address or interface.-b
Display CIDR based bitmaps (IPv4).-c
Display classful address information (IPv4).-d
Enable name resolution.-e
Display v4inv6 address information (IPv6).-i
Display CIDR address information (default IPv4).-n NUM
Display NUM extra subnets starting from the current subnet.-r
Display IPv6 reverse DNS information.-s MASK
Split IPv4 network into subnets of MASK size.-S MASK
Split IPv6 network into subnets of MASK size.-t
Display standard IPv6 address information (default IPv6).-u
Verbose mode for network splitting.-w
Convert Cisco wildcard (inverse mask) to regular netmask.-4 ADDR
Explicitly add an IPv4 address.-6 ADDR
Explicitly add an IPv6 address.
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.
