Project

General

Profile

Actions

Feature #4899

open

Additional BOOTP/DHCP Options should allow a force option

Added by Jeremy Reben over 9 years ago. Updated almost 7 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:

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.


Files

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

Updated by Jeremy Reben over 9 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.

Actions #2

Updated by Chris Buechler almost 9 years ago

  • Category set to DHCP (IPv4)
Actions #3

Updated by Charles Taylor almost 7 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??

Actions #4

Updated by Anonymous almost 7 years ago

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

Actions

Also available in: Atom PDF