{"id":2860,"date":"2018-04-20T09:20:29","date_gmt":"2018-04-20T09:20:29","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=2860"},"modified":"2018-04-20T09:20:29","modified_gmt":"2018-04-20T09:20:29","slug":"netmask-conversions","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=2860","title":{"rendered":"Netmask Conversions"},"content":{"rendered":"<p>If you have ever needed to know what a netmask looks like expressed in some other format this table of equivalents should help. It contains common IPv4 netmasks expressed in four different formats.<\/p>\n<table class=\"info\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<th>Bitmask (Bits)<\/th>\n<th>Dotted Decimal<\/th>\n<th>Hexadecimal<\/th>\n<th>Binary<\/th>\n<\/tr>\n<tr>\n<td>\/0<\/td>\n<td>0.0.0.0<\/td>\n<td>0x00000000<\/td>\n<td>00000000 00000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/1<\/td>\n<td>128.0.0.0<\/td>\n<td>0x80000000<\/td>\n<td>10000000 00000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/2<\/td>\n<td>192.0.0.0<\/td>\n<td>0xc0000000<\/td>\n<td>11000000 00000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/3<\/td>\n<td>224.0.0.0<\/td>\n<td>0xe0000000<\/td>\n<td>11100000 00000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/4<\/td>\n<td>240.0.0.0<\/td>\n<td>0xf0000000<\/td>\n<td>11110000 00000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/5<\/td>\n<td>248.0.0.0<\/td>\n<td>0xf8000000<\/td>\n<td>11111000 00000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/6<\/td>\n<td>252.0.0.0<\/td>\n<td>0xfc000000<\/td>\n<td>11111100 00000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/7<\/td>\n<td>254.0.0.0<\/td>\n<td>0xfe000000<\/td>\n<td>11111110 00000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/8<\/td>\n<td>255.0.0.0<\/td>\n<td>0xff000000<\/td>\n<td>11111111 00000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/9<\/td>\n<td>255.128.0.0<\/td>\n<td>0xff800000<\/td>\n<td>11111111 10000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/10<\/td>\n<td>255.192.0.0<\/td>\n<td>0xffc00000<\/td>\n<td>11111111 11000000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/11<\/td>\n<td>255.224.0.0<\/td>\n<td>0xffe00000<\/td>\n<td>11111111 11100000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/12<\/td>\n<td>255.240.0.0<\/td>\n<td>0xfff00000<\/td>\n<td>11111111 11110000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/13<\/td>\n<td>255.248.0.0<\/td>\n<td>0xfff80000<\/td>\n<td>11111111 11111000 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/14<\/td>\n<td>255.252.0.0<\/td>\n<td>0xfffc0000<\/td>\n<td>11111111 11111100 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/15<\/td>\n<td>255.254.0.0<\/td>\n<td>0xfffe0000<\/td>\n<td>11111111 11111110 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/16<\/td>\n<td>255.255.0.0<\/td>\n<td>0xffff0000<\/td>\n<td>11111111 11111111 00000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/17<\/td>\n<td>255.255.128.0<\/td>\n<td>0xffff8000<\/td>\n<td>11111111 11111111 10000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/18<\/td>\n<td>255.255.192.0<\/td>\n<td>0xffffc000<\/td>\n<td>11111111 11111111 11000000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/19<\/td>\n<td>255.255.224.0<\/td>\n<td>0xffffe000<\/td>\n<td>11111111 11111111 11100000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/20<\/td>\n<td>255.255.240.0<\/td>\n<td>0xfffff000<\/td>\n<td>11111111 11111111 11110000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/21<\/td>\n<td>255.255.248.0<\/td>\n<td>0xfffff800<\/td>\n<td>11111111 11111111 11111000 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/22<\/td>\n<td>255.255.252.0<\/td>\n<td>0xfffffc00<\/td>\n<td>11111111 11111111 11111100 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/23<\/td>\n<td>255.255.254.0<\/td>\n<td>0xfffffe00<\/td>\n<td>11111111 11111111 11111110 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/24<\/td>\n<td>255.255.255.0<\/td>\n<td>0xffffff00<\/td>\n<td>11111111 11111111 11111111 00000000<\/td>\n<\/tr>\n<tr>\n<td>\/25<\/td>\n<td>255.255.255.128<\/td>\n<td>0xffffff80<\/td>\n<td>11111111 11111111 11111111 10000000<\/td>\n<\/tr>\n<tr>\n<td>\/26<\/td>\n<td>255.255.255.192<\/td>\n<td>0xffffffc0<\/td>\n<td>11111111 11111111 11111111 11000000<\/td>\n<\/tr>\n<tr>\n<td>\/27<\/td>\n<td>255.255.255.224<\/td>\n<td>0xffffffe0<\/td>\n<td>11111111 11111111 11111111 11100000<\/td>\n<\/tr>\n<tr>\n<td>\/28<\/td>\n<td>255.255.255.240<\/td>\n<td>0xfffffff0<\/td>\n<td>11111111 11111111 11111111 11110000<\/td>\n<\/tr>\n<tr>\n<td>\/29<\/td>\n<td>255.255.255.248<\/td>\n<td>0xfffffff8<\/td>\n<td>11111111 11111111 11111111 11111000<\/td>\n<\/tr>\n<tr>\n<td>\/30<\/td>\n<td>255.255.255.252<\/td>\n<td>0xfffffffc<\/td>\n<td>11111111 11111111 11111111 11111100<\/td>\n<\/tr>\n<tr>\n<td>\/31<\/td>\n<td>255.255.255.254<\/td>\n<td>0xfffffffe<\/td>\n<td>11111111 11111111 11111111 11111110<\/td>\n<\/tr>\n<tr>\n<td>\/32<\/td>\n<td>255.255.255.255<\/td>\n<td>0xffffffff<\/td>\n<td>11111111 11111111 11111111 11111111<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>If you have ever needed to know what a netmask looks like expressed in some other format this table of equivalents should [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2860","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2860"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/2860\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}