<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Ronaldo, a quase 10 anos atr&aacute;s publiquei um artigo no vivaolinux
    apenas sobre o assunto.&nbsp; Mas o que o Mike lhe passou ja &eacute; uma boa
    receitinha de bolo..&nbsp; Basta entender os conceitos..<br>
    <br>
<a class="moz-txt-link-freetext" href="http://www.vivaolinux.com.br/artigo/Configurando-2-%28dois%29-links-ADSL-no-mesmo-servidor?pagina=1">http://www.vivaolinux.com.br/artigo/Configurando-2-%28dois%29-links-ADSL-no-mesmo-servidor?pagina=1</a><br>
    <br>
    <br>
    Em 02/01/2014 12:17, Ronaldo Wochner escreveu:
    <blockquote
cite="mid:CAOXYKex6n8oLLXriS3yDiy7gRk1Hc5S2Eu31QQ22YFsh=Gu8jQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Bom dia!
        <div><br>
        </div>
        <div>Voc&ecirc; tem configurado duas rotas padr&atilde;o (default gateway).
          Para roteamento avan&ccedil;ado use iproute2.</div>
        <div><br>
        </div>
        <div>Att.</div>
        <div>Ronaldo Wochner</div>
        <div><br>
        </div>
        <div class="gmail_extra">
          <br>
          <br>
          <div class="gmail_quote">2014/1/2 Estefanio Brunhara <span
              dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:estefanio@brunhara.com" target="_blank">estefanio@brunhara.com</a>&gt;</span><br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div link="blue" vlink="purple" lang="PT-BR">
                <div>
                  <p class="MsoNormal">Feliz ano novo!! A todos !</p>
                  <p class="MsoNormal">
                    &nbsp;</p>
                  <p class="MsoNormal">Estou com o seguinte problema!</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">Tenho um servidor centos6.3
                    rodando asterisk 11.7 com freepbx, tudo funciona
                    perfeito, resolvi colocar mais um link nesta
                    maquina, para o acesso a internet, mas vamos
                    considerar que apenas ativei o link2, &nbsp;n&atilde;o existe
                    trafego nele, desta forma ficarmos em um sen&aacute;rio mas
                    limpo e simples de se discutir. Quando ativo o link2
                    o asterisk fica com dificuldades de receber as
                    conex&otilde;es no link1, na maioria das vezes ningu&eacute;m
                    consegue conectar.</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">O servidor tem 3 placas de rede
                    sendo:</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">Eth0 para Lan &nbsp;&nbsp;aqui todos os
                    telefones internos conectam bem</p>
                  <p class="MsoNormal">Eth1 link1&nbsp;&nbsp; canal de voz,&nbsp; para
                    telefones remotos</p>
                  <p class="MsoNormal">Eth2 link2&nbsp;&nbsp; nao definido ainda
                    apenas ativo</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">
                    Debugando com o tcpdump eu percebi que&nbsp; o asterisk
                    estava recebendo a conex&atilde;o no link1, por&eacute;m respondia
                    no link2</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal"><span
style="font-size:8.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;"
                      lang="EN-US">tcpdump -i eth1 -n host
                      200.164.152.156<br>
                      tcpdump: verbose output suppressed, use -v or -vv
                      for full protocol decode<br>
                      listening on eth1, link-type EN10MB (Ethernet),
                      capture size 65535 bytes<br>
                      <br>
                      08:14:17.346074 IP 200.164.152.156.56005 &gt;
                      200.150.10.99.sip: SIP, length: 712<br>
                      08:14:18.839077 IP 200.164.152.156.56005 &gt;
                      200.150.10.99.sip: SIP, length: 712<br>
                      08:14:21.844577 IP 200.164.152.156.56005 &gt;
                      200.150.10.99.sip: SIP, length: 712<br>
                      08:14:25.859329 IP 200.164.152.156.56005 &gt;
                      200.150.10.99.sip: SIP, length: 712<br>
                      <br>
                      tcpdump -i eth2 -n host 200.164.152.156<br>
                      tcpdump: verbose output suppressed, use -v or -vv
                      for full protocol decode<br>
                      listening on eth2, link-type EN10MB (Ethernet),
                      capture size 65535 bytes<br>
                      <br>
                      08:14:17.346579 IP 200.150.10.99.sip &gt;
                      200.164.152.156.56005: SIP, length: 623<br>
                      08:14:18.839371 IP 200.150.10.99.sip &gt;
                      200.164.152.156.56005: SIP, length: 586<br>
                      08:14:21.844855 IP 200.150.10.99.sip &gt;
                      200.164.152.156.56005: SIP, length: 586<br>
                      08:14:25.859626 IP 200.150.10.99.sip &gt;
                      200.164.152.156.56005: SIP, length: 586</span><span
                      lang="EN-US"></span></p>
                  <p class="MsoNormal"><span lang="EN-US">&nbsp;</span></p>
                  <p class="MsoNormal">Ent&atilde;o configurei&nbsp; o
                    bindaddr=200.150.10.99 que &eacute; o ip da eth1=link1,&nbsp;
                    agora o asterisk n&atilde;o responde mais no link2, por&eacute;m o
                    problema persiste.</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">Consultando outros links, achei
                    coment&aacute;rios que o&nbsp; asterisk, n&atilde;o tem problema para
                    funcionar em multi-homed, por&eacute;m tem dificuldade em
                    trabalhar com 2 placas de rede, isto realmente
                    acontece?</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal"><span
style="font-size:8.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Tabela
                      main de roteamento do servidor </span></p>
                  <p class="MsoNormal">
                    <span
style="font-size:8.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
                  <p class="MsoNormal"><span
style="font-size:8.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">route
                      -n<br>
                      Tabela de Roteamento IP do Kernel<br>
                      Destino Roteador M&Atilde;&iexcl;scaraGen. Op&Atilde;&sect;&Atilde;&micro;es M&Atilde;&copy;trica
                      Ref Uso Iface<br>
                      200.150.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1<br>
                      10.2.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2<br>
                      192.168.0.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0<br>
                      169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth2<br>
                      169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1<br>
                      169.254.0.0 0.0.0.0 255.255.0.0 U 1004 0 0 eth0<br>
                      0.0.0.0 200.150.10.1 0.0.0.0 UG 0 0 0 eth1<br>
                      0.0.0.0 10.2.0.253 0.0.0.0 UG 0 0 0 eth2</span></p>
                  <p class="MsoNormal"><span
style="font-size:8.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">&nbsp;</span></p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">Estef&acirc;nio
                        Brunhara</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">San
                        Giovanne Inform&aacute;tica&nbsp; Ltda.</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">Solu&ccedil;&otilde;es
                        e integra&ccedil;&otilde;es c/ Sistemas Inteligentes </span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">Windows/Linux
                        a melhor op&ccedil;&atilde;o Empresa/Internet</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd"><a
                          moz-do-not-send="true"
                          href="tel:%2831%293375-1202"
                          value="+553133751202" target="_blank">(31)3375-1202</a>
                        3082-3181 8846-2330</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">&nbsp;</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">Ao
                        encaminhar esta mensagem, por favor:</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">1.
                        Apague o meu e-mail e o meu nome.</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">2.
                        Apague tamb&eacute;m os endere&ccedil;os dos amigos antes de
                        reenviar.</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">3.
                        Encaminhe como c&oacute;pia oculta (Cco ou Bcc) aos
                        SEUS destinat&aacute;rios.</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">Agindo
                        sempre assim dificultaremos a dissemina&ccedil;&atilde;o de
                        v&iacute;rus, spams e banners.</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">&nbsp;</span></b></p>
                  <p class="MsoNormal"><b><span
                        style="font-size:8.0pt;font-family:Consolas;color:#4f81bd">Pense
                        antes de imprimir, quanto menos papel mais
                        &aacute;rvores.</span></b><span></span></p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">&nbsp;</p>
                  <p class="MsoNormal">
                    &nbsp;</p>
                  <p class="MsoNormal">&nbsp;</p>
                </div>
              </div>
              <br>
              _______________________________________________<br>
              KHOMP: completa linha de placas externas FXO, FXS, GSM e
              E1<br>
              Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7<br>
              Intercomunicadores para acesso remoto via rede IP e
              telefones IP<br>
              Conhe&ccedil;a todo o portf&oacute;lio em <a moz-do-not-send="true"
                href="http://www.Khomp.com" target="_blank">www.Khomp.com</a><br>
              _______________________________________________<br>
              Para remover seu email desta lista, basta enviar um email
              em branco para <a moz-do-not-send="true"
                href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org"
                target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7
Intercomunicadores para acesso remoto via rede IP e telefones IP
Conhe&ccedil;a todo o portf&oacute;lio em <a class="moz-txt-link-abbreviated" href="http://www.Khomp.com">www.Khomp.com</a>
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para <a class="moz-txt-link-abbreviated" href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>