Project

General

Profile

Bug #7425

dhclient not sending option 77

Added by Martin Wasley over 2 years ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Unknown
Target version:
Start date:
03/24/2017
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.x
Affected Architecture:

Description

Not sure it's a bug, more of something missing. As reported on the forum 2.4 dhclient does not send option 77. This particularly affects customers of Orange France who need to send this optiom. I have re-applied the patches that were done to the 2.3 client, where it works, to the 2.4 client; the user on the forum reported it's working correctly.

Should I do a PR to the main FreeBSD repo ir PR it to pfSense/FreeBSD-Src?

Associated revisions

Revision 62ed56dc (diff)
Added by Luiz Souza 12 months ago

Add the GUI support to set the VLAN Priority for the DHCP requests.

Ticket #7425

History

#1 Updated by Martin Wasley over 2 years ago

I have issued a PR on this: pfsense/FreeBSD-src - Option 77 Additions to dhclient #8

#2 Updated by Luiz Souza about 2 years ago

  • Assignee set to Luiz Souza

#3 Updated by Luiz Souza about 2 years ago

  • Target version changed from 2.4.0 to 2.4.1

#4 Updated by Jim Pingle almost 2 years ago

  • Target version changed from 2.4.1 to 2.4.2

Moving target to 2.4.2 as we need 2.4.1 sooner than anticipated.

#5 Updated by Jim Pingle almost 2 years ago

  • Target version changed from 2.4.2 to 2.4.3

#6 Updated by Nicolas Scheffer almost 2 years ago

Jim Pingle wrote:

Moving target to 2.4.2 as we need 2.4.1 sooner than anticipated.

This option is mandatory to replace a livebox from Orange (main Internet Provider in France) using a xDSL or Fiber access.
Without this option there is no internet access.

Could we have it sooner ? To be able to test it !
Many thanks in advance.

Regards

Nicolas

#7 Updated by Eric Scherlinger almost 2 years ago

I agree with Nicolas,
we are quite a few to replace the Pfsense binaries to make this scenario work in France.

Replacing files on Pfsense is really a bad workaround and we would love the dhcpclient to support other options.

thanks

Eric

#8 Updated by Kev Willers over 1 year ago

Is this still planned for 2.4.3 ?

#9 Updated by Luiz Souza over 1 year ago

  • Status changed from New to Confirmed

Option 77 works on 2.4.3 snapshots, I'm checking what we can do about the VLAN priority.

#10 Updated by Jim Pingle over 1 year ago

  • Target version changed from 2.4.3 to 2.4.4

#11 Updated by Luke Hamburg about 1 year ago

are marjohn's DHCP fixes still going to get merged for 2.4.4?
seems like the file in question is bpf.c from upstream dhclient
https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_4_4/sbin/dhclient/bpf.c
compare to
https://github.com/opnsense/src/blob/master/sbin/dhclient/bpf.c

#12 Updated by Steve Beaver about 1 year ago

  • Status changed from Confirmed to New

#13 Updated by Steve Beaver about 1 year ago

  • Status changed from New to This Sprint

#14 Updated by Steve Beaver about 1 year ago

  • Status changed from This Sprint to New

#15 Updated by Steve Beaver 12 months ago

  • Status changed from New to Feedback

#16 Updated by Luiz Souza 12 months ago

  • Status changed from Feedback to In Progress

#17 Updated by Luiz Souza 12 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

It is now possible to set the VLAN Priority for DHCP requests (the same way that is done in DHCPv6).

Please test with the next snapshot.

#18 Updated by James Dekker 12 months ago

On 2.4.4.a.20180824.1144, DHCP option 77 (user-class) is sent successfully.

#19 Updated by James Dekker 12 months ago

  • Status changed from Feedback to Resolved

#20 Updated by Bob Gray 6 months ago

Luiz Souza wrote:

It is now possible to set the VLAN Priority for DHCP requests (the same way that is done in DHCPv6).

Please test with the next snapshot.

In 2.4.4-RELEASE-p2
- Ticking Enable dhcpclient VLAN Priority tagging and selecting a priority is not working
- but adding "vlan-pcp 6" as an Option modifiers is tagging the dhclient packets with the correct (6 here) vlan priority
Is this the expected behaviour ?

#21 Updated by Jim Pingle 6 months ago

That is exactly what the GUI option will put into the config but you have to ensure:

1. That you check the "Enable dhcpclient VLAN Priority tagging" box
2. That you set the appropriate value in the drop-down
3. That you do NOT have configuration override enabled or advanced configuration enabled, as these will override the default GUI options with the advanced settings

Also available in: Atom PDF