1htable(1M)              System Administration Commands              htable(1M)
2
3
4

NAME

6       htable - convert DoD Internet format host table
7

SYNOPSIS

9       /usr/sbin/htable filename
10
11

DESCRIPTION

13       htable  converts a host table in the format specified by RFC 952 to the
14       format used by the network library routines.  Three files  are  created
15       as a result of running htable: hosts, networks, and gateways. The hosts
16       file is used by the gethostbyname(3NSL) routines in mapping host  names
17       to  addresses.   The networks file is used by the getnetbyname(3SOCKET)
18       routines in mapping network names to numbers. The gateways file is used
19       by the routing daemon to identify "passive" Internet gateways.
20
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 without interpretation.  This allows sites to maintain
25       local aliases and entries which are not normally present in the  master
26       database.
27
28
29       htable  is best used in conjunction with the gettable(1M) program which
30       retrieves the DoD Internet host table from a host.
31

FILES

33       localhosts
34
35
36       localnetworks
37
38
39       localgateways
40
41

ATTRIBUTES

43       See attributes(5) for descriptions of the following attributes:
44
45
46
47
48       ┌─────────────────────────────┬─────────────────────────────┐
49       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │Availability                 │SUNWnisu                     │
52       └─────────────────────────────┴─────────────────────────────┘
53

SEE ALSO

55       gettable(1M), gethostbyname(3NSL), getnetbyname(3SOCKET), attributes(5)
56       Harrenstien,  Ken, Mary Stahl, and Elizabeth Feinler, DoD Internet Host
57       Table Specification, RFC 952, Network Information Center, SRI  Interna‐
58       tional, Menlo Park, California, October 1985.
59

NOTES

61       htable does not properly calculate the gateways file.
62
63
64
65SunOS 5.11                        14 Sep 1992                       htable(1M)
Impressum