Project

General

Profile

Actions

Bug #7425

closed
MW LS

dhclient not sending option 77

Bug #7425: dhclient not sending option 77

Added by Martin Wasley over 9 years ago. Updated over 7 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?

MW Updated by Martin Wasley over 9 years ago Actions #1

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

LS Updated by Luiz Souza about 9 years ago Actions #2

  • Assignee set to Luiz Souza

LS Updated by Luiz Souza about 9 years ago Actions #3

  • Target version changed from 2.4.0 to 2.4.1

JP Updated by Jim Pingle almost 9 years ago Actions #4

  • 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.

JP Updated by Jim Pingle almost 9 years ago Actions #5

  • Target version changed from 2.4.2 to 2.4.3

NS Updated by Nicolas Scheffer almost 9 years ago Actions #6

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

ES Updated by Eric Scherlinger almost 9 years ago Actions #7

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

KW Updated by Kev Willers almost 9 years ago Actions #8

Is this still planned for 2.4.3 ?

LS Updated by Luiz Souza over 8 years ago Actions #9

  • 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.

JP Updated by Jim Pingle over 8 years ago Actions #10

  • Target version changed from 2.4.3 to 2.4.4

→L Updated by → luckman212 about 8 years ago Actions #11

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

Updated by Anonymous about 8 years ago Actions #12

  • Status changed from Confirmed to New

Updated by Anonymous about 8 years ago Actions #13

  • Status changed from New to 13

Updated by Anonymous about 8 years ago Actions #14

  • Status changed from 13 to New

Updated by Anonymous about 8 years ago Actions #15

  • Status changed from New to Feedback

LS Updated by Luiz Souza about 8 years ago Actions #16

  • Status changed from Feedback to In Progress

LS Updated by Luiz Souza about 8 years ago Actions #17

  • 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.

Updated by Anonymous about 8 years ago Actions #18

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

Updated by Anonymous about 8 years ago Actions #19

  • Status changed from Feedback to Resolved

BG Updated by Bob Gray over 7 years ago Actions #20

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 ?

JP Updated by Jim Pingle over 7 years ago Actions #21

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