[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    netmasks(4) manual page Table of Contents

Name

netmasks - network mask database

Synopsis

/etc/inet/netmasks
/etc/netmasks

Description

The netmasks file contains network masks used to implement IP standard subnetting. For each network that is subnetted, a single line should exist in this file with the network number, any number of SPACE or TAB characters, and the network mask to use on that network. Network numbers and masks may be specified in the conventional IP dot (‘.’) notation (like IP host addresses, but with zeroes for the host part). For example,

128.32.0.0 255.255.255.0

can be used to specify that the Class B network 128.32.0.0 should have eight bits of subnet field and eight bits of host field, in addition to the standard sixteen bits in the network field. Invalid entries are ignored.

See Also

ifconfig(1M) , inet(7P)

Postel, Jon, and Mogul, Jeff, Internet Standard Subnetting Procedure, RFC 950, Network Information Center, SRI International, Menlo Park, Calif., August 1985.

Notes

/etc/inet/netmasks is the official SVR4 name of the netmasks file. The symbolic link /etc/netmasks exists for BSD compatibility.


Table of Contents