On Thu, Aug 20, 2015 at 09:47:09AM -0300, Paulo Coimbra wrote:
> Hi all,

Hello Paulo,

> 
> I'm now doing some tests with openbsd+pf+queueing. My scenario is:
> 
> [MIKROTIK 1] ----------------- [OPENBSD BOX]--------------[MIKROTIK 2]
> 
> I've configured vlan 100 with physical interface em0 at openbsdBox and
> mikrotik 1, and create two queues (vlan100_in and vlan100_out) to limit
> bandwidth at 10M each direction. But... It doesn't works.
> 
> My pf.conf is as follows:
> 
--- SNIPPED ---
> 
> queue v100 on em0 bandwidth 1000M
> queue vlan100_in parent  v100 bandwidth 10M default
> queue vlan100_out parent v100 bandwidth 10M
> 
--- SNIPPED ---
> 
> Any ideas? What am I doing wrong?

You didn't configure the 'max' parameter in your queue, so it's probably
sharing the bandwidth.

Try this:
...
queue vlan100_in parent  v100 bandwidth 10M, max 10M default
queue vlan100_out parent v100 bandwidth 10M, max 10M
...

> 
> thanx,
> 
> Paulo Coimbra

Reply via email to