100 | F-Secure Policy Manager | NSC notation for netmasks
NSC notation details
NSC notation is a standard shorthand notation, which combines a network address with its associated netmask.
NSC notation defines the number of contiguous one-bits in the netmask with a slash and a number following
the network address. Here is a simple example:
Network address
192.168.0.0
192.168.1.0
192.168.1.255
NSC notation is not compatible with networks that use "comb" style netmasks, where all one-bits are not
contiguous. The following table gives the number of bits for each permitted netmask.
The .0.0.0/0 is a special network definition reserved for the default route.
Netmask
128.0.0.0
192.0.0.0
224.0.0.0
240.0.0.0
248.0.0.0
252.0.0.0
254.0.0.0
255.0.0.0
255.128.0.0
255.192.0.0
255.224.0.0
255.240.0.0
255.248.0.0
255.252.0.0
255.254.0.0
255.255.0.0
255.255.128.0
255.255.192.0
255.255.224.0
255.255.240.0
255.255.248.0
255.255.252.0
255.255.254.0
255.255.255.0
255.255.255.128
255.255.255.192
255.255.255.224
Netmask
255.255.0.0
255.255.255.0
255.255.255.255
Bits
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
NSC notation
192.168.0.0/16
192.168.1.0/24
192.168.1.255/32