Subnet Mask Examples

The following table offers some examples of different addresses and prefixes, along with the decimal and binary representations of the associated subnet mask.

Address/PrefixSubnet Mask in DecimalDefault Mask in Binary
192.168.112.0/21255.255.248.011111111.11111111.11111000.00000000
172.16.0.0/16255.255.0.011111111.11111111.00000000.00000000
10.1.1.0/27255.255.255.22411111111.11111111.11111111.11100000

Get BSCI Exam Cram™ 2 (Exam 642-801) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.