<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
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle16
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</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 lang=FR-CA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I think you can do it
with classes :<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>class "NCD-BOOTER" {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'> match substring(hardware,1,6);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'> filename "Xncd19r";<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'> next-server ncd-booter;<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>subclass "NCD-BOOTER" 0:c0:c3:49:2b:57; # ncd1<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>subclass "NCD-BOOTER" 0:c0:c3:80:fc:32; # ncd4<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>subclass "NCD-BOOTER" 0:c0:c3:22:46:81; # ncd8<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>subnet 1.1.1.1 255.255.255.0 {<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'> ...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'> allow members of "NCD-BOOTER";<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'> ...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Denis<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><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@lists.isc.org [mailto:dhcp-users-bounces@lists.isc.org] <b>De
la part de</b> Hugo Ferreira<br>
<b>Envoyé :</b> 22 octobre 2009 11:45<br>
<b>À :</b> dhcp-users@lists.isc.org<br>
<b>Objet :</b> Assign subnet's per group<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Hi<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Wondering if i can do something like this:</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Group some MAC addresses, e.g., per company
department, as in man dhcpd.conf</span><o:p></o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New"'>group {</span><o:p></o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New"'>
filename "Xncd19r";<br>
next-server ncd-booter;<br>
<br>
host ncd1 { hardware ethernet
0:c0:c3:49:2b:57; }<br>
host ncd4 { hardware ethernet
0:c0:c3:80:fc:32; }<br>
host ncd8 { hardware ethernet
0:c0:c3:22:46:81; }</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>
</span><span style='font-size:10.0pt;font-family:"Courier New"'>}</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>And then assign this group to a subnet.</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Something like</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>subnet 1.1.1.1 255.255.255.0 {<br>
range blablabla;<br>
<b><i>allow group;</i></b><br>
deny unknown-clients;<br>
}</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Can’t find the right syntax for that allow
group or allow from group or something like that.</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
<p class=MsoListParagraph style='text-indent:-18.0pt'><span lang=EN-US>1.</span><span
lang=EN-US style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span lang=EN-US>Is my idea possible?</span><o:p></o:p></p>
<p class=MsoListParagraph style='text-indent:-18.0pt'><span lang=EN-US>2.</span><span
lang=EN-US style='font-size:7.0pt;font-family:"Times New Roman","serif"'>
</span><span lang=EN-US>If so, can you help me finding the right syntax?</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US>Regards</span><o:p></o:p></p>
<p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p>
</div>
</body>
</html>