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