Contains network masks used to implement Internet Protocol (IP) standard subnetting.
The /etc/netmasks file contains network masks used to implement IP standard subnetting. This file contains a line for each network that is subnetted. Each line consists of the network number, any number of spaces or tabs, and the network mask to use on that network. Network numbers and masks may be specified in the conventional IP . (dot) notation (similar to IP host addresses, but with zeroes for the host part). The following number is a line from a netmask file:
128.32.0.0 255.255.255.0
This number specifies that the Class B network 128.32.0.0 has 8 bits of subnet field and 8 bits of host field, in addition to the standard 16 bits in the network field. When running network information service, this file on the master is used for the netmasks.byaddr map.
Item | Description |
---|---|
/etc/netmasks | Specifies the path of the file. |