Project

General

Profile

Actions

Bug #7425

closed

dhclient not sending option 77

Added by Martin Wasley over 7 years ago. Updated almost 6 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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?

Actions #1

Updated by Martin Wasley over 7 years ago

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

Actions #2

Updated by Luiz Souza over 7 years ago

  • Assignee set to Luiz Souza
Actions #3

Updated by Luiz Souza over 7 years ago

  • Target version changed from 2.4.0 to 2.4.1
Actions #4

Updated by Jim Pingle about 7 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.

Actions #5

Updated by Jim Pingle about 7 years ago

  • Target version changed from 2.4.2 to 2.4.3
Actions #6

Updated by Nicolas Scheffer about 7 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

Actions #7

Updated by Eric Scherlinger about 7 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

Actions #8

Updated by Kev Willers about 7 years ago

Is this still planned for 2.4.3 ?

Actions #9

Updated by Luiz Souza almost 7 years 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.

Actions #10

Updated by Jim Pingle almost 7 years ago

  • Target version changed from 2.4.3 to 2.4.4
Actions #11

Updated by → luckman212 over 6 years 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

Actions #12

Updated by Anonymous over 6 years ago

  • Status changed from Confirmed to New
Actions #13

Updated by Anonymous over 6 years ago

  • Status changed from New to 13
Actions #14

Updated by Anonymous over 6 years ago

  • Status changed from 13 to New
Actions #15

Updated by Anonymous over 6 years ago

  • Status changed from New to Feedback
Actions #16

Updated by Luiz Souza over 6 years ago

  • Status changed from Feedback to In Progress
Actions #17

Updated by Luiz Souza over 6 years 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.

Actions #18

Updated by Anonymous over 6 years ago

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

Actions #19

Updated by Anonymous over 6 years ago

  • Status changed from Feedback to Resolved
Actions #20

Updated by Bob Gray almost 6 years 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 ?

Actions #21

Updated by Jim Pingle almost 6 years 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

Actions

Also available in: Atom PDF