[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dhcp-users
Subject:    Re: Configuration DHCPv4 vivso according to RFC 3925
From:       Hok Hie Tjioe <hhtjioe () yahoo ! com>
Date:       2012-07-31 7:32:54
Message-ID: 1343719974.72562.YahooMailNeo () web164501 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Tobias, Malte,

I wa also truggeling with that part months ago as you can see form the mailing list.
Anyway I have a working solution for that, at least in our environment.

The following configuration on our ISC DHCP server version 4.2.3-P2 is used, I use \
the example of Malte here:

option space FOO;
option FOO.sample code 1 = text;

option space vivso code width 4 length width 1;
option vivso.FOO code 50000 = encapsulate FOO;
option vivso.iana code 0 = string;

option op125 code 125 = encapsulate vivso;


And in the pool definition the following statement needs to include to send the DHCP \
option 125: option vivso.iana 01:01:01;
option FOO.sample "Some Option Text";

P.S. Why that "vivso.iana" statement? For soem reason the DHCP doesn't send the \
option 125 without that. There seems to be a known bug.

Hope this helps..

Regards,

h2t


________________________________
 From: Malte Starostik <lists@malte.homeip.net>
To: Users of ISC DHCP <dhcp-users@lists.isc.org> 
Sent: Thursday, July 26, 2012 1:32 PM
Subject: Re: Configuration DHCPv4 vivso according to RFC 3925
 
Hi Tobias, hi list,

Am Donnerstag, 26. Juli 2012, 12:59:36 schrieb Tobias Jähnel:
> Hi all,
> 
> I'm using ISC DHCP 4.1-ESV-R4 and want to set up an environment as
> stated in the subject.
> 
> According to the dhcp-options manual page I added the following to my
> dhcpd.conf.
> 
> option space FOO code width 1 length width 1 hash size 3;
> option FOO.sample code 1 = text;
> option vendor.FOO code 50000 = encapsulate FOO;
> option vendor-class.FOO code 50000 = text;
> option FOO.sample "Some Option Text";
> option vendor-class.FOO "Some Vendor Class";

I tried this to get CISCO's autoinstall feature working (software upgrade, not 
just auto configuration). 

> I configured my DHCP Client to send option 124 with (fictous)
> Enterprise number 50000 and also told it to request option 125.

CISCO switches' DHCP client requests option 125 without sending option 124.  I 
tried many variations and what you did resembles one of my approaches.

> Unfortunately the Server does not send option 125 back.
> See attached capture file.

I don't have a capture now unfortunately, but well, there was basically no 
option 125 in any of the server's replies.

> If I add the following line:
> option vendor.FOO 01:04:01:02:03:04;
> the DHCP server actually sends back Option 125 with vendor code 50000
> and the given content. But hardcoding my options in hex is obviously
> not what I intend.

Hey foo is what I resorted to in the end, but that's not exactly what I had 
hoped for.

> I would appreciate it if you could tell me what I'm doing wrong.
> 
> Tobias

Me Too (TM), so TIA for shedding some light on this,
Malte
_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


[Attachment #5 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:lucida \
console, sans-serif;font-size:8pt"><div style="font-family: 'lucida console', \
sans-serif; font-size: 8pt; "><span>Hi Tobias, Malte,</span></div><div \
style="font-family: 'lucida console', sans-serif; font-size: 8pt; \
"><span><br></span></div><div style="font-family: 'lucida console', sans-serif; \
font-size: 8pt; "><span>I wa also truggeling with that part months ago as you can see \
form the mailing list.</span></div><div style="font-family: 'lucida console', \
sans-serif; font-size: 8pt; "><span>Anyway I have a working solution for that, at \
least in our environment.</span></div><div style="font-family: 'lucida console', \
sans-serif; font-size: 8pt; "><span><br></span></div><div style="font-family: 'lucida \
console', sans-serif; font-size: 8pt; "><span>The following configuration on our ISC \
DHCP server version 4.2.3-P2 is used, I use the example of Malte \
here:</span></div><div  style="font-family: 'lucida console', sans-serif; font-size: \
8pt; "><span><br></span></div><div><span style="font-size: 11px;"><div>option space \
FOO;</div><div>option FOO.sample code 1 = text;</div><div><br></div><div>option space \
vivso code width 4 length width 1;</div><div>option vivso.FOO code 50000 = \
encapsulate FOO;</div><div>option vivso.iana code 0 = \
string;</div><div><br></div><div>option op125 code 125 = encapsulate \
vivso;</div></span></div><div style="font-family: 'lucida console', sans-serif; \
font-size: 8pt; "><span><br></span></div><div style="font-family: 'lucida console', \
sans-serif; font-size: 8pt; "><br></div><div style="font-family: 'lucida console', \
sans-serif; font-size: 8pt; ">And in the pool definition the following statement \
needs to include to send the DHCP option 125:</div><div><div><span style="font-size: \
11px;">option vivso.iana 01:01:01;</span></div><div><span style="font-size: \
11px;">option FOO.sample "Some Option  Text";</span></div><div><span \
style="font-size: 11px;"><br></span></div><div><span style="font-size: 11px;">P.S. \
Why that "vivso.iana" statement? For soem reason the DHCP doesn't send the option 125 \
without that. There seems to be a known bug.</span></div><div><span style="font-size: \
11px;"><br></span></div><div><span style="font-size: 11px;">Hope this \
helps..</span></div><div><span style="font-size: 11px;"><br></span></div><div><span \
style="font-size: 11px;">Regards,</span></div><div><span style="font-size: \
11px;"><br></span></div><div><span style="font-size: \
11px;">h2t</span></div></div><div style="font-family: 'lucida console', sans-serif; \
font-size: 8pt; "><br></div>  <div style="font-family: 'lucida console', sans-serif; \
font-size: 8pt; "> <div style="font-family: 'times new roman', 'new york', times, \
serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> \
<b><span style="font-weight:bold;">From:</span></b> Malte  Starostik \
&lt;lists@malte.homeip.net&gt;<br> <b><span style="font-weight: bold;">To:</span></b> \
Users of ISC DHCP &lt;dhcp-users@lists.isc.org&gt; <br> <b><span style="font-weight: \
bold;">Sent:</span></b> Thursday, July 26, 2012 1:32 PM<br> <b><span \
style="font-weight: bold;">Subject:</span></b> Re: Configuration DHCPv4 vivso \
according to RFC 3925<br> </font> </div> <br>Hi Tobias, hi list,<br><br>Am \
Donnerstag, 26. Juli 2012, 12:59:36 schrieb Tobias Jähnel:<br>&gt; Hi all,<br>&gt; \
<br>&gt; I'm using ISC DHCP 4.1-ESV-R4 and want to set up an environment as<br>&gt; \
stated in the subject.<br>&gt; <br>&gt; According to the dhcp-options manual page I \
added the following to my<br>&gt; dhcpd.conf.<br>&gt; <br>&gt; option space FOO code \
width 1 length width 1 hash size 3;<br>&gt; option FOO.sample code 1 = text;<br>&gt; \
option vendor.FOO code 50000 = encapsulate FOO;<br>&gt; option vendor-class.FOO code \
50000 = text;<br>&gt; option FOO.sample "Some Option  Text";<br>&gt; option \
vendor-class.FOO "Some Vendor Class";<br><br>I tried this to get CISCO's autoinstall \
feature working (software upgrade, not <br>just auto configuration). <br><br>&gt; I \
configured my DHCP Client to send option 124 with (fictous)<br>&gt; Enterprise number \
50000 and also told it to request option 125.<br><br>CISCO switches' DHCP client \
requests option 125 without sending option 124.&nbsp; I <br>tried many variations and \
what you did resembles one of my approaches.<br><br>&gt; Unfortunately the Server \
does not send option 125 back.<br>&gt; See attached capture file.<br><br>I don't have \
a capture now unfortunately, but well, there was basically no <br>option 125 in any \
of the server's replies.<br> <br>&gt; If I add the following line:<br>&gt; option \
vendor.FOO 01:04:01:02:03:04;<br>&gt; the DHCP server actually sends back Option 125 \
with vendor code 50000<br>&gt; and the given content. But hardcoding my options in \
hex is  obviously<br>&gt; not what I intend.<br><br>Hey foo is what I resorted to in \
the end, but that's not exactly what I had <br>hoped for.<br><br>&gt; I would \
appreciate it if you could tell me what I'm doing wrong.<br>&gt; <br>&gt; \
Tobias<br><br>Me Too (TM), so TIA for shedding some light on \
this,<br>Malte<br>_______________________________________________<br>dhcp-users \
mailing list<br><a ymailto="mailto:dhcp-users@lists.isc.org" \
href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br><a \
href="https://lists.isc.org/mailman/listinfo/dhcp-users" \
target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br><br><br> \
</div> </div>  <span id="xml_contener" title="bandoo.xml_contener" style="display: \
none; visibility: hidden; width: 0px; height: 0px; "></span><div id="bandoo_adv" \
title="bandoo_adv"><a \
href="http://www.cartoonspalace.com/wp/ie.php?plg=ch&amp;ad2=73&amp;subs=chrome&amp;elm=sign"><img
  src="http://triggers.wp.bandoo.com/signature_001.gif" \
border="0"></a></div></div></body></html>



_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic