{"id":191,"date":"2015-09-06T22:23:25","date_gmt":"2015-09-06T22:23:25","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=191"},"modified":"2015-09-06T22:23:25","modified_gmt":"2015-09-06T22:23:25","slug":"ccent-5-s01-e18-adv-tcp-working-with-binary","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=191","title":{"rendered":"CCENT 5 S01 E18 \u2013 Adv TCP: Working with Binary"},"content":{"rendered":"<h3>Reviewing the basics of IP<\/h3>\n<p>IPv4 Addresses:<\/p>\n<ul>\n<li>4 Octet Address, each octet = 1 byte.<\/li>\n<li>32 Total Bits<\/li>\n<li>Can be one of 3 classes, A, B or C\n<ul>\n<li>A: 001 &#8211; 126, 16,777,214 Hosts (256^3 &#8211; 2)<\/li>\n<li>B: 128 &#8211; 191, 65,534 Hosts (256^2 &#8211; 2)<\/li>\n<li>C: 192 &#8211; 223, 254 Hosts (256 &#8211; 2)<\/li>\n<\/ul>\n<\/li>\n<li>When combined with a Subnet Mask, defines the Network and Host portions<\/li>\n<li>Operates at Layer 3 of the OSI Model (Network)<\/li>\n<\/ul>\n<h3>A Preview of what is to come<\/h3>\n<p>IPv4: 127.5.2.13<\/p>\n<p>IPv6: 12AB:215C:39AA:54B6:FF6D:7890:77AA:AABC<\/p>\n<ul>\n<li>Each sq. inch of Earth&#8217;s surface can be assigned 3.7 Million addresses!<\/li>\n<li>Every 3 sq. feet of Milky Way Galaxy can have an IP.<\/li>\n<\/ul>\n<h3>Converting Decimal to Binary and Back<\/h3>\n<p>255 = 11111111 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1<\/p>\n<p>210 = 11010010 = 128 + 64 + 16 + 2<\/p>\n<p>120 = 01111000 = 64 + 32 + 16 + 8<\/p>\n<p>15 = 00001111 = 8 + 4 + 2 + 1<\/p>\n<p>180 = 128 + 32 + 16 + 4 = 10110100<\/p>\n<p>41 = 32 + 8 + 1 = 00101001<\/p>\n<p>00110110 = 32 + 16 + 4 + 2 = 54<\/p>\n<p>10010110 = 128 + 16 + 4 + 2 = 150<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reviewing the basics of IP IPv4 Addresses: 4 Octet Address, each octet = 1 byte. 32 Total Bits Can be one of 3 classes, A, B or C A: 001 &#8211; 126, 16,777,214 Hosts (256^3 &#8211; 2) B: 128 &#8211; 191, 65,534 Hosts (256^2 &#8211; 2) C: 192 &#8211; 223, 254 Hosts (256 &#8211; 2) ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=191\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2,11,10],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry","category-ccent","category-networking","category-subnets","category-tcpip"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=191"}],"version-history":[{"count":1,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":192,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions\/192"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}