Hi all,

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:

#
# [0x01] Macros
#

#
# [0x02] Tables
#

#
# [0x03] Options
#
set skip on lo

#
# [0x04] Traffic Normalization
#

#
# [0x05] Queueing
#
queue v100 on em0 bandwidth 1000M
queue vlan100_in parent  v100 bandwidth 10M default
queue vlan100_out parent v100 bandwidth 10M

#
# [0x06] Translation
#

#
# [0x07] Packet Filtering
#
pass in quick on vlan100 set queue vlan100_in
pass out quick on vlan100 set queue vlan100_out

Any ideas? What am I doing wrong?

thanx,

Paulo Coimbra


2015-08-19 22:59 GMT-03:00 James Shupe <jsh...@hermetek.com>:

> On 8/19/2015 3:39 PM, Paulo Coimbra wrote:
> > hi,
> > This is my first mail to the list. It's possible limit traffic by Vlan
> with
> > openbsd? For example I would like to limit 50mb for Vlan 100.
> >
> > Br,
> >
> > Paulo Coimbra
> >
> >
>
>
> http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/pf.conf.5?query=pf.conf&arch=i386
>
> Read the QUEUEING section.
>
>


-- 
br,

Paulo Coimbra

Reply via email to