SNMP - Additional Option Question
Jon Martin
jon at greenpoles.com
Mon Dec 13 17:36:02 UTC 2010
Wouldn't you use vendor specific options to do something like that?
Seems that it would be more RFC compliant. I say "seems" because I'm
not sure. Please anyone correct if I'm wrong.
option space vendor-options;
option vendor-options.platform-name code 1 = text;
option vendor-options.someotheroption code 2 = text;
option vendor-options-43 code 43 = encapsulate vendor-options;
But I do agree with Rene, you would also need to make some declaration
in the client side config file.
Jon
On 13.12.2010 16:48, Johnson, Je wrote:
>
> I wish to setup a few new options in my /etc/dhcpd.conf file.
> Currently, running with V3.0.5_RedHat. During my testing I've added a
> new option "platform-name" and restarted the DHCPD daemon. It starts
> fine but when I run "dhclient --R platform-name" I get the response
> that the option does not exist?
>
> Any help would be appreciated and here is a copy of my
> "/etc/dhcpd.conf" that I'm testing with:
>
> ddns-update-style interim;
>
> # Declare Setup Information
> option platform-name code 130 = text;
>
> subnet 158.187.231.0 netmask 255.255.255.0 {
> option subnet-mask 255.255.255.0;
> option domain-name-servers 158.187.231.217;
>
> host test {
> hardware ethernet 00:1A:A0:AF:48:F6;
> fixed-address 158.187.231.214;
> option host-name test;
> option platform-name "isis";
> }
> }
>
> I've tried both "text" and "string" and get the same response that the
> option does not exist. Any standard options "root-path" or "host-name"
> work just fine.
>
> Thanks,
>
> John Johnson
>
>
> _______________________________________________
> dhcp-workers mailing list
> dhcp-workers at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-workers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-workers/attachments/20101213/9c47d501/attachment.html>
More information about the dhcp-workers
mailing list