IPCALC

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
AUTHOR

NAME

ipcalc − perform simple manipulation of IP addresses

SYNOPSIS

ipcalc [--hostname] [--broadcast] [--network] [--netmask] ip [netmask]

DESCRIPTION

ipcalc provides a simple way to calculate IP information for a host. The various options specify what information ipcalc should display on standard out. Multiple options may be specified.

OPTIONS

--broadcast

Display the broadcast address for the given IP address and netmask.

--hostname

Display the hostname for the given IP address.

--netmask

Calculate the netmask for the given IP address. It assumes that the IP address is in a complete Class A, B, or C network. Many networks do not use the default netmasks, in which case an inappropriate value will be returned.

--network

Display the network address for the given IP address and netmask.

--silent

Don’t ever display error messages.

AUTHOR

Erik Troan <ewt@redhat.com>