ClearOS Documentation



301 error for file:

User Tools

Site Tools

Network Notation

On several ClearOS configuration screens, you will see places to configure network settings. What does this mean? Using special notation, you can specify a whole range of IP addresses (for example, a network).

There are two parts to “network notation”: the first part contains the first IP address in the network range; the second part contains the subnet mask (for example, the size of the network). There are two common ways to write the subnet mask. Unfortunately, both ways are something that only computer engineers enjoy.

Let's go through an example. The ClearOS mail server will only send out mail coming from a trusted network – you don't want anyone on the Internet using your mail server and all your bandwidth! In our example, all of the machines on our LAN use IP addresses with 192.168.1.x IP addresses. The subnet mask for these 256 IP addresses can be specified with either /24 or The full network notation ends up looking like:

  •, or

By the way, the first and last addresses ( and in our example) are reserved and cannot be used. We really only have 254 usable IP addresses in our case.


The table below is a list of common netmasks.

Netmask IPs Example Usable Range
/8 – 16777214 -
/16 – 65534 -
/24 – 254 -
/25 – 126 -
/26 – 62 -
/27 – 30 -
/28 – 14 -
/29 – 6 -
/30 – 2 -
content/en_us/5_network_notation.txt · Last modified: 2015/03/02 08:27 (external edit)