GNU/Linux |
RedHat 5.2(Apollo) |
|
![]() |
ipcalc(1) |
![]() |
ipcalc − perform simple manipulation of IP addresses
ipcalc [--hostname] [--broadcast] [--network] [--netmask] ip [netmask]
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.
--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.
Erik Troan <ewt@redhat.com>
![]() |
ipcalc(1) | ![]() |