|NETWORKS(5)||File Formats and Configurations||NETWORKS(5)|
The network file has a single line for each network, with the following information:
official-network-name network-number aliases
Items are separated by any number of SPACE 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(3C). Network names may contain any printable character other than a field delimiter, NEWLINE, or comment character.
The network number in networks database is the host address shifted to the right by the number of 0 bits in the address mask. For example, for the address 188.8.131.52 that has a mask of fffffe00, its network number is 803351. This is obtained when the address is shifted right by 9 bits. The address maps to 12.66.23. The trailing 0 bits should not be specified. The network number here is different from that described in netmasks(5). For this example, the entry in netmasks would be 184.108.40.206 fffffe00.
|March 30, 2022||OmniOS|