Load Balancing wont work, in my Opinion



  • Hi dear Community…

    I have setup Multiwan with Loadbalanding... But wont work in my Opinion...

    1.) 2 Wan and one Lan
    2.) Make the two Gateways with one Group
    3.) Take the LAN out to the Group
    4.) Tryed with or without sticky Connections in Advanced Tap
    5.) Take NAT Manualy with configured on booth wans
    6.) Take weight of booth wan... Tryed with diferentes weights...
    7.) Tried with more then one Pc in Lan

    Cant get it work finaly...

    Wan 1: 50mbit/s fiber
    Wan 2: 100mbit/s fiber

    All Lan Ports are 1gbit/s and the wans too...

    Cant get more then 100mbit/s bandwight! why?

    In Youtube Videos / Tutorials / Forum Answeres they loadbaland more then the max. wan speed of one... Cant get 150mbit/s working... I see booth wan loading / or one only, but not more then 100mbit/s...

    what can be this for a reason?

    i have tried to load with jdownloader +  usenet + torrent...

    thx divotion



  • 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.



  • 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?



  • 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).



  • 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



  • 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.



  • 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...

















  • Rebel Alliance

    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 ?



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

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






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

    here screens








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

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








  • 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 ?



  • 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...



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



  • 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:








  • 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?



  • 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:














  • @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:




  • 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


Log in to reply