Traffic shaping for voip+guest+lan

Started by devilkin, November 02, 2020, 01:20:40 PM

Previous topic - Next topic
Hi,

I'm trying to figure out the best way to do this:

* Guest LAN is restricted to max 100/10mbps (down/up)
* VOIP traffic on guest lan is high prio, even over non-guest lan traffic

Reasoning: the corporate portables we're using are not allowed on my normal network - they're on the guest lan, but the voip should go through whatever.

Right now I created four pipes:
- Lan up/down
- Guest up/down (restricted in bw)

Queues for:
- guest up/down, prio 1 -> guest up/down pipes
- lan up/down, prio 1 -> lan up/down pipes
- voip up/down, prio 2 -> lan/up down pipes

Rules:
- Guest subnet -> guest queues
- Other traffic -> lan pipes
- Voip traffic (matched by destination ip & port) -> voip pipes

Is there a better way to work? I was hoping that in some way I could limit the bandwidth somewhere else than in the pipe (so that I don't need 4 pipes)

Thanks in advance.