Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ networks(4) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getnetbyname(3N)

inet(3N)

nsswitch.conf(4)

inet(7)

networks(4)

NAME

networks − network name database

DESCRIPTION

The networks file is a local source of information regarding the networks which comprise the Internet.  The networks  file can be used in conjunction with, or instead of, other networks sources, including the NIS maps networks.byname and networks.byaddr and the NIS+ table networks.  Programs use the getnetbyname(3N) routines to access this information. 

The network file has a single line for each network, with the following information:

official-network-namenetwork-numberaliases

Items are separated by any number of SPACE and/or TAB characters.  A ‘#’ indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines which search the file.  This file is normally created from the official network database maintained at the Network Information Control Center (NIC), though local changes may be required to bring it up to date regarding unofficial aliases and/or unknown networks. 

Network numbers may be specified in the conventional dot (‘.’) notation using the inet_network routine from the Internet address manipulation library, inet(7).  Network names may contain any printable character other than a field delimiter, NEWLINE, or comment character. 

FILES

/etc/networks

SEE ALSO

getnetbyname(3N), inet(3N), nsswitch.conf(4), inet(7)

SunOS 5.1  —  Last change: 10 Dec 1991

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026