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

    Shaping WAN bandwidth among multiple LAN interfaces

    Scheduled Pinned Locked Moved Traffic Shaping
    2 Posts 2 Posters 1.3k 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.
    • S
      sgatto
      last edited by

      Hi all,

      I have a 10 Mbps WAN link (symmetric, guaranteed) to the Internet and 5 LAN interfaces. I want to be able to shape that bandwith among all the interfaces so that I can define a normal queue to which all traffic from all interfaces belongs and some other queues that have guarantees or priorities (globally).

      As an example:

      • queue normal: IPs in this queue gets all the bandwidth, fairly divided among all IPs.
      • queue high: IPs in this queue get bandwidth with a major priority over the other queues.
      • queue 2Mbpsguarantee: IPs in this queue gets at least 2Mbps, no matter how congested the network is. it can grow to 10 if possible.

      I want to be able to assign IPs to queues no matter from what interface it came from.

      The point is to be able to queue traffic on all LAN interfaces as if it is one interface with the bandwidth of the WAN link

      Any help would be really appreciated !

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • G
        georgeman
        last edited by

        Multi-LAN does not really play well with the shaper, currently. The only way (as far as I know) to handle multi-LAN properly would be to create a bridge with all the interfaces and apply the shaper to it. If you do that, although all LANs will be on the same subnet, you can still somewhat filter traffic between them (by activating the proper system tunables).

        Anyway, bridging sounds exactly like you want. And "guaranteeing bandwith" makes me think of HFSC  ;)

        If it ain't broke, you haven't tampered enough with it

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