1networks(5)                   File Formats Manual                  networks(5)
2
3
4

NAME

6       networks - network name information
7

DESCRIPTION

9       The file /etc/networks is a plain ASCII file that describes known DARPA
10       networks and symbolic names for these networks.  Each line represents a
11       network and has the following structure:
12
13              name number aliases ...
14
15       where  the fields are delimited by spaces or tabs.  Empty lines are ig‐
16       nored.  The hash character (#) indicates the start of a  comment:  this
17       character,  and  the  remaining characters up to the end of the current
18       line, are ignored by library functions that process the file.
19
20       The field descriptions are:
21
22       name   The symbolic name for the network.  Network  names  can  contain
23              any  printable  characters  except white-space characters or the
24              comment character.
25
26       number The official number for this network in  numbers-and-dots  nota‐
27              tion  (see  inet(3)).  The trailing ".0" (for the host component
28              of the network address) may be omitted.
29
30       aliases
31              Optional aliases for the network.
32
33       This file is read by the route(8) and netstat(8) utilities.  Only Class
34       A,  B,  or  C  networks are supported, partitioned networks (i.e., net‐
35       work/26 or network/28) are not supported by this file.
36

FILES

38       /etc/networks
39              The networks definition file.
40

SEE ALSO

42       getnetbyaddr(3), getnetbyname(3), getnetent(3), netstat(8), route(8)
43
44
45
46Linux man-pages 6.04              2022-10-30                       networks(5)
Impressum