]> git.pld-linux.org Git - projects/rc-scripts.git/blame - doc/ipcalc.1
added initlog.1
[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
6\fI[--hostname] [--broadcast] [--network] [--netmask] \fBip \fI[netmask]\fR
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
27.IP \fI--network\fR
28Display the network address for the given IP address and netmask.
29
30.SH AUTHOR
31.nf
32Erik Troan <ewt@redhat.com>
33.fi
This page took 0.035799 seconds and 4 git commands to generate.