OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: Mika56 on August 09, 2021, 05:13:28 PM

Title: DHCPv4 Client PCP not working
Post by: Mika56 on August 09, 2021, 05:13:28 PM
Hi,

I'm trying to set up an OPNsense to replace my ISP provided router combo/box.
My ISP is Orange and I have a FTTH connection, so I followed the following guide: https://docs.opnsense.org/manual/how-tos/orange_fr_fttp.html (https://docs.opnsense.org/manual/how-tos/orange_fr_fttp.html)
However, I'm having trouble marking the DHCP packets with a PCP value of 6, as required.

Here's the value of Options Modifiers on my install:
vlan-parent "hn0",vlan-id 832,vlan-pcp 6
(The hn0 interface is connected to my ONT).
When this value is set, I don't see any DHCP Discover packets on the network (for debugging purpose, I've added a switch between the OPNsense server and the ONT, and have a computer running Wireshark. All ports are in trunk mode).

I've made more tests:

These tests make me confident that my setup correctly supports and sets the PCP value. However, it looks like dhclient creates a invalid packet that isn't sent?
Notable information: my OPNsense server is a VM running on Hyper-V.
Title: Re: DHCPv4 Client PCP not working
Post by: Mika56 on August 09, 2021, 06:16:38 PM
Well, I went bare metal to remove the virtualization layer.
The DHCP packets are tagged properly.
I wonder if its a bug in the Hyper-V module or a bug in Hyper-V itself?