Shaping WAN bandwidth among multiple LAN interfaces
-
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.
-
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 ;)