EXTERNAL: dhcp-workers Digest, Vol 22, Issue 2
Johnson, Je
je.johnson at lmco.com
Mon Dec 13 19:15:51 UTC 2010
Thanks for the replies and have a couple of questions:
I took Jon's vendor-options and placed them in my "/etc/dhcpd.conf" file and it started up just fine. A few members mentioned that I needed to update the "/etc/dhclient.conf" which I'm not using (just taking the defaults). But if new options are added to the /etc/dhcpd.conf file, I should be able to run "dhclient -R platform.name" to determine the set value of the option? If works just fine on all the standard options that I sent on the server side?
I'm not sure if I'm setting up the server side incorrectly (is there a way to even test platform.name on the server side?) or I need to create a specific "/etc/dhclient.conf" for adding these new options.
Does anyone have this working with new options that could forward an example of the dhcpd.conf and dhclient.conf.
Thanks,
John
-----Original Message-----
From: dhcp-workers-bounces+je.johnson=lmco.com at lists.isc.org [mailto:dhcp-workers-bounces+je.johnson=lmco.com at lists.isc.org] On Behalf Of dhcp-workers-request at lists.isc.org
Sent: Monday, December 13, 2010 12:36 PM
To: dhcp-workers at lists.isc.org
Subject: EXTERNAL: dhcp-workers Digest, Vol 22, Issue 2
Send dhcp-workers mailing list submissions to
dhcp-workers at lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.isc.org/mailman/listinfo/dhcp-workers
or, via email, send a message with subject or body 'help' to
dhcp-workers-request at lists.isc.org
You can reach the person managing the list at
dhcp-workers-owner at lists.isc.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-workers digest..."
Today's Topics:
1. New Member (Johnson, Je)
2. SNMP - Additional Option Question (Johnson, Je)
3. Re: SNMP - Additional Option Question (Rene Garcia)
4. Re: SNMP - Additional Option Question (Jon Martin)
----------------------------------------------------------------------
Message: 1
Date: Mon, 13 Dec 2010 10:42:00 -0500
From: "Johnson, Je" <je.johnson at lmco.com>
Subject: New Member
To: "dhcp-workers at lists.isc.org" <dhcp-workers at lists.isc.org>
Message-ID:
<3398B9726AF3DC489A6DC23ECC3E7AF1082A54C797 at HVXMSP7.us.lmco.com>
Content-Type: text/plain; charset="us-ascii"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-workers/attachments/20101213/2bf82bca/attachment-0001.html>
------------------------------
Message: 2
Date: Mon, 13 Dec 2010 10:48:10 -0500
From: "Johnson, Je" <je.johnson at lmco.com>
Subject: SNMP - Additional Option Question
To: "dhcp-workers at lists.isc.org" <dhcp-workers at lists.isc.org>
Message-ID:
<3398B9726AF3DC489A6DC23ECC3E7AF1082A54C7CB at HVXMSP7.us.lmco.com>
Content-Type: text/plain; charset="us-ascii"
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-workers/attachments/20101213/723226f5/attachment-0001.html>
------------------------------
Message: 3
Date: Mon, 13 Dec 2010 17:36:49 +0100
From: Rene Garcia <rene.garcia at sogeti.com>
Subject: Re: SNMP - Additional Option Question
To: dhcp-workers at lists.isc.org
Message-ID: <20101213173649.z4flwt6hsg8s0wcs at mail.sogeti.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed";
DelSp="Yes"
dhcpd.conf is read by the server. The dhclient tool uses a diferent
config file. You should learn him the definition of "platform-name" in
/etc/dhclient.conf
Regards,
Ren? GARCIA
Quoting "Johnson, Je" <je.johnson at lmco.com>:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-workers/attachments/20101213/260f46f8/attachment-0001.html>
------------------------------
Message: 4
Date: Mon, 13 Dec 2010 18:36:02 +0100
From: Jon Martin <jon at greenpoles.com>
Subject: Re: SNMP - Additional Option Question
To: dhcp-workers at lists.isc.org
Message-ID: <4D065982.8030305 at greenpoles.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
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>
------------------------------
_______________________________________________
dhcp-workers mailing list
dhcp-workers at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-workers
End of dhcp-workers Digest, Vol 22, Issue 2
*******************************************
More information about the dhcp-workers
mailing list