]> git.pld-linux.org Git - projects/rc-scripts.git/blame - doc/ipcalc.1
- more clear explanation of HOSTNAME and NISDOMAIN
[projects/rc-scripts.git] / doc / ipcalc.1
CommitLineData
7e04fe0e 1.TH IPCALC 1 "Red Hat Software" "RHS" \" -*- nroff -*-
2.SH NAME
3ipcalc \- perform simple manipulation of IP addresses
4.SH SYNOPSIS
5.B ipcalc
9fa63d64 6\fI[--hostname] [--broadcast] [--network] [--netmask] [--prefix] \fBip \fI[netmask]\fR
7e04fe0e 7
8.SH DESCRIPTION
9\fBipcalc\fR provides a simple way to calculate IP information for a host.
10The various options specify what information \fBipcalc\fR should display
11on standard out. Multiple options may be specified.
12
13.SH OPTIONS
14.TP
15.IP \fI--broadcast\fR
16Display the broadcast address for the given IP address and netmask.
17
18.IP \fI--hostname\fR
19Display the hostname for the given IP address.
20
21.IP \fI--netmask\fR
22Calculate the netmask for the given IP address. It assumes that the IP
23address is in a complete Class A, B, or C network. Many networks do
24not use the default netmasks, in which case an inappropriate value will
25be returned.
26
d2d2296f 27.IP \fI--prefix\fR
9fa63d64 28That same as \fB--netmask\fR but return prefix (see CIDR specification)
d2d2296f 29
7e04fe0e 30.IP \fI--network\fR
31Display the network address for the given IP address and netmask.
32
33.SH AUTHOR
34.nf
35Erik Troan <ewt@redhat.com>
d2d2296f 36Modifications: Arkadiusz Miskiewicz <misiek@pld.org.pl>
7e04fe0e 37.fi
This page took 0.120068 seconds and 4 git commands to generate.