aboutsummaryrefslogtreecommitdiffstats
path: root/src/ipcalc.1
blob: c515329339c46fa90dd6f218ae578bcec8c00ac5 (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] [--network] \fBip \fI[netmask]\fR

.SH DESCRIPTION
\fBipcalc\fR provides a simple way to find the broadcast address, network
address, 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