<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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 name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        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
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        mso-believe-normal-left:yes;}
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 Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<![if mso 9]>
<style>
p.MsoNormal
        {margin-left:3.0pt;}
</style>
<![endif]><!--[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 lang=FR-CA link=blue vlink=purple style='margin-left:3.0pt;margin-top:
3.0pt;margin-right:3.0pt;margin-bottom:.75pt'>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Marc,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks for the tip on the host-identifier trick!<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It’s ok if you only need agent.circuit-id, but how do you manage
agent.circuit-id from different agent.remote-id?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Denis<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 style='margin:0cm;margin-bottom:.0001pt'><b><span lang=FR
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span
lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> dhcp-users-bounces+denis_laventure=uqac.ca@lists.isc.org
[mailto:dhcp-users-bounces+denis_laventure=uqac.ca@lists.isc.org] <b>De la part
de</b> Marc Perea<br>
<b>Envoyé :</b> 22 avril 2010 17:38<br>
<b>À :</b> dhcp-users@isc.org<br>
<b>Objet :</b> Re: Option 82 & limit lease 1<o:p></o:p></span></p>

</div>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>><br>
>From: Scott Baker <scott@perturb.org><br>
>Subject: Re: Option 82 & limit lease 1<br>
>I think maybe I missed part of the conversation. </span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>What's "option
matching"?<br>
<br>
Option matching appears to be a new feature in 4.2.x. It allows you to define a
host by an option, instead of (in addition to?) by a mac-address. For a service
provider, like us, this is a HUGE step forward (thanks btw to ISC for adding
this feature). We've seen improvement of 2 orders of magnitude in performance
over our old configuration on 3.1.2 both in restart times of the daemon and in
DORA/second.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>As example, we used
to define a class that matched on a specific option 82 (agent.circuit-id). Then
we'd build a pool. Then we'd build a range (of 1 IP). Then apply the filter of
our class to the range. For tens of thousands of customers, that's a very large
conf file. And it's slow, _really_ slow.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>With 4.2, one can
define a host and give it a fixed address. Done. It's very, _very_ nice.
Smokin' performance too.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>And because I
couldn't find it documented anywhere (man pages referred to ipv6, but this works
in ipv4 too), it goes like:<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>host [some_unique_host_name]
{ host-identifier option agent.circuit-id "[some_static_CID]";
fixed-address [a.b.c.d]; } #[some_customer_identifier]<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>HTH<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin:0cm;margin-bottom:.0001pt'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>--Marc<o:p></o:p></span></p>

</div>

</div>

</body>

</html>