aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipcalc.1
blob: 2a72aa3d4d619af21818e399e78e3aacaab699ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.TH IPCALC 1 "Red Hat Software" "RHS" \" -*- nroff -*-
.SH NAME
ipcalc \- perform simple manipulation of IP addresses
.SH SYNOPSIS
.B ipcalc
\fI[--hostname] [--broadcast] [--network] [--netmask] \fBip \fI[netmask]\fR

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

.SH OPTIONS
.TP
.IP \fI--broadcast\fR 
Display the broadcast address for the given IP address and netmask.

.IP \fI--hostname\fR 
Display the hostname for the given IP address.

.IP \fI--netmask\fR
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.

.IP \fI--network\fR 
Display the network address for the given IP address and netmask.

.SH AUTHOR
.nf
Erik Troan <ewt@redhat.com>
.fi