forked from kjokjo/ipcalc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathipcalc.1
77 lines (76 loc) · 1.89 KB
/
ipcalc.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.\" -*- nroff -*-
.\"
.\" ipcalc.1
.\"
.\" This program was written by
.\" Krischan Jodies <[email protected]>
.\"
.\" This manpage was created by:
.\" Nick Clifford <[email protected]>
.\"
.\" The author of the program retains copyrights to the program, however
.\" his manpage is Copyright (c) 2003 Nick Clifford
.\"
.\" This program and this manpage is distributed under the terms of the
.\" GNU General Public License. See COPYING for additional information.
.\"
.TH ipcalc 1 .\" "ipcalc Manual" "Jan 25, 2003"
.SH NAME
ipcalc - An IPv4 Netmask/broadcast/etc calculator
.SH SYNOPSIS
\fB ipcalc \fR [options] \fIADDRESS\fR[[/]\fINETMASK\fR] [\fINETMASK\fR]
.SH DESCRIPTION
\fBipcalc\fR takes an IPv4 address and netmask and calculates
the resulting broadcast,
network, Cisco wildcard mask, and host range. By giving a second netmask, you
can design sub- and supernetworks. It is also intended to be a teaching tool
and presents the results as easy-to-understand binary values.
.TP
\fB--help\fR
Display help usage
.TP
\fB-n\fR, \fB--nocolor\fR
Don't display ANSI color codes
.TP
\fB-b\fR, \fB--nobinary\fR
Suppress the bitwise output
.TP
\fB-c\fR, \fB--class\fR
Just print bit-count-mask of given address
.TP
\fB-h\fR, \fB--html\fR
Display results as HTML
.TP
\fB-v\fR, \fB--version\fR
Print Version
.TP
\fB-s\fR, \fB--split\fR \fIn1\fR \fIn2\fR \fIn3\fR.
Split into networks of size n1, n2, n3
.TP
\fB-r\fR, \fB--range\fR
Deaggregate address range
.SH EXAMPLES
ipcalc 192.168.0.1/24
.PP
ipcalc 192.168.0.1/255.255.128.0
.PP
ipcalc 192.168.0.1 255.255.128.0 255.255.192.0
.PP
ipcalc 192.168.0.1 0.0.63.255
.PP
deaggregate address range
.RS
\fBipcalc <ADDRESS1> - <ADDRESS2>\fP
.RE
.PP
split network to subnets where a b c fits in
.RS
\fBipcalc <ADDRESS>/<NETMASK> -s a b c\fP
.RE
.SH AUTHOR
Written by Krischan Jodies <[email protected]>
.SH "SEE ALSO"
.BR ipsc (1)
.BR gipsc (1)
.PP
The ipcalc website: http://jodies.de/ipcalc