Subnet mask
Configuring subnetworks makes it possible to connect many totally different networks located in totally different areas because each subnetwork receives its own address and can therefore be addressed by the router. A subnetwork is created when the IP address is linked with a subnet mask:
If a bit in the subnet mask is set, the corresponding bit in the IP address is considered a part of the network address. If a bit is not set in the subnet mask, the corresponding bit in the IP address is used as a part of the PC address.
The value of the subnet mask, as with IP addresses, is often given in decimal form (for example, 255.255.255.0 for IPv4 addresses).