Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Solução Para o Load Balance e FailOver + Squid

    Scheduled Pinned Locked Moved Portuguese
    30 Posts 5 Posters 5.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      helberttavares
      last edited by

      Cria uma regra para teste.

      EX:

      IPv4 * LAN_ net * * * LBFO none

      Helbert Tavares
      OTNE - Gestão em TI

      1 Reply Last reply Reply Quote 0
      • M
        mateus0032
        last edited by

        Esta ai o resultado…  ???  :-\

        lanrules.JPG
        lanrules.JPG_thumb
        load2.JPG
        load2.JPG_thumb

        1 Reply Last reply Reply Quote 0
        • H
          helberttavares
          last edited by

          :-\ :-\

          Como está configurado limites de latência e perca de pacotes nos gateways?

          Helbert Tavares
          OTNE - Gestão em TI

          1 Reply Last reply Reply Quote 0
          • M
            mateus0032
            last edited by

            esta dessa forma… bom não utilizo limites de latencia aqui na região qualquer coisa chega ao 900-1000 então optei por member down teria problema isso..?

            routing.JPG
            routing.JPG_thumb
            ![limtes e latencia wan1.JPG](/public/imported_attachments/1/limtes e latencia wan1.JPG)
            ![limtes e latencia wan1.JPG_thumb](/public/imported_attachments/1/limtes e latencia wan1.JPG_thumb)
            ![limtes e latencia wan2.JPG](/public/imported_attachments/1/limtes e latencia wan2.JPG)
            ![limtes e latencia wan2.JPG_thumb](/public/imported_attachments/1/limtes e latencia wan2.JPG_thumb)

            1 Reply Last reply Reply Quote 0
            • G
              gilmarcabral
              last edited by

              Manda o print da tela referente a parte da configuração System: Gateway Groups.

              Onde você defenriu os tier, como esta o Trigger Level ?

              1 Reply Last reply Reply Quote 0
              • M
                mateus0032
                last edited by

                Olá segue os prints gilmarcabral…

                Screenshot_2014-12-01-17-14-39.png
                Screenshot_2014-12-01-17-14-39.png_thumb
                Screenshot_2014-12-01-17-14-11.png
                Screenshot_2014-12-01-17-14-11.png_thumb
                Screenshot_2014-12-01-17-13-24.png
                Screenshot_2014-12-01-17-13-24.png_thumb

                1 Reply Last reply Reply Quote 0
                • G
                  gilmarcabral
                  last edited by

                  Esta bem estranho este problema.
                  Testa com Trigger Level = Packet Loss or Hight Latency  e o Tier como 2 nos 2 links

                  1 Reply Last reply Reply Quote 0
                  • M
                    mateus0032
                    last edited by

                    gilmarcabral realizei as confs e continua na mesma…tenso cara... segue os prints.. o 4º print deixei o Weight com 1 tbm e deu na mesma... todas as tentativas e nada... se naum der certo vou levanta uma nova maquina mas tenta faze no pppoe...

                    1.JPG
                    1.JPG_thumb
                    2.JPG
                    2.JPG_thumb
                    3.JPG
                    3.JPG_thumb
                    4.JPG
                    4.JPG_thumb

                    1 Reply Last reply Reply Quote 0
                    • G
                      gilmarcabral
                      last edited by

                      Pois é.
                      Posta o print do System: Gateways: Edit gateway group.
                      Posta a tela editada para que possamos ver o valor do Trigger Level

                      1 Reply Last reply Reply Quote 0
                      • M
                        mateus0032
                        last edited by

                        Bom Dia!!

                        segue os prints… postei os 2 tipos de configuração que executei...

                        ![edit gw FO 1.jpg](/public/imported_attachments/1/edit gw FO 1.jpg)
                        ![edit gw FO 1.jpg_thumb](/public/imported_attachments/1/edit gw FO 1.jpg_thumb)
                        ![edit gw FO 2.jpg](/public/imported_attachments/1/edit gw FO 2.jpg)
                        ![edit gw FO 2.jpg_thumb](/public/imported_attachments/1/edit gw FO 2.jpg_thumb)
                        ![edit gw LBFO 1.jpg](/public/imported_attachments/1/edit gw LBFO 1.jpg)
                        ![edit gw LBFO 1.jpg_thumb](/public/imported_attachments/1/edit gw LBFO 1.jpg_thumb)
                        ![edit gw LBFO 2.jpg](/public/imported_attachments/1/edit gw LBFO 2.jpg)
                        ![edit gw LBFO 2.jpg_thumb](/public/imported_attachments/1/edit gw LBFO 2.jpg_thumb)

                        1 Reply Last reply Reply Quote 0
                        • G
                          gilmarcabral
                          last edited by

                          Este ultimo print é a forma correta.

                          Sugiro você fazer um um lab com as conf que informamos para você, pois utilizo tanto proxy em modo transparente como autenticação com squid3-dev e funciona muito bem.
                          Utilizo tanto como load balance em modo transparente como em autenticado em modo failover.

                          1 Reply Last reply Reply Quote 0
                          • M
                            mateus0032
                            last edited by

                            É pessoal fiz um lab aqui com o 2.1.5… realizei todas as confis que vcs me passaram mais infelismente não da nada a navegação só vai pelo default e nam tem jeito a não ser que eu force um determinado ip da LAN para navegar... mas faze oque né o jeito é aceita... Vocês usam o pfSense ADM64 ou I386 ??

                            tristee  :'(  :'(  :'(

                            Obrigado!!!

                            1 Reply Last reply Reply Quote 0
                            • G
                              gilmarcabral
                              last edited by

                              Utilizo somente amd64.
                              Nestas regras ai no rules, você testou deixar somente uma regra com o gw do load balance?

                              1 Reply Last reply Reply Quote 0
                              • M
                                mateus0032
                                last edited by

                                Já tentei e deu na mesma….. Estou com i386.... Vou por um amd64... e fazer testes...

                                1 Reply Last reply Reply Quote 0
                                • H
                                  helberttavares
                                  last edited by

                                  Boa noite!
                                  Mateus, teria como vc mandar o print das regras do laboratório que montou?

                                  Helbert Tavares
                                  OTNE - Gestão em TI

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mateus0032
                                    last edited by

                                    Boa noite helberttavares!!!

                                    Cara infelizmente acabei formatando pra amd64, amanhã posto novos resultados pra vocês tirarem as conclusões….

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.