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

    Load Balancing wont work, in my Opinion

    Scheduled Pinned Locked Moved Routing and Multi WAN
    19 Posts 4 Posters 4.6k 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.
    • N Offline
      Nachtfalke
      last edited by

      The reason is that you do not understand how LB is working on pfsense or how this kind of LoadBalancing is working.

      This kind of LB is Round Robin. This means that one connection goes out WAN1 and the other out WAN2.
      http://forum.pfsense.org/index.php/topic,16923.0.html

      If you would like to summarize your bandwidth you need something like MLPPP but this must be supported by your ISP and must be configured on both sites.

      1 Reply Last reply Reply Quote 0
      • D Offline
        divotion
        last edited by

        ok…

        how do i can geht a real bonding?

        the was lines are ftth...

        it gibes a distro? i have take a look to zeroshell... but the need another site with openvpn...

        can i summary that two wans with unix? or i need realy to go to my isp?

        1 Reply Last reply Reply Quote 0
        • C Offline
          cmb
          last edited by

          This has nothing to do with your firewall distro, and everything to do with the basic facts of IP networking. Load balancing with bonding is impossible without ISP involvement, or tunneling all your traffic out to some other location with a bigger pipe (which isn't likely to improve performance if your connections are fast to begin with because of the increased latency).

          1 Reply Last reply Reply Quote 0
          • D Offline
            divotion
            last edited by

            And why has this guy realize it with one 20mbit/s and one 15mbit/s with pfsenses Load Balancing using usenet?

            http://forum.pfsense.org/index.php?topic=52773.0

            the have loadbalance 20 and 15 with now a download Rate of 4mb/s… 4mb/s are 32mbit/s... not 20mbit/s

            they has the fault in a mtu... i have tried to set it all at 1500...

            i not download a file over http or somthing ... realy more connections ... newshosting with 60 connections... then it must realy function! or not?

            thanks, divotion

            1 Reply Last reply Reply Quote 0
            • N Offline
              Nachtfalke
              last edited by

              Hi divotion,

              If you are using multiple connections like donwloading a torrent or downloading from different sources you can get a summarized bandwith of WAN1+WAN2. But you will never get this bandwidth if you are just downloading with one connection.

              Some download managers and torrent clients are downloading a file with many connections. In this case it could help you. But if you want to download a file then you can get max WAN1 or max WAN2.

              www.speedtest.net seems to allow more connections and summarizes them both.

              But as I said and cmb said, if you really like to have bonding then your ISP must bond the two connections and you have to bond your two connections. This is something you have to pay for by your ISP in general because it needs more configuration.

              if you go to:
              www.pfsense.org/ip.php
              and you refresh the page fast then you will see that it shows one time the IP of WAN1 and the other time the IP of WAN2. This is Round Robin Load Balancing. If this works then LB is working as much as it can with your environment/ISP environment.

              1 Reply Last reply Reply Quote 0
              • D Offline
                divotion
                last edited by

                Hi…

                I have 10 Connections on Jdownloader and 60 Connections on Usenet... And i cant get over 100mbit/s... i must have +- 150mbit/s... cant get it...

                see Pictures:

                Can you help me? i am verry confused about this... other people can get it work ... me not...

                gateways_status.gif
                gateways_status.gif_thumb
                group_status.gif
                group_status.gif_thumb
                jdownloader.gif
                jdownloader.gif_thumb
                lan_roule.gif
                lan_roule.gif_thumb
                lan_trafficgraph.gif
                lan_trafficgraph.gif_thumb
                wan_trafficgraph.gif
                wan_trafficgraph.gif_thumb
                wan2_trafficgraph.gif
                wan2_trafficgraph.gif_thumb
                usenet.gif
                usenet.gif_thumb

                1 Reply Last reply Reply Quote 0
                • pttP Offline
                  ptt Rebel Alliance
                  last edited by

                  If you do this:

                  if you go to:
                  www.pfsense.org/ip.php
                  and you refresh the page fast then you will see that it shows one time the IP of WAN1 and the other time the IP of WAN2. This is Round Robin Load Balancing. If this works then LB is working as much as it can with your environment/ISP environment.

                  Did you see your IP changing ?

                  From your attached IMG, i see no traffic in your WAN….

                  Can you attach an screenshot of your outbound NAT config ?

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    divotion
                    last edited by

                    Only Sometimes i can see the ip changing … not often...

                    Here My Nat outgoing image and my network diagramm...

                    network_diagramm.jpg_thumb
                    network_diagramm.jpg
                    outbound_nat.gif_thumb
                    outbound_nat.gif

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      divotion
                      last edited by

                      Not i have Loadbalance… but only of 50mbit/s... the other 100mbit/s is untached... hmmm...

                      here screens

                      lan_new.gif
                      lan_new.gif_thumb
                      wan1_new.gif
                      wan1_new.gif_thumb
                      wan2_new.gif
                      wan2_new.gif_thumb

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        divotion
                        last edited by

                        the seems to loadbalance the 50mbit/s line or the 100mbit/s line… not together...

                        here screens for loadbalance the 100mbit/s line...

                        lan_new2.gif
                        lan_new2.gif_thumb
                        wan1_new2.gif
                        wan1_new2.gif_thumb
                        wan2_new2.gif
                        wan2_new2.gif_thumb

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          Nachtfalke
                          last edited by

                          Do you have "Sticky connections" DISABLED ? It must be disabled.

                          What I often do to test if Load Balancing is really working I go to
                          maps.google.com and scroll in and out on different landscapes. When then having a look on the traffic graphs I can see bandwidth on all my WAN connections.

                          In general the configuration looks correct. And if www.pfsense.orf/ip.php is working then LB is working.
                          Do you use any other package on pfsense ? squid, squdguard, havp ?

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            divotion
                            last edited by

                            Hi Nachtfalke

                            No i dont use other packages…

                            I try with a fresh installation... yesterday chose a new Account by newsdamon with 50 connections... same failure...

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              Nachtfalke
                              last edited by

                              which version of pfsense are you using ? 2.1 or 2.0.x ?

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                divotion
                                last edited by

                                i have hat 2.0.2 stable and then i have tried with the 2.1 beta….

                                now i installed 2.0.2 stable again... no luck

                                Loadbalancing is working... but not with 150mbit/s... cant unserstand this...

                                screens of loadbalancing works:

                                1.gif
                                1.gif_thumb
                                2.gif
                                2.gif_thumb
                                3.gif
                                3.gif_thumb

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  cmb
                                  last edited by

                                  The last screenshot looks a lot like what would happen if you had a 100 Mb LAN NIC, and/or a 100 Mb NIC on the client machine, or a 100 Mb switch on LAN in general. Is everything involved on gigabit internally?

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    divotion
                                    last edited by

                                    I think now with my optinal Test, that is not a Pfsense Issue…

                                    I have made an additional Netzwork Interface opt2 (lan2) thats route to opt1 (wan2)...
                                    The lan roule i set to wan1...

                                    then i attached another pc to opt2 for wan2
                                    and my static pc on lan to wan1

                                    the issue is the same... maybe the center is not allowed for more then 100mbit/s... i would tell next week...

                                    here screens of pc 1 to wan and pc 2 to wan 2:

                                    Foto.gif
                                    Foto.gif_thumb
                                    Foto2.gif
                                    Foto2.gif_thumb
                                    rule1.gif
                                    rule1.gif_thumb
                                    rule2.gif
                                    rule2.gif_thumb
                                    rule1.gif
                                    rule1.gif_thumb
                                    rule2.gif
                                    rule2.gif_thumb

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      divotion
                                      last edited by

                                      @cmb:

                                      The last screenshot looks a lot like what would happen if you had a 100 Mb LAN NIC, and/or a 100 Mb NIC on the client machine, or a 100 Mb switch on LAN in general. Is everything involved on gigabit internally?

                                      Yes it is. on Site Pfsense / Fritzbox / PC …

                                      Here Screen:

                                      dash.gif
                                      dash.gif_thumb

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        divotion
                                        last edited by

                                        Hello dear PFSENSE Forum

                                        The Problem was not Pfsense and Loadbalancing issue. It was that the Managed Switch by the technical instance was 100mbit/s…

                                        Not the give me today a new Line in my House... Now is working with 150mbit/s...

                                        Thank you all for your help...

                                        Divotion

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