{"id":17,"date":"2006-04-11T11:11:45","date_gmt":"2006-04-11T10:11:45","guid":{"rendered":"http:\/\/www.galhano.com\/blog\/?p=17"},"modified":"2006-04-11T11:11:45","modified_gmt":"2006-04-11T10:11:45","slug":"classless-inter-domain-routing-cidr","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=17","title":{"rendered":"Classless Inter-Domain Routing (CIDR)"},"content":{"rendered":"<p><font face=\"Arial\"><b><i>A Better Solution: Eliminate Address Classes<\/i><\/b><\/font><br \/>\n<font face=\"Arial\">It was clear that as long as there\u00c2  were only three sizes of <a class=\"kLink1\" target=\"_top\" xhref=\"http:\/\/www.tcpipguide.com\/free\/t_IPClasslessAddressingandSupernettingOverviewMotiva-2.htm#\"><font color=\"blue\" \/><\/a>networks, the allocation efficiency problem\u00c2  could never be properly rectified. The solution was to get rid of the\u00c2  classes completely, in favor of a <i>classless<\/i> allocation scheme.\u00c2  This system would solve both of the main problems with \u00e2\u20ac\u0153classful\u00e2\u20ac?\u00c2  addressing: inefficient address space use, and the exponential growth\u00c2  of routing tables.<\/font><\/p>\n<p align=\"left\"><font face=\"Arial\">The idea behind CIDR is to adapt\u00c2  the concept of subnetting a single network to the entire internet. In\u00c2  essence, then, classless addressing means that instead of breaking a\u00c2  particular network into subnets, we can aggregate networks into larger\u00c2  \u00e2\u20ac\u0153supernets\u00e2\u20ac?. CIDR is sometimes called <i>supernetting<\/i>\u00c2  for this reason: it applies the principles of subnetting to larger networks.\u00c2  It is this aggregation of networks into supernets that allowed CIDR\u00c2  to resolve the problem of growing Internet routing tables.<\/font><\/p>\n<p align=\"left\"><font face=\"Arial\">Of course, if we are going to apply\u00c2  subnetting concepts to the entire internet, we need to be able to have\u00c2  subnets of different sizes. After all, that&#8217;s one of our primary goals\u00c2  in eliminating the classes. So, more accurately, CIDR is an internet-wide\u00c2  application of not regular one-level subnetting, but of <\/font><a xhref=\"http:\/\/www.tcpipguide.com\/free\/t_IPVariableLengthSubnetMaskingVLSM.htm\"><font face=\"Arial\" color=\"#0101c0\">Variable\u00c2  Length Subnet Masking (VLSM)<\/font><\/a><font face=\"Arial\">. Just as\u00c2  VLSM lets us split a network as many times as we want to create subnets,\u00c2  \u00e2\u20ac\u0153sub-subnets\u00e2\u20ac? and \u00e2\u20ac\u0153sub-sub-subnets\u00e2\u20ac?, CIDR lets us\u00c2  do this with the entire Internet, as many times as needed.<\/font><\/p>\n<p><a xhref=\"http:\/\/www.tcpipguide.com\/free\/t_IPClasslessAddressingandSupernettingOverviewMotiva-3.htm\"> mais info<\/a><\/p>\n<h2><font size=\"2\" face=\"Verdana\">Nota\u00c3\u00a7\u00c3\u00a3o standard<\/font><\/h2>\n<p><font size=\"2\" face=\"Verdana\">A nota\u00c3\u00a7\u00c3\u00a3o standard para o intervalo de\u00c2  endere\u00c3\u00a7os CIDR come\u00c3\u00a7a com o endere\u00c3\u00a7o de rede (na direita com o n\u00c3\u00bamero apropriado\u00c2  de bits com valor zero &#8211; at\u00c3\u00a9 4 octetos para IPv4, e at\u00c3\u00a9 campos hexadecimais de 8\u00c2  octetos de 16 bits para <a title=\"IPv6\" xhref=\"http:\/\/pt.wikipedia.org\/wiki\/IPv6\"> IPv6<\/a>). Isto \u00c3\u00a9 seguido por um car\u00c3\u00a1cter e comprimento de um prefixo, em bits,\u00c2  definindo o tamanho da rede em quest\u00c3\u00a3o (o prefixo \u00c3\u00a9, na verdade, o comprimento\u00c2  da m\u00c3\u00a1scara de subrede).<\/font><br \/>\n<font size=\"2\" face=\"Verdana\">Por exemplo:<\/font><\/p>\n<ul>\n<li><font size=\"2\" face=\"Verdana\">192.168.0.0 <b>\/24<\/b> representa os 256\u00c2  \u00c2 \u00c2 \u00c2  endere\u00c3\u00a7os <a title=\"IPv4\" xhref=\"http:\/\/pt.wikipedia.org\/wiki\/IPv4\">IPv4<\/a>\u00c2  \u00c2 \u00c2 \u00c2  de 192.168.0.0 at\u00c3\u00a9 192.168.0.255 inclusive, com 192.168.0.255 sendo o\u00c2  \u00c2 \u00c2 \u00c2  endere\u00c3\u00a7o de <i>broadcast<\/i> para a rede.<\/font><\/li>\n<li><font size=\"2\" face=\"Verdana\">192.168.0.0 <b>\/22<\/b> representa os 1024\u00c2  \u00c2 \u00c2 \u00c2  endere\u00c3\u00a7os <a title=\"IPv4\" xhref=\"http:\/\/pt.wikipedia.org\/wiki\/IPv4\">IPv4<\/a>\u00c2  \u00c2 \u00c2 \u00c2  de 192.168.0.0 at\u00c3\u00a9 192.168.3.255 inclusive, com 192.168.3.255 sendo o\u00c2  \u00c2 \u00c2 \u00c2  endere\u00c3\u00a7o de <i>broadcast<\/i> para a rede.<\/font><\/li>\n<li><font size=\"2\" face=\"Verdana\">2002:C0A8::\/48 representa os endere\u00c3\u00a7os \u00c2 \u00c2 \u00c2  <a title=\"IPv6\" xhref=\"http:\/\/pt.wikipedia.org\/wiki\/IPv6\">IPv6<\/a> de\u00c2  \u00c2 \u00c2 \u00c2  2002:C0A8:0:0:0:0:0:0 at\u00c3\u00a9 2002:C0A8:0:FFFF:FFFF:FFFF:FFFF:FFFF, inclusive.<\/font><\/li>\n<\/ul>\n<p><font size=\"2\" face=\"Verdana\">Para o IPv4, uma representa\u00c3\u00a7\u00c3\u00a3o alternativa usa\u00c2  o endere\u00c3\u00a7o de rede seguido da m\u00c3\u00a1scara de subrede, escrito na forma decimal com\u00c2  pontos:<\/font><\/p>\n<ul>\n<li><font size=\"2\" face=\"Verdana\">192.168.0.0 <b>\/24<\/b> pode ser escrito\u00c2  \u00c2 \u00c2 \u00c2  como 192.168.0.0 <b>255.255.255.0<\/b><\/font><\/li>\n<li><font size=\"2\" face=\"Verdana\">192.168.0.0 <b>\/22<\/b> pode ser escrito\u00c2  \u00c2 \u00c2 \u00c2  como 192.168.0.0 <b>255.255.252.0<\/b><\/font><\/li>\n<\/ul>\n<p><a xhref=\"http:\/\/pt.wikipedia.org\/wiki\/CIDR\"> mais info<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Better Solution: Eliminate Address Classes It was clear that as long as there\u00c2 were only three sizes of networks, the allocation efficiency problem\u00c2 could never be properly rectified. The solution was to get rid of the\u00c2 classes completely, in favor of a classless allocation scheme.\u00c2 This system would solve both of the main problems [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-networking","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17"}],"version-history":[{"count":0,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}