<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:13pt"><div><span class="Apple-style-span" style="font-size: small;">Hi All,</span></div><div><span class="Apple-style-span" style="font-size: small;"><br></span></div><div><span class="Apple-style-span" style="font-size: small;">Apperciate if someone can help to resolve this problem. Many thanks.</span></div><div><span class="Apple-style-span" style="font-size: small;"><br></span></div><div><span class="Apple-style-span" style="font-size: small;">Best Regards,</span></div><div><span class="Apple-style-span" style="font-size: small;">Billy</span></div><div style="font-family:arial, helvetica, sans-serif;font-size:13pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">寄件人﹕</span></b> Billy Ng
 <mondeo1055@yahoo.com><br><b><span style="font-weight: bold;">收件人﹕</span></b> Users of ISC DHCP <dhcp-users@isc.org><br><b><span style="font-weight: bold;">傳送日期﹕</span></b> 2009/12/23 (三) 2:35:09 PM<br><b><span style="font-weight: bold;">主題:</span></b> Re: Assign static IP by Option 82 agent.remote-id<br></font><br><div style="font-family:arial, helvetica, sans-serif;font-size:13pt;"><div><span class="Apple-style-span" style="font-size:small;">Hi Shunsuke,</span></div><div><span class="Apple-style-span" style="font-size:small;"><br></span></div><div><span class="Apple-style-span" style="font-size:small;">Seems the match if option agent.remote-id="VP111222" didn't work in my dhcpd.conf. The client still obtain the dynamic address pool. Than</span><span class="Apple-style-span" style="font-size:13px;">ks.</span></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span"
 style="font-size:13px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size:13px;">Best Regards,</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="
font-size:13px;">Billy</span></font></div><div style="font-family:arial, helvetica, sans-serif;font-size:13pt;"><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight:bold;">寄件人﹕</span></b> Shunsuke Otani <otanis555@gmail.com><br><b><span style="font-weight:bold;">收件人﹕</span></b> Users of ISC DHCP <dhcp-users@isc.org><br><b><span style="font-weight:bold;">傳送日期﹕</span></b> 2009/12/23 (三) 12:39:34 PM<br><b><span style="font-weight:bold;">主題:</span></b> RE: Assign static IP by Option 82 agent.remote-id<br></font><br>hi<br><br>When I configured as below, it worked well.<br><br>stash-agent-options true;<br>class "01" { match if option agent.remote-id=56:50:31:31:31:32:32:32;}<br><br>subnet 192.168.0.0 netmask 255.255.255.0 {<br>    option broadcast-address 192.168.0.255;<br>    option subnet-mask    255.255.255.0;<br>   
 option
 routers    192.168.0.1;<br>    pool { range 192.168.0.101; allow members of "01"; }<br>}<br><br><br>Probably, the following may also works I think.<br>class "01" { match if option agent.remote-id="VP111222";}<br> <br><br>> -----Original Message-----<br>> From: dhcp-users-bounces+otanis555=<a rel="nofollow" ymailto="mailto:gmail.com@lists.isc.org" target="_blank" href="mailto:gmail.com@lists.isc.org">gmail.com@lists.isc.org</a> <br>> [mailto:dhcp-users-bounces+otanis555=<a rel="nofollow" ymailto="mailto:gmail.com@lists.isc.org" target="_blank" href="mailto:gmail.com@lists.isc.org">gmail.com@lists.isc.org</a>] <br>> On Behalf Of Billy Ng<br>> Sent: Wednesday, December 23, 2009 12:49 PM<br>> To: <a rel="nofollow" ymailto="mailto:dhcp-users@isc.org" target="_blank" href="mailto:dhcp-users@isc.org">dhcp-users@isc.org</a><br>> Subject: Assign static IP by Option 82 agent.remote-id<br>> <br>> Dear All,<br>> <br>> I'd like to assign a static IP address to
 the client by the <br>> agent.remote-id field "VP111222" as follow:<br>> <br>> lease
 192.168.172.23 {<br>>   starts 3 2009/12/23 03:40:01;<br>>   ends 3 2009/12/23 04:10:01;<br>>   tstp 3 2009/12/23 04:25:01;<br>>   tsfp 3 2009/12/23 04:10:00;<br>>   cltt 3 2009/12/23 03:40:01;<br>>   binding state active;<br>>   next binding state expired;<br>>   billing subclass "AGENT_ID" "VP111222";<br>>   hardware ethernet 00:18:ba:33:dc:9a;<br>>   uid "\000cisco-0018.ba33.dc9a-Fa0";<br>>   option agent.circuit-id "JDNS504|99411010|5/2/6:2002.*";<br>>   option agent.remote-id "VP111222";<br>>   option agent.unknown-9 0:0:19:7f:a:5:8:56:50:32:32:32:31:31:31;<br>>   client-hostname "C1811-R";<br>> }<br>> <br>> Would you please kindly recommend how to configure the class <br>> match with the agent.remote-id = "VP111222" (in ascii format) <br>> in the dhcpd.conf? Thanks a lot.<br>> <br>> <br>> Best Regards,<br>> Billy<br>> <br>> <br>> <br>> <br>> <br>> ________________________________<br>> <br>>
 Yahoo!香港提供網上安全攻略,教你如何防範黑客!了解更多<br><<a rel="nofollow" target="_blank" href="http://hk.promo.yahoo.com/security/">http://hk.promo.yahoo.com/security/</a>> <br>> <br><br></div></div><div style=""></div>



</div><br>
      



      <hr size="1">Yahoo!香港提供網上安全攻略,教你如何防範黑客!<a rel="nofollow" target="_blank" href="http://hk.promo.yahoo.com/security/"><b>了解更多</b></a></div></div><div style="position:fixed"></div>


<!-- cg14.c2.mail.re1.yahoo.com compressed/chunked Tue Dec  8 18:58:18 PST 2009 -->
</div><br>
      



      <hr size=1>Yahoo!香港提供網上安全攻略,教你如何防範黑客!<a href="http://hk.promo.yahoo.com/security/"><b>了解更多</b></a></body></html>