ネットマスク変換早見表

IPv4のネットワークにおけるネットマスクの表記を変換するための早見表です。

ビット
マスク
サブネットマスクIPアドレス数16進数2進数
/32255.255.255.25510xffffffff11111111.11111111.11111111.11111111
/31255.255.255.25420xfffffffe11111111.11111111.11111111.11111110
/30255.255.255.25240xfffffffc11111111.11111111.11111111.11111100
/29255.255.255.24880xfffffff811111111.11111111.11111111.11111000
/28255.255.255.240160xfffffff011111111.11111111.11111111.11110000
/27255.255.255.224320xffffffe011111111.11111111.11111111.11100000
/26255.255.255.192640xffffffc011111111.11111111.11111111.11000000
/25255.255.255.1281280xffffff8011111111.11111111.11111111.10000000
/24255.255.255.02560xffffff0011111111.11111111.11111111.00000000
/23255.255.254.05120xfffffe0011111111.11111111.11111110.00000000
/22255.255.252.01,0240xfffffc0011111111.11111111.11111100.00000000
/21255.255.248.02,0480xfffff80011111111.11111111.11111000.00000000
/20255.255.240.04,0960xfffff00011111111.11111111.11110000.00000000
/19255.255.224.08,1920xffffe00011111111.11111111.11100000.00000000
/18255.255.192.016,3840xffffc00011111111.11111111.11000000.00000000
/17255.255.128.032,7680xffff800011111111.11111111.10000000.00000000
/16255.255.0.065,5360xffff000011111111.11111111.00000000.00000000
/15255.254.0.0131,0720xfffe000011111111.11111110.00000000.00000000
/14255.252.0.0262,1440xfffc000011111111.11111100.00000000.00000000
/13255.248.0.0524,2880xfff8000011111111.11111000.00000000.00000000
/12255.240.0.01,048,5760xfff0000011111111.11110000.00000000.00000000
/11255.224.0.02,097,1520xffe0000011111111.11100000.00000000.00000000
/10255.192.0.04,194,3040xffc0000011111111.11000000.00000000.00000000
/9255.128.0.08,388,6080xff80000011111111.10000000.00000000.00000000
/8255.0.0.016,777,2160xff00000011111111.00000000.00000000.00000000
/7254.0.0.033,554,4320xfe00000011111110.00000000.00000000.00000000
/6252.0.0.067,108,8640xfc00000011111100.00000000.00000000.00000000
/5248.0.0.0134,217,7280xf800000011111000.00000000.00000000.00000000
/4240.0.0.0268,435,4560xf000000011110000.00000000.00000000.00000000
/3224.0.0.0536,870,9120xe000000011100000.00000000.00000000.00000000
/2192.0.0.01,073,741,8240xc000000011000000.00000000.00000000.00000000
/1128.0.0.02,147,483,6480x8000000010000000.00000000.00000000.00000000