source: projects/initscripts/tags/initscripts-8.91.3/src/ipcalc.1 @ 1108

Revision 1108, 1.6 KB checked in by daisuke, 14 years ago (diff)

import initscripts-8.90.6 from internal cvs repository

Line 
1.TH IPCALC 1 "April 30 2001" "Red Hat, Inc." RH \" -*- nroff -*-
2.SH NAME
3ipcalc \- perform simple manipulation of IP addresses
4.SH SYNOPSIS
5.B ipcalc
6[\fIOPTION\fR]... <\fBIP address\fR>[\fI/prefix\fR] [\fInetmask\fR]
7
8.SH DESCRIPTION
9\fBipcalc\fR provides a simple way to calculate IP information for a host.
10The various options specify what information \fBipcalc\fR should display
11on standard out. Multiple options may be specified.  An IP address to
12operate on must always be specified.  Most operations also require a
13netmask or a CIDR prefix as well.
14
15.SH OPTIONS
16.TP
17.TP
18\fB\-b\fR, \fB\-\-broadcast\fR
19Display the broadcast address for the given IP address and netmask.
20
21.TP
22\fB\-h\fR, \fB\-\-hostname\fR
23Display the hostname for the given IP address.
24
25.TP
26\fB\-m\fR, \fB\-\-netmask\fR
27Calculate the netmask for the given IP address. It assumes that the IP
28address is in a complete class A, B, or C network. Many networks do
29not use the default netmasks, in which case an inappropriate value will
30be returned.
31
32.TP
33\fB\-p\fR, \fB\-\-prefix\fR
34Show the prefix for the given mask/IP address.
35
36.TP
37\fB\-n\fR, \fB\-\-network\fR
38Display the network address for the given IP address and netmask.
39
40.TP
41\fB\-s\fR, \fB\-\-silent\fR
42Don't ever display error messages.
43
44.SH AUTHORS
45.nf
46Erik Troan <ewt@redhat.com>
47.nf
48Preston Brown <pbrown@redhat.com>
49.fi
50.SH "REPORTING BUGS"
51Report bugs to our bugtracking system:
52http://bugzilla.redhat.com/bugzilla.
53.SH COPYRIGHT
54Copyright \(co 1997-2001 Red Hat, Inc.
55.br
56This is free software; see the source for copying conditions.  There is NO
57warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
58PURPOSE.
Note: See TracBrowser for help on using the repository browser.