LoadBalancing and Traffic Shaper



  • Hi,

    i'm trying to configure Traffic Shaping and LoadBalancing for three Wan Interfaces.

    I configured Wan1/Wan2/Wan3 and all works fine (tested with ping).
    I have three gateways in System –> routing and i put all three in a new gateway group (Main).

    But if i change the firewall rule for using the main gateway instead of the default gateway no website will load anymore :-( .

    I also configured Traffic Shaping for multiple Wan with the wizard.
    What do i have to do activate Traffic Shaping for the Main Gateway group?

    Thanks for your help.

    JonnyD



  • Does Load Balancing work without Traffic Shaping ?
    Further remember, that there are some protocols/ports which do NOT allow load Balancing.

    Do you use any other packages like squid an so on ?
    Which version/snapshot do you use ?



  • No it doesnt work with disabled traffic shaping too :-( !
    I'm using the beta4 snapshot from 17.12.2010.

    As soon as i switch from default to the Main gateway group all internet connections stop working.
    Is there a bug in this snapshot version?



  • I updated to snapshot-20.04.2010 but nothing changes…

    i get these information from system logs:
    kernel: arpresolve: can't allocate llinfo for 192.168.155.4
    kernel: arpresolve: can't allocate llinfo for 192.168.155.2

    These are the ip adresses from the gw_wan2 and gw_wan3 ...



  • These to Gateways are in the same subnet…not sure, if this works !?



  • 192.168.155.4 and 155.2 are two fritzbox routers for the A-DSL connections…
    Only Wan1 is in another subnet.

    Do i have to put the fritzbox routers in another subnet to get things work?
    Can't imagine that cause everything (except sticky connections and traffic shaping) worked fine under pfsense 1.2.3



  • I have the same errors in the log, but my connections are not on the same subnet, Traffic Shaping is not getting more packages from VOIP



  • I've tried to set up traffic shaper with the wizard and got this message:
    "There were error(s) loading the rules: pfctl: should have one default queue on pppoe0pfctl: errors in altq config - The line in question reads [ should have one default queue on pppoe0 pfctl]: …"
    I am on 2.0-BETA4 (i386) built on Mon Dec 20 22:18:43 EST 2010 embedded (nanobsd) on Alix board.
    I've 1 WAN , 1 wired + 1 wlan  bridged (bridge0 as LAN). My aim with shaper is to provide everyone a fair bandwidth to wan and do not let anyone to seize the whole bandwidth.
    If the wizard doesn't create the default queue, how can I do it?



  • Hi

    I have a similar issue with 2010-12-20 snapshot.

    I have configured two WAN (WAN and WAN2) and setup a group in System=>Routing=>Group. I set "Tier 1" for the 2 Interface Dynamic Gateway WAN and WAN2, set "Trigger Level" to "Member Down" and saved the group. I have reported the group in my first rule in "Firewall"=>"Rules"=>"LAN", in  "Gateway" item. But if I plug off WAN1, WAN2 is not used and traffic is stopped.

    Another issue. When I click on Status=>RRD Graph, I have message:
    Parse error: syntax error, unexpected '{' in /usr/local/www/status_rrd_graph.php on line 243



  • I am having the same issue, on the latest snapshot



  • Try latest snapshots fixed.



  • @ermal:

    Try latest snapshots fixed.

    Seems to be O.K. now.
    Thanks



  • I have upgraded to snapshot built on Fri Dec 24 00:25:29 EST 2010

    @ebo2002fr:

    I have configured two WAN (WAN and WAN2) and setup a group in System=>Routing=>Group. I set "Tier 1" for the 2 Interface Dynamic Gateway WAN and WAN2, set "Trigger Level" to "Member Down" and saved the group. I have reported the group in my first rule in "Firewall"=>"Rules"=>"LAN", in  "Gateway" item. But if I plug off WAN1, WAN2 is not used and traffic is stopped.

    It does not work with snapshot built on Fri Dec 24 00:25:29 EST 2010. But I must have wrong configuration. I have read that in 2.0, it is not mandatory to create 3 routing groups. Is the document http://doc.pfsense.org/index.php/Multi_WAN_/_Load_Balancing still accurate for version 2.0 ?

    @ebo2002fr:

    Another issue. When I click on Status=>RRD Graph, I have message:
    Parse error: syntax error, unexpected '{' in /usr/local/www/status_rrd_graph.php on line 243

    Fixed in snapshot built on Fri Dec 24 00:25:29 EST 2010



  • @ebo2002fr:

    It does not work with snapshot built on Fri Dec 24 00:25:29 EST 2010. But I must have wrong configuration. I have read that in 2.0, it is not mandatory to create 3 routing groups. Is the document http://doc.pfsense.org/index.php/Multi_WAN_/_Load_Balancing still accurate for version 2.0 ?

    Found Howto http://forum.pfsense.org/index.php/topic,28121.0.html


Locked