Traffic shape different subnets



  • Is it possible to shape different subnets?
    Lets say
    10.10.0.0 can use 40 %
    10.20.0.0 can use 60 %

    But when the 10.10.0.0 network has no traffic allow the 10.20.0.0 network to have 100% bandwidth  ?

    If this is possible can someone tell me how?

    thanks



  • Yes it is.

    First, create your queues using the scheduler you want: probably CBQ or HFSC.

    For example, for CBQ:
    WAN (for upload)
    –-qSubnet1 (default, Bandwidth:40%, borrow)
    ---qSubnet2 (Bandwidth:60%, borrow)
    LAN (for download)
    ---qSubnet1 (default, Bandwidth:40%, borrow)
    ---qSubnet2 (Bandwidth:60%, borrow)

    Then, in your firewall rules, you specifiy qSubnet1 and qSubnet2 in the different rules.
    Example of a rule:
    Action: Pass
    Source: 10.10.0.0/16
    Destination: any
    Queue: qSubnet1

    Hope this helps.



  • thanks

    i have a dual wan.
    do i need to do it like this then?

    WAN (for upload)
    –-qSubnet1 (default, Bandwidth:40%, borrow)
    ---qSubnet2 (Bandwidth:60%, borrow)
    WAN 2(for upload)
    ---qSubnet1 (default, Bandwidth:40%, borrow)
    ---qSubnet2 (Bandwidth:60%, borrow)

    the firewall rules do i need to make them for wan and for lan?

    thanks



  • Yes, you have to define the traffic shaping like that.

    Regarding the rules, what I am currently doing is to specify on tab LAN (for download shaping) and on tab "Floating" (for upload shaping).
    But, I think I read somewhere that it may be sufficient to only specify them on the "Floating" tab (you then set "Direction" to "any").
    I haven't tested that.

    Maybe someone else can confirm that.


Locked