1.TH "GETHOSTIP" "1" 2.SH "NAME" 3gethostip \(em convert an IP address into various formats 4.SH "SYNOPSIS" 5.PP 6\fBgethostip\fR [\fB-dxnf\fP] [\fB\fIHOSTNAME|IP\fR\fP] 7.SH "DESCRIPTION" 8.PP 9This manual page documents briefly the 10\fBgethostip\fR command. 11.PP 12The \fBgethostip\fR utility converts the given hostname or 13IP address into a variety formats. It is provided by the syslinux 14package to make it easier to calculate the appropriate names for 15pxelinux configuration files. These filenames can be the complete 16hexadecimal representation for a given IP address, or a partial 17hexadecimal representation to match a range of IP addresses. 18 19.SH "OPTIONS" 20.PP 21A summary of options is included below. 22.IP "\fB-d\fP" 10 23Output the IP address in decimal format. 24.IP "\fB-x\fP" 10 25Output the IP address in hexadecimal format. 26.IP "\fB-n\fP" 10 27Output the host's canonical name. 28.IP "\fB-f\fP" 10 29Full output. Outputs the IP address in all supported formats. 30Same as \fB-xdn\fP. 31 32.SH "SEE ALSO" 33.PP 34\fBsyslinux\fR(1) 35 36.PP 37More details can be found in the pxelinux documentation, which 38can be found in 39\fB/usr/share/doc/syslinux/pxelinux.doc.gz\fP on 40\fBDebian GNU/Linux\fP systems. 41 42.SH "AUTHOR" 43.PP 44This manual page was compiled by dann frazier <dannf@debian.org> for 45the \fBDebian GNU/Linux\fP system (but may be used by others). 46

