1HTABLE(8)                   System Manager's Manual                  HTABLE(8)
2
3
4

NAME

6       htable - convert NIC standard format host tables
7

SYNOPSIS

9       /etc/htable [ -c connected-nets ] [ -l local-nets ] file
10

DESCRIPTION

12       Htable  is used to convert host files in the format specified in Inter‐
13       net RFC 810 to the format used by the network library routines.   Three
14       files  are  created as a result of running htable: hosts, networks, and
15       gateways.  The hosts file may be used by the gethostbyname(3N) routines
16       in  mapping host names to addresses if the nameserver, named(8), is not
17       used.  The networks file is used by the getnetent(3N) routines in  map‐
18       ping  network  names  to numbers.  The gateways file may be used by the
19       routing  daemon  in  identifying  ``passive''  Internet  gateways;  see
20       routed(8C) for an explanation.
21
22       If  any  of  the  files localhosts, localnetworks, or localgateways are
23       present in the current directory, the file's contents is  prepended  to
24       the  output  file.   Of  these,  only the gateways file is interpreted.
25       This allows sites to maintain local aliases and entries which  are  not
26       normally present in the master database.  Only one gateway to each net‐
27       work will be placed in the gateways  file;  a  gateway  listed  in  the
28       localgateways file will override any in the input file.
29
30       If  the  gateways  file  is to be used, a list of networks to which the
31       host is directly connected is specified with the  -c  flag.   The  net‐
32       works,  separated  by commas, may be given by name or in Internet-stan‐
33       dard dot notation,  e.g.   -c  arpanet,128.32,local-ether-net.   Htable
34       only  includes gateways which are directly connected to one of the net‐
35       works specified, or which can be reached from another gateway on a con‐
36       nected net.
37
38       If  the  -l option is given with a list of networks (in the same format
39       as for -c), these networks will be treated as ``local,''  and  informa‐
40       tion  about  hosts  on local networks is taken only from the localhosts
41       file.  Entries for local hosts from the main database will be  omitted.
42       This  allows  the localhosts file to completely override any entries in
43       the input file.
44
45       Htable is best used in conjunction with the gettable(8C) program  which
46       retrieves the NIC database from a host.
47

SEE ALSO

49       intro(3N), gettable(8C), named(8)
50

BUGS

52       If  the  name-domain  system provided network name mapping well as host
53       name mapping, htable would no longer be needed.
54
55
56
574.2 Berkeley Distribution        May 22, 1986                        HTABLE(8)
Impressum