Todo #8942
closedDHCP config
0%
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;
}
##########################################################################
Updated by k volk about 6 years ago
*Is it possible to adding own lines to the configuration file of the dhcp server directly in the configuration of the dhcp server?