aboutsummaryrefslogtreecommitdiffstats
path: root/man/gethostip.1
blob: 02081f1edf1017d5a610b059f0e13a414bc92a6a (plain)
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
.TH "GETHOSTIP" "1"
.SH "NAME"
gethostip \(em convert an IP address into various formats
.SH "SYNOPSIS"
.PP
\fBgethostip\fR [\fB-dxnf\fP]  [\fB\fIHOSTNAME|IP\fR\fP]
.SH "DESCRIPTION"
.PP
This manual page documents briefly the
\fBgethostip\fR command.
.PP
The \fBgethostip\fR utility converts the given hostname or
IP address into a variety formats.  It is provided by the syslinux
package to make it easier to calculate the appropriate names for
pxelinux configuration files.  These filenames can be the complete
hexadecimal representation for a given IP address, or a partial
hexadecimal representation to match a range of IP addresses.

.SH "OPTIONS"
.PP
A summary of options is included below.
.IP "\fB-d\fP" 10
Output the IP address in decimal format.
.IP "\fB-x\fP" 10
Output the IP address in hexadecimal format.
.IP "\fB-n\fP" 10
Output the host's canonical name.
.IP "\fB-f\fP" 10
Full output.  Outputs the IP address in all supported formats.
Same as \fB-xdn\fP.

.SH "SEE ALSO"
.PP
\fBsyslinux\fR(1)

.PP
More details can be found in the pxelinux documentation, which
can be found in
\fB/usr/share/doc/syslinux/pxelinux.doc.gz\fP on
\fBDebian GNU/Linux\fP systems.

.SH "AUTHOR"
.PP
This manual page was compiled by dann frazier <dannf@debian.org> for
the \fBDebian GNU/Linux\fP system (but may be used by others).