Re: Vendor specific DHCP option codes

Kaya Saman <[email protected]>
Newsgroups gmane.os.openbsd.sparc
Message-ID <[email protected]>
On 11/14/2012 12:09 AM, Justin Haynes wrote:
>> option option-66 0A:0A:0A:0A ?

Thanks for the response!

I tried this using my subnet but the dhcp service failed to start with 
the log claiming:

option-66 no such dhcp option?



> Sent from my iPhone
>
> On Nov 13, 2012, at 5:59 PM, Kaya Saman <[email protected]> wrote:
>
>> Hi,
>>
>> I'm trying to migrate the dhcp configuration from within a Cisco router to OpenBSD. So far everything has gone really smoothly and basic things are working fine.
>>
>> What I'm currently quite stuck with however is vendor specific option codes.... I have a few Polycom IP phones which I used a handful of codes with:
>>
>> 4, 7, 42, 66, 150, 151, 160
>>
>>
>> How do I add these into the dhcpd.conf file?
>>
>> Currently reading through the "dhcp-options" man page it suggests to add:
>>
>> option option-66 <HEX of IP address separated by :>
>>
>> Unfortunately the syntax was wrong and produced an error.
>>
>>
>> How would I be able to add for example:
>>
>> option 66 ip 10.10.10.10
>>
>> ??
>>
>>
>> So far I specified:
>>
>> subnet 10.10.10.0 netmask 255.255.255.192{
>>                     option routers 10.10.10.1;
>>                     range 10.10.10.2 10.10.10.62;
>> }
>>
>>
>> which is all fine bar the options..... unfortunately the web wasn't any help as some places claimed to add:
>>
>> option option-66 string;
>>
>> to the top of the file then add the rest in the "pool" this however also produced an error so I am out of ideas.
>>
>>
>>
>> Regards,
>>
>> Kaya
>>


Regards,


Kaya
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.