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