Blame man5/networks.5

Packit 7cfc04
.\" Copyright (c) 2001 Martin Schulze <joey@infodrom.org>
Packit 7cfc04
.\"
Packit 7cfc04
.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
Packit 7cfc04
.\" This is free documentation; you can redistribute it and/or
Packit 7cfc04
.\" modify it under the terms of the GNU General Public License as
Packit 7cfc04
.\" published by the Free Software Foundation; either version 2 of
Packit 7cfc04
.\" the License, or (at your option) any later version.
Packit 7cfc04
.\"
Packit 7cfc04
.\" The GNU General Public License's references to "object code"
Packit 7cfc04
.\" and "executables" are to be interpreted as the output of any
Packit 7cfc04
.\" document formatting or typesetting system, including
Packit 7cfc04
.\" intermediate and printed output.
Packit 7cfc04
.\"
Packit 7cfc04
.\" This manual is distributed in the hope that it will be useful,
Packit 7cfc04
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 7cfc04
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 7cfc04
.\" GNU General Public License for more details.
Packit 7cfc04
.\"
Packit 7cfc04
.\" You should have received a copy of the GNU General Public
Packit 7cfc04
.\" License along with this manual; if not, see
Packit 7cfc04
.\" <http://www.gnu.org/licenses/>.
Packit 7cfc04
.\" %%%LICENSE_END
Packit 7cfc04
.\"
Packit 7cfc04
.\" 2008-09-04, mtk, taken from Debian downstream, with a few light edits
Packit 7cfc04
.\"
Packit 7cfc04
.TH NETWORKS 5 2008-09-04 "GNU/Linux" "Linux System Administration"
Packit 7cfc04
.SH NAME
Packit 7cfc04
networks \- network name information
Packit 7cfc04
.SH DESCRIPTION
Packit 7cfc04
The file
Packit 7cfc04
.I /etc/networks
Packit 7cfc04
is a plain ASCII file that describes known DARPA networks and symbolic
Packit 7cfc04
names for these networks.
Packit 7cfc04
Each line represents a network and has the following structure:
Packit 7cfc04
.PP
Packit 7cfc04
.RS
Packit 7cfc04
.I name number aliases ...
Packit 7cfc04
.RE
Packit 7cfc04
.PP
Packit 7cfc04
where the fields are delimited by spaces or tabs.
Packit 7cfc04
Empty lines are ignored.
Packit 7cfc04
The hash character (\fB#\fP) indicates the start of a comment:
Packit 7cfc04
this character, and the remaining characters up to
Packit 7cfc04
the end of the current line,
Packit 7cfc04
are ignored by library functions that process the file.
Packit 7cfc04
.PP
Packit 7cfc04
The field descriptions are:
Packit 7cfc04
.TP
Packit 7cfc04
.I name
Packit 7cfc04
The symbolic name for the network.
Packit 7cfc04
Network names can contain any printable characters except
Packit 7cfc04
white-space characters or the comment character.
Packit 7cfc04
.TP
Packit 7cfc04
.I number
Packit 7cfc04
The official number for this network in numbers-and-dots notation (see
Packit 7cfc04
.BR inet (3)).
Packit 7cfc04
The trailing ".0" (for the host component of the network address) may be omitted.
Packit 7cfc04
.TP
Packit 7cfc04
.I aliases
Packit 7cfc04
Optional aliases for the network.
Packit 7cfc04
.PP
Packit 7cfc04
.PP
Packit 7cfc04
This file is read by the
Packit 7cfc04
.BR route (8)
Packit 7cfc04
and
Packit 7cfc04
.BR netstat (8)
Packit 7cfc04
utilities.
Packit 7cfc04
Only Class A, B or C networks are supported, partitioned networks
Packit 7cfc04
(i.e., network/26 or network/28) are not supported by this facility.
Packit 7cfc04
.SH FILES
Packit 7cfc04
.TP
Packit 7cfc04
.I /etc/networks
Packit 7cfc04
The networks definition file.
Packit 7cfc04
.SH SEE ALSO
Packit 7cfc04
.BR getnetbyaddr (3),
Packit 7cfc04
.BR getnetbyname (3),
Packit 7cfc04
.BR getnetent (3),
Packit 7cfc04
.BR netstat (8),
Packit 7cfc04
.BR route (8)
Packit 7cfc04
.SH COLOPHON
Packit 7cfc04
This page is part of release 4.15 of the Linux
Packit 7cfc04
.I man-pages
Packit 7cfc04
project.
Packit 7cfc04
A description of the project,
Packit 7cfc04
information about reporting bugs,
Packit 7cfc04
and the latest version of this page,
Packit 7cfc04
can be found at
Packit 7cfc04
\%https://www.kernel.org/doc/man\-pages/.