aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipcalc.1
blob: 782f8f8e1c946b8d0e99e3f8c48616ff9ac3d0a7 (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
.TH IPCALC 1 "Red Hat Software" "RHS" \" -*- nroff -*-
.SH NAME
ipcalc \- perform simple manipulation of ip addresses
.SH SYNOPSIS
.B ipcalc
\fI[--hostname] [--broadcast] [--netmask] \fBip \fI[netmask]\fR

.SH DESCRIPTION
\fBipcalc\fR provides a simple way to find the broadcast address, netmask,
or hostname for a given IP address and netmask (no netmask is needed if
only the hostname is requested). 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--network\fR 
Display the network address for the given ip address and netmask.

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