htable(8)
NAME
htable − convert NIC standard format host tables
SYNTAX
/etc/htable file
DESCRIPTION
The htable program is used to convert host files in the format specified in Internet RFC 810 to the format used by the network library routines. Three files are created as a result of running htable: hosts, networks, and gateways. The hosts file is used by the gethostent(3n) routines in mapping host names to addresses. The networks file is used by the getnetent(3n) routines in mapping network names to numbers. The gateways file is used by the routing daemon in identifying passive Internet gateways; see routed(8c) for an explanation.
If any of the files localhosts, localnetworks, or localgateways are present in the current directory, the file’s contents is prepended to the output file without interpretation. This allows sites to maintain local aliases and entries which are not normally present in the master database.
The htable program is best used in conjunction with the gettable(8c) program which retrieves the NIC database from a host.
RESTRICTIONS
Does not properly calculate the gateways file.
SEE ALSO
Maintenance