sysctl net.link.vlan.mtag_pcp
@doktornotor I'm not playing with dhclient conf files directly, vlan-pcp is set via GUI on WAN interface config.
IMNSHO, all this automagic behind the scenes stuff is just annoying.
grep "set prio" /tmp/rules.debug
Well yes, but why???
because the ISP requires it, apparently.
The question was - that VLAN priority header is already being set by the pf rules. Why is the same thing being done by dhclient at the same time (with the final result that none of that works).
Oh, I see. "Belt and suspenders", maybe?
root@OPNsense:~ # tcpdump -nnvei igc0tcpdump: listening on igc0, link-type EN10MB (Ethernet), snapshot length 262144 bytes17:46:47.517488 00:d0:b4:01:a5:a1 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 346: vlan 832, p 6, ethertype IPv4 (0x0800), (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 328) 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:d0:b4:01:a5:a1, length 300, xid 0xea8b2ca, secs 32, Flags [none] Client-Ethernet-Address 00:d0:b4:01:a5:a1 Vendor-rfc1048 Extensions Magic Cookie 0x63825363 DHCP-Message (53), length 1: Discover Client-ID (61), length 7: ether 00:d0:b4:01:a5:a1 Hostname (12), length 8: "OPNsense" Parameter-Request (55), length 10: Subnet-Mask (1), BR (28), Time-Zone (2), Classless-Static-Route (121) Default-Gateway (3), Domain-Name (15), Domain-Name-Server (6), Hostname (12) Unknown (119), MTU (26)