]>
Commit | Line | Data |
---|---|---|
7e04fe0e | 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 | |
9fa63d64 | 6 | \fI[--hostname] [--broadcast] [--network] [--netmask] [--prefix] \fBip \fI[netmask]\fR |
7e04fe0e | 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 | ||
d2d2296f | 27 | .IP \fI--prefix\fR |
9fa63d64 | 28 | That same as \fB--netmask\fR but return prefix (see CIDR specification) |
d2d2296f | 29 | |
7e04fe0e | 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> | |
ec8b15cb | 36 | Modifications: Arkadiusz Miskiewicz <misiek@pld-linux.org> |
7e04fe0e | 37 | .fi |