]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man5/networks.5
All pages: Remove the 5th argument to .TH
[thirdparty/man-pages.git] / man5 / networks.5
1 .\" Copyright (c) 2001 Martin Schulze <joey@infodrom.org>
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .\"
5 .\" 2008-09-04, mtk, taken from Debian downstream, with a few light edits
6 .\"
7 .TH NETWORKS 5 2008-09-04 "Linux man-pages (unreleased)"
8 .SH NAME
9 networks \- network name information
10 .SH DESCRIPTION
11 The file
12 .I /etc/networks
13 is a plain ASCII file that describes known DARPA networks and symbolic
14 names for these networks.
15 Each line represents a network and has the following structure:
16 .PP
17 .RS
18 .I name number aliases ...
19 .RE
20 .PP
21 where the fields are delimited by spaces or tabs.
22 Empty lines are ignored.
23 The hash character (\fB#\fP) indicates the start of a comment:
24 this character, and the remaining characters up to
25 the end of the current line,
26 are ignored by library functions that process the file.
27 .PP
28 The field descriptions are:
29 .TP
30 .I name
31 The symbolic name for the network.
32 Network names can contain any printable characters except
33 white-space characters or the comment character.
34 .TP
35 .I number
36 The official number for this network in numbers-and-dots notation (see
37 .BR inet (3)).
38 The trailing ".0" (for the host component of the network address)
39 may be omitted.
40 .TP
41 .I aliases
42 Optional aliases for the network.
43 .PP
44 This file is read by the
45 .BR route (8)
46 and
47 .BR netstat (8)
48 utilities.
49 Only Class A, B, or C networks are supported, partitioned networks
50 (i.e., network/26 or network/28) are not supported by this file.
51 .SH FILES
52 .TP
53 .I /etc/networks
54 The networks definition file.
55 .SH SEE ALSO
56 .BR getnetbyaddr (3),
57 .BR getnetbyname (3),
58 .BR getnetent (3),
59 .BR netstat (8),
60 .BR route (8)