Project

General

Profile

Feature #4899

Additional BOOTP/DHCP Options should allow a force option

Added by Jeremy Reben over 4 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DHCP Server
Target version:
-
Start date:
07/28/2015
Due date:
% Done:

0%

Estimated time:

Description

One use case is for pxelinux with options 208,209,210.
The client will not request these options so it must be forced to do so.

It appears that "append dhcp-parameter-request-list" does not work as expected and apparently only sends the numbers listed.
I have found mention to "option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,d0,d1,d2,d3);" working.
I haven't be able to test it yet.

The required process would involve editing
/usr/local/www/services_dhcp.php
on 2.2.3-RELEASE
changes should be made around line 1134

/etc/inc/services.inc
on 2.2.3-RELEASE
the required changes should be made somewhere around lines 822 - 832 if append will work
else around lines 858 maybe for the concat option one?

Hopefully this can be of help.

services.inc.patch (528 Bytes) services.inc.patch Jeremy Reben, 07/29/2015 07:27 AM

History

#1 Updated by Jeremy Reben over 4 years ago

This is a RELENG_2_2 patch for /etc/inc/services.inc with a safe workaround for PXElinux.
It would be better to just provide force options from GUI and in the long term allow force per vendor class or something. Who knows.

In any case could be useful to someone having trouble with pxe boot using pfsense as their dhcp server.

#2 Updated by Chris Buechler almost 4 years ago

  • Category set to DHCP Server

#3 Updated by Charles Taylor about 2 years ago

Moving this feature request back to the top of the stack. The creator did all the leg work to implement this, why not take 5 seconds and merge it into testing??

#4 Updated by Steve Beaver about 2 years ago

Code for consideration should be submitted as a Github pull request.

Also available in: Atom PDF