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

    Traffic shape different subnets

    Scheduled Pinned Locked Moved Traffic Shaping
    4 Posts 2 Posters 1.7k 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.
    • M
      Maaarten
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • N
        netsysadmin
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • M
          Maaarten
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • N
            netsysadmin
            last edited by

            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.

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