]> git.pld-linux.org Git - projects/rc-scripts.git/blame - man/ipcalc.1
rc.sysinit: unify modprobe calls
[projects/rc-scripts.git] / man / ipcalc.1
CommitLineData
792fd7dc 1.TH IPCALC 1 "April 30 2001" "Red Hat, Inc." RH \" -*- nroff -*-
7e04fe0e 2.SH NAME
3ipcalc \- perform simple manipulation of IP addresses
4.SH SYNOPSIS
5.B ipcalc
792fd7dc 6[\fIOPTION\fR]... <\fBIP address\fR>[\fI/prefix\fR] [\fInetmask\fR]
7e04fe0e 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
792fd7dc
AM
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.
7e04fe0e 14
15.SH OPTIONS
16.TP
792fd7dc
AM
17.TP
18\fB\-b\fR, \fB\-\-broadcast\fR
7e04fe0e 19Display the broadcast address for the given IP address and netmask.
20
792fd7dc
AM
21.TP
22\fB\-h\fR, \fB\-\-hostname\fR
7e04fe0e 23Display the hostname for the given IP address.
24
792fd7dc
AM
25.TP
26\fB\-m\fR, \fB\-\-netmask\fR
7e04fe0e 27Calculate the netmask for the given IP address. It assumes that the IP
792fd7dc 28address is in a complete class A, B, or C network. Many networks do
7e04fe0e 29not use the default netmasks, in which case an inappropriate value will
30be returned.
31
792fd7dc
AM
32.TP
33\fB\-p\fR, \fB\-\-prefix\fR
34Show the prefix for the given mask/IP address.
d2d2296f 35
792fd7dc
AM
36.TP
37\fB\-n\fR, \fB\-\-network\fR
7e04fe0e 38Display the network address for the given IP address and netmask.
39
792fd7dc
AM
40.TP
41\fB\-s\fR, \fB\-\-silent\fR
42Don't ever display error messages.
43
44.SH AUTHORS
7e04fe0e 45.nf
46Erik Troan <ewt@redhat.com>
792fd7dc
AM
47.nf
48Preston Brown <pbrown@redhat.com>
7e04fe0e 49.fi
792fd7dc
AM
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.
This page took 0.178482 seconds and 4 git commands to generate.