Project

General

Profile

Actions

Todo #8942

closed

DHCP config

Added by k volk about 6 years ago. Updated about 6 years ago.

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:

###########################################################################
  1. #
  2. BlaBlaBla Section #
  3. # ###########################################################################
    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

Also available in: Atom PDF