ipv4calc(1p)

ipv4calc1p

Usage

ipv4calc [{--network | --broadcast | --netmask | --address | --cidr}] addr

Overview

If an option is specified ipv4calc calculates the requested element from the address and prints it on stdout.

If multiple options are specified, only the first one is printed.

If no options are specified, the program prints the host part of the address, the network and the broadcast address as deduced from the given address.

If address doesn't contains a netmask or mask length, the default one is assumed.

Releases

14 releases since Debian 2.2 (Potato); the text changed 8 times.

  1. 2.2
  2. 3.0
  3. 3.1–4.0
  4. 5.0
  5. 6.0–9
  6. 10
  7. 11
  8. 12–13
  9. Arch

Author

Francis J. Lacoste <[email protected]>

From perl-net-ipv4addr 0.10-19 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.