DHCP server configuration example
For details on how to configure your DHCP server, please refer to the
manual for that software.
dhcpd.conf example with metadata channel subsets using ISC DHCP Server V3.
# KreaTV Vendor Specific Information
option space KreaTV;
option KreaTV.splash-protocol code 1 = string;
option KreaTV.kernel-protocol code 2 = string;
option KreaTV.bootcast-address code 10 = string;
option KreaTV.bootcast-attempts code 11 = unsigned integer 8;
option KreaTV.bootcast-timeout code 12 = unsigned integer 8;
option KreaTV.tftp-splash-filename code 20 = string;
option KreaTV.tftp-kernel-filename code 21 = string;
option KreaTV.tftp-server-pool code 22 = array of ip-address;
option KreaTV.tftp-pool-attempts code 23 = unsigned integer 8;
option KreaTV.tftp-node-attempts code 24 = unsigned integer 8;
option KreaTV.tftp-rrq-timeout code 25 = unsigned integer 8;
option KreaTV.tftp-timeout code 26 = unsigned integer 8;
option KreaTV.tftp-blocksize code 27 = unsigned integer 16;
option KreaTV.sap-address code 40 = string;
option KreaTV.sap-attempts code 41 = unsigned integer 8;
option KreaTV.sap-timeout code 42 = unsigned integer 8;
option KreaTV.http-server code 60 = string;
option KreaTV.http-port code 61 = unsigned integer 16;
option KreaTV.http-timeout code 62 = unsigned integer 8;
option KreaTV.http-attempts code 63 = unsigned integer 8;
option KreaTV.renewal-method code 100 = boolean;
vendor-option-space KreaTV;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
range dynamic-bootp 192.168.0.40 192.168.0.80;
default-lease-time 1200;
max-lease-time 43200;
# Common parameters
next-server 192.168.0.3;
filename "/tftpboot/kreatv-kernel";
filename "SAP/2/224.2.127.254:9875";
option swap-server 192.168.0.4;
option root-path "/extra/nfs/kreatv-nfs";
option KreaTV.splash-protocol "3,1,3";
option KreaTV.kernel-protocol "3,1,3";
option KreaTV.bootcast-address "224.2.2.2:22222";
option KreaTV.bootcast-attempts 3;
option KreaTV.bootcast-timeout 10;
option KreaTV.tftp-splash-filename "/tftpboot/spl";
option KreaTV.tftp-kernel-filename "/tftpboot/kreatv-kernel";
option KreaTV.tftp-server-pool 192.168.0.2, 192.168.0.5;
option KreaTV.tftp-pool-attempts 8;
option KreaTV.tftp-node-attempts 2;
option KreaTV.tftp-rrq-timeout 10;
option KreaTV.tftp-timeout 10;
option KreaTV.tftp-blocksize 1428;
option KreaTV.sap-address "224.2.127.254:9875";
option KreaTV.sap-attempts 3;
option KreaTV.sap-timeout 10;
option KreaTV.renewal-method off;
}
The following configuration could be used if the server does not support Vendor Encapsulated Options.
se-time 3600;
max-lease-time 7200;
option time-offset 0;
subnet 192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.20 192.168.100.250;
option routers 192.168.100.10;
option option-128 "224.2.2.2:22222";
option option-132 "2,3";
option option-131 "2,3";
option option-133 "kreatv-splash_1500";
next-server 192.168.100.10;
filename "kreatv-bi_1500";
option vendor-encapsulated-options 01:02:32:33:02:02:32:33:16:04:C0:A8:64:0A:15:09:2F:31:39:30:30:2E:62:69:6E:14:0B:2F:73:70:6C:61:73:68:2E:62:69:6E;
# Option 01 = 0x01 (splash-protocol)
# 01:02:32:33
# 2,3
# Option 02 = 0x02 (kernel-protocol)
# 02:02:32:33
# 2,3
# Option 03 = 0x03 (firmware-log)
# 03:15:31:39:32:2E:31:36:38:2E:31:30:30:2E:31:30:30:3A:31:39:39:39:37
# 1 9 2 . 1 6 8 . 1 0 0 . 1 0 0 : 1 9 9 9 7
# Option 22 = 0x16 (tftp-server-pool)
# 16:04:C0:A8:64:0A
# 192.168.100.10
# Option 21 = 0x15 (tftp-kernel-filename)
# 15:09:2F:31:39:30:30:2E:62:69:6E
# / 1 9 0 0 . b i n
# Option 20 = 0x14 (tftp-splash-filename)
# 14:0B:2F:73:70:6C:61:73:68:2E:62:69:6E
# / s p l a s h . b i n
}
|