Actions
Todo #8942
closedDHCP config
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
DHCP (IPv4)
Target version:
-
Start date:
09/25/2018
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Description
In some cases, you may need to add additional partitions to the dhcpd configuration file. Now I do it through editing php file etc-inc-services.inc. Is it possible to implement adding your own strings to the dhcp server configuration file?
It looks like this:
###########################################################################- #
- BlaBlaBla Section #
- #
###########################################################################
option space BlaBlaBla;
option BlaBlaBla.url code 1 = text;
option BlaBlaBla.mode code 2 = integer 8;
option BlaBlaBla.timezone code 3 = text;
##########################################################################
class "blabla-class"
{
match if (option vendor-class-identifier="blabla-class");
vendor-option-space BlaBlaBla;
option BlaBlaBla.url "http://localhost";
option BlaBlaBla.timezone "GMT-3";
option domain-name-servers 192.168.0.1;
}
##########################################################################
Actions