I'm trying to get my isc dhcp client (aka dhclient) to send a custom option to a server from an ubuntu 10.04 client. I started with an example from the dhcp-options(5). There, they say the only rule for choosing a new name is that "not in use for some other option." The rules for the codes are longer, but basically, you just choose something "between 224 and 254" as those are "reserved as 'site-local'."
Anyway, my actual custom option didn't work so I tried this example from the man page and I'm getting the same sorts of errors.
option sql-identification-token code 195 = string; option sql-identification-token 17:23:19:a6:42:ea:99:7c:22;
This is a typical error. I've tried moving various things around and I can get other syntax errors using syntax that does not match the documentation.
/etc/dhcp3/dhclient.conf line 5: expecting "code" keyword. option sql-identification-token 17:
I have some ideas I wish to try, but I've been working on it for quite a while now and I expect there's some simple solution. In any case, this seems like a great place to post my results when I eventually figure it out.