Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
DHCPv4 Client PCP not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: DHCPv4 Client PCP not working (Read 1773 times)
Mika56
Newbie
Posts: 2
Karma: 0
DHCPv4 Client PCP not working
«
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
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:
Code:
[Select]
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:
With Options = vlan-parent "hn0", DHCP Discover packets are sent untagged
With Options = vlan-parent "hn0",vlan-id 832, DHCP Discover packets don't seem to be sent
With Options = (empty)
DHCP Discover packets are sent on VLAN 832 but with a PCP value of 0
With VLAN's PCP (Interfaces > Other Types > VLAN) set to 6, the DHCP Discover packets are correct (VLAN 832 and PCP value of 6).
However, the ISP requires that only the DHCP packets have a priority of 6, not all traffic
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.
Logged
Mika56
Newbie
Posts: 2
Karma: 0
Re: DHCPv4 Client PCP not working
«
Reply #1 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?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
DHCPv4 Client PCP not working