OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of Mika56 »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - Mika56

Pages: [1]
1
21.7 Legacy Series / Re: DHCPv4 Client PCP not working
« 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?

2
21.7 Legacy Series / 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.

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2