packet filter set prio vlan not working

Hi,

The parameter "set prio" not put the priority on VLAN header.

set prio priority | (priority, priority)
Packets matching this rule will be assigned a specific queueing
priority. Priorities are assigned as integers 0 through 7.If the
packet is transmitted on a vlan(4) interface, the queueing priority
willbe written as the priority codepoint in the 802.1Q VLAN
header. If two priorities are given, packets which have a TOS of
lowdelay andTCP ACKs with no data payload will be assigned to the
second one.

For example:

pass in proto tcp to port 25 set prio 2
pass in proto tcp to port 22 set prio (2, 5)

pf.conf()
 
Back
Top