Dhclient not send option 77
-
Hi,
Excuse me to open this subject here, but this concerns the beta 2.4
The subject has already been discussed in "pfSense English Support -> DHCP and DNS" dhclient does not support option 77 "I confirm that "option-77" or user-class is not sent by dhclient on pfsense 2.4.
View my result dhcpdump :–-------------------------------------------------------------------------
TIME: 2017-03-15 12:41:57.540
IP: 0.0.0.0 (00:0c:29:5c:ac:dc) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: a39a7bf5
SECS: 28
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:0c:29:5c:ac:dc:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 60 ( 5) Vendor class identifier sagem
OPTION: 61 ( 7) Client-identifier 01:00:0c:29:5c:ac:dc
OPTION: 12 ( 2) Host name jr
OPTION: 55 ( 9) Parameter Request List 1 (Subnet mask)
28 (Broadcast address)
51 (IP address leasetime)
58 (T1)
59 (T2)
119 (Domain Search)
3 (Routers)
6 (DNS server)
90 (Authentication)OPTION: 90 ( 22) Authentication 0000000000000000 ........
0000006674692f64 ...fti/d
xxxxxxxx xxxxxview my config :
interface "vmx0_vlan832" {
#send-interface "vmx0";
vlan-id 832;
#vlan-pcp 6;DHCP Protocol Timing Values
timeout 60;
retry 15;
reboot 0;
select-timeout 0;
initial-interval 1;DHCP Protocol Options
send dhcp-class-identifier "sagem";
send option-77 "+FSVDSL_livebox.Internet.softathome.Livebox4";
send option-90 00:00:00:00:00:00:00:00:00:00:00:66:74:69:2f:xx:xx:xx:xx:xx:xx:xx;
request subnet-mask, broadcast-address, dhcp-lease-time, dhcp-renewal-time, dhcp-rebinding-time, domain-search, routers, domain-name-servers, opt
ion-90;or
interface "vmx0_vlan832" {
#send-interface "vmx0";
vlan-id 832;
#vlan-pcp 6;DHCP Protocol Timing Values
timeout 60;
retry 15;
reboot 0;
select-timeout 0;
initial-interval 1;DHCP Protocol Options
send dhcp-class-identifier "sagem";
send user-class "+FSVDSL_livebox.Internet.softathome.Livebox4";
send option-90 00:00:00:00:00:00:00:00:00:00:00:66:74:69:2f:xx:xx:xx:xx:xx:xx:xx;
request subnet-mask, broadcast-address, dhcp-lease-time, dhcp-renewal-time, dhcp-rebinding-time, domain-search, routers, domain-name-servers, opt
ion-90;Thanks for the help
Best regards,
fred
-
BugID
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184117
-
I have taken the mods that were carried out on the 2.3 dhclient and applied them to the freebsd 11 client. If you wish you can try the file attached.
One of my testers also needs this for his French abode ( Orange ).
It's not tested and is hot off the compiler.
-
HI,
Thanks for the help, the problem resolv.
King regards,
fred
-
HI,
Thanks for the help, the problem resolv.
King regards,
fred
Are you saying that the client I uploaded is working for you?
-
HI,
Yes, view screenshoot.
Thanks
fred
-
Thanks Fred, that's good news, I'll try and get it PR'd into the main FreeBSD11 code.
-
HI,
Yes, view screenshoot.
Thanks
fred
Fred, you say the client was working in 2.3, yet the developers are saying there have been no changes made to dhclient. Please can you post on the link below on GitHub and give any useful information.
https://github.com/pfsense/FreeBSD-src/pull/8#issuecomment-290107273
-
https://redmine.pfsense.org/issues/7425
for dhclient VLAN priority support :
https://github.com/opnsense/src/commit/b7307744e08bc601f1ae83773ee1afaa8b170f57