I'm attempting to setup a dhcp server in Linux for a specific purpose. I'm following a guide written for Windows and think I am on the right path but need a little guidance.
The document has me creating a vendor class and adding options codes 141, 151, and 163 to supply the clients with a server (ip address), config file (string), and download protocol (byte).
Let me know what you think about mirroring this document with this type of config:
Code:
option server code 141 = ip-address;
option config code 151 = text;
option proto code 163 = uint8;
subnet 192.168.0.0 netmask 255.255.255.0 {
option server 192.168.0.10;
option config "config.cfg";
option proto 1;
<...>
}
According to the
dhcpd.conf and dhcp-options man pages I've found online, this should work. When loading dhcpd, however, I receive a notice the config file is not correctly setup.
Code:
<...>
option proto code 163 = uint8;
^
configuration file errors encountered -- exiting
<...>
Does anyone have an idea why this data format is not working for me? I am running Slackware 13.37 and ISC-DHCP 4.2.1-P1.