Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
1  
I may have already reasoned this out in the car. You set options on the server, clients send them. Requires testing. –  jettero Aug 22 '10 at 13:53
    
Yup. send option was all I needed. sigh –  jettero Aug 22 '10 at 23:33
    
You should add an answer include details of what you actually did, and then accept that answer. –  Zoredache Jan 27 '11 at 3:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.