UnixSage

Netmask Chart (IPv4)

Bitmask Dotted Quad Hexadecimal Wildcard
/0 0.0.0.0 0x00000000 255.255.255.255
/1 128.0.0.0 0x80000000 127.255.255.255
/2 192.0.0.0 0xc0000000 63.255.255.255
/3 224.0.0.0 0xe0000000 31.255.255.255
/4 240.0.0.0 0xf0000000 15.255.255.255
/5 248.0.0.0 0xf8000000 7.255.255.255
/6 252.0.0.0 0xfc000000 3.255.255.255
/7 254.0.0.0 0xfe000000 1.255.255.255
/8 255.0.0.0 0xff000000 0.255.255.255
/9 255.128.0.0 0xff800000 0.127.255.255
/10 255.192.0.0 0xffc00000 0.63.255.255
/11 255.224.0.0 0xffe00000 0.31.255.255
/12 255.240.0.0 0xfff00000 0.15.255.255
/13 255.248.0.0 0xfff80000 0.7.255.255
/14 255.252.0.0 0xfffc0000 0.3.255.255
/15 255.254.0.0 0xfffe0000 0.1.255.255
/16 255.255.0.0 0xffff0000 0.0.255.255
/17 255.255.128.0 0xffff8000 0.0.127.255
/18 255.255.192.0 0xffffc000 0.0.63.255
/19 255.255.224.0 0xffffe000 0.0.31.255
/20 255.255.240.0 0xfffff000 0.0.15.255
/21 255.255.248.0 0xfffff800 0.0.7.255
/22 255.255.252.0 0xfffffc00 0.0.3.255
/23 255.255.254.0 0xfffffe00 0.0.1.255
/24 255.255.255.0 0xffffff00 0.0.0.255
/25 255.255.255.128 0xffffff80 0.0.0.127
/26 255.255.255.192 0xffffffc0 0.0.0.63
/27 255.255.255.224 0xffffffe0 0.0.0.31
/28 255.255.255.240 0xfffffff0 0.0.0.15
/29 255.255.255.248 0xfffffff8 0.0.0.7
/30 255.255.255.252 0xfffffffc 0.0.0.3
/31 255.255.255.254 0xfffffffe 0.0.0.1
/32 255.255.255.255 0xffffffff 0.0.0.0