<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Just a thought (meaning I haven't test it myself…) – It seems the server doesn't recognize "ftpserver", so maybe you should define it to map to option 161 by:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>option ftpserver code 161 = string;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>And then use it, wherever you need, by:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Courier New";color:#1F497D'>option ftpserver "172.30.108.50"; <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif";color:#1F497D'>HTH,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Cambria","serif";color:#1F497D'>David Ganor<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> dhcp-users-bounces+david=oliver-solutions.com@lists.isc.org [mailto:dhcp-users-bounces+david=oliver-solutions.com@lists.isc.org] <b>On Behalf Of </b>Ryan Setiawan H<br><b>Sent:</b> Thursday, February 09, 2012 5:48 AM<br><b>To:</b> dhcp-users@lists.isc.org<br><b>Subject:</b> DHCP option 161<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi All,<br> need help ... I'm using FreeBSD 8.2 with ISC DHCP 4.1.2-P1, I configure 2 server with failover.<br> recently because of VDI piloting, we'll deploy many wyse thin client, that load the config from FTP server ( NOT TFTP ). according to the wyse manual book, the wyse FTP parameter could be set by DHCP option code 161. I've googling how to add dhcp option 161. many answer exist, but none work...<br>here some of them :<br><b>-->option ftpserver code 161 = 172.30.108.50;</b><br>Internet Systems Consortium DHCP Server 4.1.2-P1<br>Copyright 2004-2011 Internet Systems Consortium.<br>All rights reserved.<br>For info, please visit <a href="https://www.isc.org/software/dhcp/">https://www.isc.org/software/dhcp/</a><br>/usr/local/etc/dhcpd.conf line 7: unknown data type 172<br>option ftpserver code 161 = 172.<br> ^<br>Configuration file errors encountered -- exiting<br><br><b>-->option ftpserver code 161 = "172.30.108.50";</b><br>/usr/local/etc/dhcpd.conf line 7: unknown data type 172.30.108.50<br>option ftpserver code 161 = "172.30.108.50"<br> ^<br>Configuration file errors encountered -- exiting<br><br><b>-->option ftpserver code 161 "172.30.108.50"; </b><br>/usr/local/etc/dhcpd.conf line 7: expecting "="<br>option ftpserver code 161 "172.30.108.50"<br> ^<br>Configuration file errors encountered -- exiting<br><br><b>-->option option-161 "172.30.108.50"; </b>( this is from the man 5 dhcp-options )<br>/usr/local/etc/dhcpd.conf line 8: unknown option dhcp.option-161<br>option option-161 "172.30.108.50"<br> ^<br>Configuration file errors encountered -- exiting<br><br>is there working configuration for this particular version ( 4.1.2-P1 )<br><br>See my full config :<br><br>authoritative;<br>ddns-update-style none;<br>default-lease-time 86400; #1 day<br>max-lease-time 604800; #1 week<br>option domain-name "xxx.com";<br>omapi-port 7911;<br><br><br>failover peer "dhcp-failover" {<br> primary; # declare this to be the primary server<br> address 192.168.13.151;<br> port 647;<br> peer address 192.168.28.151;<br> peer port 647;<br> max-response-delay 30;<br> max-unacked-updates 10;<br> load balance max seconds 3;<br> mclt 1800;<br> split 128;<br>}<br><br><br>shared-network BDG-AA-3-V200 {<br> subnet 192.168.5.0 netmask 255.255.255.128 {<br> option broadcast-address 192.168.5.127;<br> option subnet-mask 255.255.255.128;<br> option routers 192.168.5.1;<br> option domain-name-servers 192.168.11.96, 192.168.11.69;<br> option ntp-servers 192.168.11.19;<br># option ftpserver code 161 = 172.30.108.50;<br># option option-161 172.30.108.50;<br># option option-162 "pub/config";<br> pool {<br> host me { hardware ethernet xx:xx:xx:20:1d:f4; fixed-address 192.168.5.14; option host-name "me"; } <br> range 192.168.5.31 192.168.5.125;<br> failover peer "dhcp-failover";<br> }<br> }<br>}<br><br>Thanks,<br>Ryan Setiawan H<o:p></o:p></p></div></body></html>