netmask
The older dotted way of writing a prefix length, such as 255.255.255.0 for /24, where one bits mark the network part.
In more detail
Each 255 is eight network bits, so 255.255.255.0 and /24 mean the same boundary. Some tools and configuration files still use it. Converting between the two forms is just counting the one bits.
Related terms
- prefix length — The number after the slash in an address such as 192.0.2.42/24, saying how many leading bits identify the network.
- subnet — A range of IP addresses sharing the same network prefix, such as 192.0.2.0/24, whose members can reach each other without a router.
- network and host bits — The two halves of an IP address split by its prefix length: the network bits name the subnet and the host bits name one interface within it.
Taught in
- IP Addresses, Netmasks And Subnets — Linux Fundamentals & Systems Administration