Because shaping is hard…



  • Hello there,

    A quick question if someone could point me in the correct direction.

    I have a very simple shaping situation…

    All traffic to / from OPT5 - get a minimal of 1/1Mbps (because phones are important). Highest priority.
    All traffic to / from OPT4 - get a maximum of 1/1Mbps (because a guest shouldn't be able to eat more). Lowest priority.
    All traffic to / from OPT3 - get a minimum of 3/3Mbps (Because corp needs some speed). 2nd highest.
    Rest of traffic to / from OPT2, LAN - whatever is there. 3rd highest.

    I have dual WAN links, although they are for failover. The speeds are not the same (40/15Mbps and 6/768Kbps) but the rules can apply to either equally.

    I have read the book: Configuring the ALTQ Traffic Shaper With the Wizard but when I follow the wizard, it seems to make a whole bunch of rules on EVERY int.

    How do I go about doing this?



  • Traffic-shaping cant share bw among interfaces but you can guarantee minimums to individual interfaces, I think.

    btw, your traffic-shaping scenerio might be conceptually simple, but implementing it is not.

    Search for the lan party config gold thread. That fella works with multiWAN a nd maybe multilan.



  • @MordyT:

    All traffic to / from OPT5 - get a minimal of 1/1Mbps (because phones are important). Highest priority.
    All traffic to / from OPT4 - get a maximum of 1/1Mbps (because a guest shouldn't be able to eat more). Lowest priority.
    All traffic to / from OPT3 - get a minimum of 3/3Mbps (Because corp needs some speed). 2nd highest.
    Rest of traffic to / from OPT2, LAN - whatever is there. 3rd highest.

    I have dual WAN links, although they are for failover. The speeds are not the same (40/15Mbps and 6/768Kbps) but the rules can apply to either equally.

    You say it's simple, and yet you start with wanting to guarantee 1/1 Mbps when you might have a failed-over situation where you could only have 6Mbps/768Kbps. given that 768K is less than 1M, you cannot guarantee 1M up in that situation.

    I don't have multi-WAN at present. I fought with the shaper for a long time, and especially the shaper AND transparent Squid, which is a complete bust in any 2.2 version…

    I gave up on transparent squid. I also gave up on anything to do with …the wizard (I'd rather have this bottle infrontofme than a frontal lobotomy) I run codelq, no settings, on WAN and LAN. Codelq should not need any settings, so I ignore the fact that the GUI brings up settings with it selected. I run the limiter. I get something more closely approximating fair sharing (with priority sensitivity) than anything I did with the shaper before.

    I should have another post describing what I do with it more fully around here someplace. Here we go:
    https://forum.pfsense.org/index.php?topic=99529.msg555886#msg555886

    I guess that does not specifically mention "weight" which is hiding under "advanced" for each child limiter. That's how you do priority in the limiter. Help is vague but range is from 1-100 and I have made the assumption in lack of documentation that the total weight should add to 100. So I'd give your phoneQs 40, your corpQs 30 your general Qs 20 or 25 and your guestQs 10 or 5 for a total of 100.


Log in to reply