Network IP address breakdown for 172.16.0.0/12 | Binary form | Dot-decimal notation |
---|---|---|
In bold below is shown the host part (suffix) of the IP address, with the network address prefix being the non-bold bits to its left. To obtain the broadcast address, the host bits get set to all 1's, while the network address prefix bits remain intact. | ||
1. Network IP Address | 10101100.00010000.00000000.00000000 | 172.16.0.0 |
2. Subnet Mask, or just 'Netmask' for short (The '/12' in the IP address in this case means only the left-most 12 bits are 1s, as shown here. This reserves the left 12 bits for the network address (prefix) and the right 32 - 12 = 20 bits for the host address (suffix).) | 11111111.11110000.00000000.00000000 | 255.240.0.0 |
3. Bit Complement (Bitwise NOT) of the Subnet Mask | 00000000.00001111.11111111.11111111 | 0.15.255.255 |
4. Broadcast address (Bitwise OR of 1. Network IP Address and 3. Bit Complement of the Subnet Mask. This makes the broadcast address the largest possible IP address (and host address, since the host address portion is all 1s) for any given network address.) | 10101100.00011111.11111111.11111111 | 172.31.255.255 |