{"id":4777,"date":"2019-09-14T18:52:04","date_gmt":"2019-09-14T21:52:04","guid":{"rendered":"https:\/\/blog.clusterweb.com.br\/?p=4777"},"modified":"2019-09-14T18:52:04","modified_gmt":"2019-09-14T21:52:04","slug":"o-que-e-ptt-peering-transito","status":"publish","type":"post","link":"https:\/\/blog.clusterweb.com.br\/?p=4777","title":{"rendered":"O que \u00e9 PTT &#8211; Peering &#8211; Tr\u00e2nsito?"},"content":{"rendered":"<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Em tempos onde tudo est\u00e1 conectado, a Internet \u00e9 cada vez mais importante e muito se tem \u00a0feito para ampliar e melhorar essas comunica\u00e7\u00f5es em capacidade, velocidade e seguran\u00e7a.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Uma forma de reduzir as dist\u00e2ncias e custo para essas conex\u00f5es s\u00e3o os chamados Pontos de Troca de Tr\u00e1fego, ou PTT.<\/span><\/strong><\/p>\n<p><!--more--><\/p>\n<p style=\"font-weight: 400;\"><strong><b>Mas o que vem a ser exatamente um PTT? <\/b><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Imagine a seguinte situa\u00e7\u00e3o:<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Voc\u00ea convida seu vizinho para jogar online, cada um em sua resid\u00eancia e usando operadoras de telecom diferente para se conectar \u00e0 Internet.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">A Operadora X que voc\u00ea est\u00e1 usando n\u00e3o tem conex\u00e3o direta com a operadora Y do seu vizinho, mas ela tem contrato com uma operadora de conex\u00e3o internacional.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">A operadora do seu vizinho tamb\u00e9m tem contrato com uma outra operadora internacional.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">O seu vizinho est\u00e1 do lado da sua casa, mas onde voc\u00eas v\u00e3o trocar mensagens?<\/span><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Provavelmente fora do Brasil, em algum lugar onde essas operadoras internacionais se encontram.<\/span><\/strong><\/p>\n<p><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Sabemos que a Internet \u00e9 feita de muitas redes e a sua operadora precisa se conectar com alguma outra rede e essa com outra e assim sucessivamente. Em algum ponto voc\u00ea vai cruzar com a conex\u00e3o do seu amigo na Internet.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Isso pode ocorrer na sua cidade, em outro estado ou at\u00e9 mesmo em outro pa\u00eds.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Mas se esse cruzamento ocorrer mais pr\u00f3ximo de voc\u00ea, o tempo que levar\u00e1 para enviar e receber informa\u00e7\u00f5es do seu amigo ser\u00e1 menor.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Outro exemplo: Voc\u00ea mora no Rio de Janeiro e quer assistir a um v\u00eddeo de uma empresa de Streaming que tamb\u00e9m tem seus servidores no Rio de Janeiro.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Mas nesse caso, a sua operadora e essa empresa t\u00eam liga\u00e7\u00f5es em um ponto comum no Rio mesmo.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Ent\u00e3o voc\u00ea vai se conectar a esse conte\u00fado muito mais rapidamente, sem dar uma volta em outra cidade ou pa\u00eds.<\/span><\/strong><\/p>\n<p><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">E se al\u00e9m dessa empresa de streaming voc\u00ea tamb\u00e9m pudesse se conectar diretamente na rede do Youtube, Facebook, Google, Projeto de Redes e outros conte\u00fados que voc\u00ea acessa frequentemente sem precisar dar voltas ou passar de uma rede para outra at\u00e9 chegar onde est\u00e1 esse conte\u00fado? Bom n\u00e9?<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">A proposta de um PTT \u00e9 justamente essa.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Criar um ponto pr\u00f3ximo do usu\u00e1rio onde as operadoras ou as redes em geral podem se encontrar.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Isso traz melhoria na qualidade da conex\u00e3o, com menor lat\u00eancia, maior seguran\u00e7a, mais redund\u00e2ncia e redu\u00e7\u00e3o de custos.<\/span><\/strong><\/p>\n<p><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">No Brasil chamamos de PTT o\u00a0<\/span><b>P<\/b><span style=\"font-weight: 400;\">onto de\u00a0<\/span><b>T<\/b><span style=\"font-weight: 400;\">roca de\u00a0<\/span><b>T<\/b><span style=\"font-weight: 400;\">r\u00e1fego.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Mas encontramos por a\u00ed outras siglas que de modo geral significam a mesma coisa<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><b>PTT = IXP = NAP<\/b><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><b>IXP<\/b><span style=\"font-weight: 400;\">=Internet Exchange Point<\/span><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><b>NAP<\/b><span style=\"font-weight: 400;\">=Network Access Point<\/span><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><b>PTT<\/b><span style=\"font-weight: 400;\">= Ponto de Troca de Tr\u00e1fego (Brasil)<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">No Brasil o PTT \u00e9 um projeto do Comit\u00ea Gestor da Internet no Brasil (CGIbr) que promove e cria a infra-estrutura necess\u00e1ria para a interconex\u00e3o direta entre as redes que comp\u00f5em a Internet Brasileira.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Um PTT \u00e9 como um grande hub regional onde todas as redes podem se interligar.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><i><span style=\"font-weight: 400;\">Basicamente o PTT \u00e9 um switch<\/span><\/i><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><b>O que \u00e9 o AS?<\/b><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Quando falamos de redes conectadas no PTT, entendemos cada rede como um\u00a0<\/span><b>AS<\/b><span style=\"font-weight: 400;\">\u00a0(<\/span><b><i>A<\/i><\/b><i><span style=\"font-weight: 400;\">utonomous\u00a0<\/span><\/i><b><i>S<\/i><\/b><i><span style=\"font-weight: 400;\">ystem<\/span><\/i><span style=\"font-weight: 400;\">, ou Sistema Aut\u00f4nomo). \u00a0<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">O gerenciamento do PTT e da internet inteira \u00e9 feito por roteamento entre os\u00a0<\/span><b>AS<\/b><span style=\"font-weight: 400;\">ses. Por isso \u00e9 necess\u00e1ria essa separa\u00e7\u00e3o das redes e identific\u00e1-las com c\u00f3digos de AS.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Quando uma entidade recebe um bloco de endere\u00e7os IP pr\u00f3prios ela recebe tamb\u00e9m um n\u00famero de identifica\u00e7\u00e3o desse bloco, \u00e9 o ASN (<\/span><b>A<\/b><span style=\"font-weight: 400;\">utonomous\u00a0<\/span><b>S<\/b><span style=\"font-weight: 400;\">ystem\u00a0<\/span><b><i>N<\/i><\/b><i><span style=\"font-weight: 400;\">umber<\/span><\/i><span style=\"font-weight: 400;\">).<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Tecnicamente um AS seria uma rede ou um conjunto de redes com caracter\u00edsticas e pol\u00edticas de roteamento comuns sob uma mesma gest\u00e3o.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Quando voc\u00ea contrata o link de uma operadora, ela lhe concede um IP v\u00e1lido para se conectar \u00e0 Internet. \u00a0Para todos na Internet voc\u00ea est\u00e1 dentro da rede dessa operadora e utiliza as pol\u00edticas de roteamento da mesma. O AS est\u00e1 em nome dessa operadora e ela decide os roteamentos para a Internet. \u00a0<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Vamos supor agora que voc\u00ea precise de redund\u00e2ncia e contrata uma outra operadora. Ent\u00e3o receber\u00e1 tamb\u00e9m um IP diferente e quando estiver usando o link dessa operadora estar\u00e1 sob as pol\u00edticas de roteamento da mesma, dentro da sua dessa operadora.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Voc\u00ea at\u00e9 pode definir a operadora por qual deseja sair para a internet ou fazer um balanceamento, mas n\u00e3o conseguir\u00e1 controlar por qual operadora as pessoas na Internet v\u00e3o se conectar a voc\u00ea, caso voc\u00ea tenha um site ou conte\u00fado em sua casa ou empresa.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Se voc\u00ea divulgar o IP que recebeu da Operadora X todos v\u00e3o chegar a voc\u00ea pela Operadora X e se divulgar o endere\u00e7o IP da Operadora Y todos v\u00e3o chegar pela operadora Y. N\u00e3o tem como balancear ou no caso de uma falhar automaticamente usarem a outra operadora. Ou seja, voc\u00ea n\u00e3o tem redund\u00e2ncia.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">A solu\u00e7\u00e3o \u00e9 solicitar os seus pr\u00f3prios endere\u00e7os IPs com o AS e atrav\u00e9s de BGP fazer os roteamentos de sa\u00edda e anunciar na internet os roteamentos de retorno tamb\u00e9m, bem como as redund\u00e2ncias.<\/span><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Outra vantagem de possui um AS, \u00e9 ainda poder fazer acordos de troca de tr\u00e1fego no PTT com outras entidades.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Alonguei-me um pouco na explica\u00e7\u00e3o do AS mas esse conceito \u00e9 fundamental para se entender o funcionamento do PTT<\/span><\/strong><\/p>\n<p><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><\/p>\n<p style=\"font-weight: 400;\"><strong><b>Onde est\u00e3o os PTTs?<\/b><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Atualmente existem 30 PTTs regionais ativos e um em ativa\u00e7\u00e3o pelo Brasil, que s\u00e3o:<\/span><\/strong><\/p>\n<ul style=\"font-weight: 400;\">\n<li>Aracaju<\/li>\n<li>Bel\u00e9m<\/li>\n<li>Belo Horizonte<\/li>\n<li>Bras\u00edlia<\/li>\n<li>Campina Grande<\/li>\n<li>Campinas<\/li>\n<li>Cuiab\u00e1<\/li>\n<li>Caxias do Sul<\/li>\n<li>Curitiba<\/li>\n<li>Florian\u00f3polis<\/li>\n<li>Fortaleza<\/li>\n<li>Foz do Igua\u00e7u<\/li>\n<li>Goi\u00e2nia<\/li>\n<li>Jo\u00e3o Pessoa<\/li>\n<li>Lajeado<\/li>\n<li>Londrina<\/li>\n<li>Macei\u00f3 (Em ativa\u00e7\u00e3o)<\/li>\n<li>Manaus<\/li>\n<li>Maring\u00e1<\/li>\n<li>Natal<\/li>\n<li>Porto Alegre<\/li>\n<li>Recife<\/li>\n<li>Rio de Janeiro<\/li>\n<li>Salvador<\/li>\n<li>Santa Maria<\/li>\n<li>S\u00e3o Jos\u00e9 dos Campos<\/li>\n<li>S\u00e3o Jos\u00e9 do Rio Preto<\/li>\n<li>S\u00e3o Lu\u00eds<\/li>\n<li>S\u00e3o Paulo<\/li>\n<li>Teresina<\/li>\n<li>Vit\u00f3ria<\/li>\n<\/ul>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Esses PTTs n\u00e3o se comunicam diretamente entre si, para evitar concorrer com as operadoras e incentivar o uso regional do servi\u00e7o. Portanto, PTT n\u00e3o \u00e9 um um backbone.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Mas existem operadoras que t\u00eam liga\u00e7\u00e3o em mais de um PTT e consequentemente conseguem vender aos clientes a liga\u00e7\u00e3o entre eles e at\u00e9 aos pontos de troca de tr\u00e1fego fora do Brasil.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">N\u00e3o h\u00e1 custo para a porta do PTT, mas sim para chegar at\u00e9 ele com um enlace f\u00edsico, ou cross connect, pois a infraestrutura de liga\u00e7\u00e3o deve ser custeada pelo participante.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><b>Como chegar ao PTT?<\/b><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">A primeira \u00e9 obviamente levar a rede at\u00e9 l\u00e1, seja por fibra que \u00e9 a forma mais comum ou at\u00e9 por r\u00e1dio digital em alguns casos.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Outra forma \u00e9 contratando o uso da rede de algum NSP (Network Service Provider) que j\u00e1 est\u00e1 no PTT.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Se o NSP for Ponto de Interconex\u00e3o (PIX) nessa localidade, o link ser\u00e1 entregue diretamente no equipamento do PTT nas depend\u00eancias do NSP mesmo.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">Se o participante contratar de um NSP um link para chegar at\u00e9 a localidade do PTT e o NSP n\u00e3o for PIX nessa localidade, o link deve ser entregue em um PIX existente, um IDC, que normalmente ir\u00e1 lhe cobrar uma taxa para conex\u00e3o entre o equipamento do NSP e o equipamento do PTT. Essa conex\u00e3o algumas vezes \u00e9 chamada de cross-connect ou golden jump.<\/span><span style=\"font-weight: 400;\"><\/p>\n<p><\/span><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Esses Pontos de Interconex\u00e3o s\u00e3o empresas que fazem um PTT particular e t\u00eam conex\u00e3o ao PIX central do PTT, mas com todo apoio e respaldo do CGI.BR, inclusive com este cedendo equipamentos.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Veja abaixo como est\u00e1 atualmente a estrutura do PTT do Rio de Janeiro:<\/span><\/strong><\/p>\n<p><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">J\u00e1 existem PTTs em diversos pontos pelo Brasil, mas algumas operadoras ainda insistem em se conectar apenas ao PTT de S\u00e3o Paulo. Por exemplo, tem operadora que sai de Manaus e se conecta diretamente ao PTT de S\u00e3o Paulo, sendo que j\u00e1 existe um PTT em Manaus.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Eles alegam que no PTT de Manaus n\u00e3o existe muitas operadoras de acesso e conte\u00fado conectadas.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">\u00c9 uma situa\u00e7\u00e3o complicada, pois os provedores de conte\u00fado s\u00f3 v\u00e3o se interessar em conectar onde tem mais participantes e os participantes s\u00f3 v\u00e3o se interessar em conectar onde tem mais provedores de conte\u00fado como Netflix, Youtube, Facebook, Akamai, Cloudflare e tantos outros.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Ent\u00e3o \u00e9 importante frisar a import\u00e2ncia do PTT regional, pois quanto mais participantes, mais os provedores de conte\u00fado v\u00e3o se interessar por ele .<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">O site Projeto de Redes por exemplo est\u00e1 no Canad\u00e1, mas tem cache em S\u00e3o Paulo e Rio de Janeiro com conex\u00e3o direta nos PTTs de S\u00e3o Paulo e Rio de Janeiro.<\/span><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Vamos falar sobre isso em um pr\u00f3ximo artigo.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Mas, n\u00e3o basta um provedor apenas se conectar a um PTT regional.<\/span><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Isso n\u00e3o garante acesso ao resto do mundo.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Ele precisa ainda fazer acordos com uma ou mais operadoras maiores, preferencialmente de n\u00edvel 1 (<\/span><i><span style=\"font-weight: 400;\">Tier 1<\/span><\/i><span style=\"font-weight: 400;\">).<\/span><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Um desses acordos pode ser a compra de \u201ctr\u00e2nsito\u201d.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><b>Tr\u00e2nsito<\/b><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Tr\u00e2nsito \u00e9 um acordo entre dois AS ou Provedores (ISP).<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Quando o ISP Tier1 oferece tr\u00e2nsito ao ISP Local, os usu\u00e1rios do ISP Local poder\u00e3o acessar os usu\u00e1rios de todos os outros AS com quem o ISP Tier1 tem \u201cpeering\u201d.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Um acordo de tr\u00e2nsito envolve, normalmente, o pagamento de taxa de transporte do ISP Local para ISP Tier1. Nesse acordo, todo o tr\u00e1fego requisitado pelos usu\u00e1rios de um ISP passa \u201cpor dentro\u201d da rede de um outro ISP para alcan\u00e7ar outros usu\u00e1rios.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Os \u201coutros usu\u00e1rios\u201c, dependendo do alcance do ISP Tier1, podem ser todos na Internet.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><b>Peering<\/b><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">O peering \u00e9 a conex\u00e3o de redes separadas com o objetivo de troca de tr\u00e1fego entre os seus usu\u00e1rios. Onde, normalmente, nenhuma das partes paga \u00e0 outra em associa\u00e7\u00e3o com a troca de tr\u00e1fego.<\/span><\/strong><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Em vez disso, cada um deles obt\u00e9m receitas de seus pr\u00f3prios clientes.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><b>Tier 1, Tier 2 e Tier 3<\/b><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Os provedores de Tier-1 comp\u00f5em o n\u00facleo da Internet e fazem peering entre si atrav\u00e9s de acordos bilaterais para prover tr\u00e2nsito global. Os provedores de n\u00edvel secund\u00e1rio (Tier-2) s\u00e3o menores e normalmente oferecem servi\u00e7os regionais, consumindo e pagando pela conectividade e tr\u00e2nsito dos provedores prim\u00e1rios. Tamb\u00e9m existem os provedores locais (Tier-3) que oferecem servi\u00e7os para os usu\u00e1rios finais.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Um provedor que n\u00e3o contrata tr\u00e2nsito mas usa a sua pr\u00f3pria estrutura e peering para se conectar a toda a Internet \u00e9 considerado Tier 1.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><b>Looking Glass<\/b><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">O componente looking glass trata-se de um roteador ou um servidor que possui suporte a BGP, conectado aos servidores de rota.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">A utilidade desse recurso \u00e9 que uma vez conectado aos servidores de rota, recebe todos os an\u00fancios dos participantes do PTT e pode ser usado para consulta das rotas anunciadas no PTT e a prefer\u00eancia que cada uma tem sob as demais. Isso acaba sendo \u00fatil aos participantes do PTT para verificar tamb\u00e9m se seus an\u00fancios est\u00e3o sendo feitos corretamente e se o efeito est\u00e1 de acordo com o esperado.<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><i><span style=\"font-weight: 400;\">A figura n\u00e3o mostra o PTT para ficar mais did\u00e1tica, mas peering e tr\u00e2nsito podem ser feitos pelo PTT tamb\u00e9m.<\/span><\/i><\/strong><\/p>\n<p><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><\/p>\n<p style=\"font-weight: 400;\"><strong><b>Conclus\u00e3o<\/b><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">De forma bastante simplificada mostrei n\u00e3o somente o que \u00e9 e como funciona um PTT, as \u00a0diferen\u00e7as entre tr\u00e2nsito e peering mas tamb\u00e9m uma ideia de como \u00e9 a estrutura da Internet mundial.<\/span><\/strong><\/p>\n<p><br style=\"font-weight: 400;\" \/><br style=\"font-weight: 400;\" \/><\/p>\n<p style=\"font-weight: 400;\"><strong><span style=\"font-weight: 400;\">Mais informa\u00e7\u00f5es sobre o PTT no endere\u00e7o\u00a0<\/span><a href=\"https:\/\/www.ix.br\/\"><span style=\"font-weight: 400;\">https:\/\/www.ix.br<\/span><\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Em tempos onde tudo est\u00e1 conectado, a Internet \u00e9 cada vez mais importante e muito se tem \u00a0feito para ampliar e melhorar essas comunica\u00e7\u00f5es em capacidade, velocidade e seguran\u00e7a. &nbsp; Uma forma de reduzir as dist\u00e2ncias e custo para essas conex\u00f5es s\u00e3o os chamados Pontos de Troca de Tr\u00e1fego, ou PTT.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[730,1,42,495,68],"tags":[351,698,1423,1422,380,1424],"class_list":["post-4777","post","type-post","status-publish","format-standard","hentry","category-clusterweb","category-viazap","category-leitura-recomendada","category-profissional-de-ti","category-redes-2","tag-e","tag-o","tag-peering","tag-ptt","tag-que","tag-transito"],"_links":{"self":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/4777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4777"}],"version-history":[{"count":1,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/4777\/revisions"}],"predecessor-version":[{"id":4778,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=\/wp\/v2\/posts\/4777\/revisions\/4778"}],"wp:attachment":[{"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.clusterweb.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}