Crap that we should remember.
A shorter and easier form for representing a subnet mask is a Classless Inter-Domain Routing (CIDR) form. It's an IP address followed by a slash (/) and the number of one bits in the binary notation of the subnet mask (or only /number-of-bits). For example we have an IP address 192.168.100.25 with a subnet mask 255.255.255.240, binary form of this mask is 11111111.11111111.11111111.11110000, so a CIDR representation is 192.168.100.25/28.
Post a Comment