<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/15 Glenn Satchell <span dir="ltr"><<a href="mailto:glenn.satchell@uniq.com.au" target="_blank">glenn.satchell@uniq.com.au</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On Tue, October 15, 2013 6:50 am, Prunk Dump wrote:<br>
> Thanks Simon, Sten, Doug for your help !<br>
><br>
> You are right ! if I organize my two domains in two subnet, all the<br>
> class matching techniques works ! Thanks for the <a href="http://circuit.id" target="_blank">circuit.id</a> trick !<br>
><br>
> My problem is that making this organization I need to change all the<br>
> IP ranges previously used when I make IP addresses reservation.<br>
> Moreover we are two network administrator in this high school and my<br>
> associate will not be very happy if I change all the IP addresses<br>
> distribution.<br>
><br>
> Unfortunately it seems not possible to group the pools parameters<br>
> apart with the subnet keyword....<br>
><br>
> Thanks,<br>
><br>
> PELLEGRIN Baptiste.<br>
</div></div><div class="im">> _______________________________________________<br>
> dhcp-users mailing list<br>
> <a 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>
</div><div class="im">In an earlier mail someone wrote:<br>
<br>
pool {<br>
 option ...<br>
 option ...<br>
 pool ...<br>
 pool ...<br>
 pool ...<br>
}<br>
<br>
</div>but this should be<br>
<br>
group {<br>
<div class="im"> option ...<br>
 option ...<br>
 pool ...<br>
 pool ...<br>
 pool ...<br>
}<br>
<br>
</div>You can use the group statement to allow you to put common options at a<br>
higher level to a pool, or subnet.<br>
<br>
So you might have something like this. I've left out some of the details<br>
as you go further down, but this might give you some ideas.<br>
<br>
class ...<br>
class ...<br>
<br>
subnet ... {<br>
  option ...<br>
  group { # DC 1<br>
    option ...<br>
    option ...<br>
    pool { # first class room<br>
      allow members of ...<br>
      option ...<br>
      range ...<br>
    }<br>
    pool ... # second class room<br>
    ...<br>
  }<br>
  group { # DC 2<br>
    ...<br>
  }<br>
}<br>
<br>
The challenging part is to somehow match the clients in a given room to a<br>
particular class. There is then a pool that allows members of that class.<br>
The pool defines the range of IPs and any specific options for that class.<br>
<br>
Other emails have made various suggestions for doing this, eg MAC address,<br>
hostname, circuit-id, and so on.<br>
<br>
regards,<br>
-glenn<br>
<div class=""><div class="h5"><br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a 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></div></div></blockquote><div><br><span id="result_box" class="" lang="en"><span class="">This would be ideal.<br>
<br></span></span></div><div>But the ISC DHCP server does not accept groups of pools. It display the following error message :<br><br></div><div>/etc/dhcp3/dhcpd.conf line 76: pool declared outside of network<br></div><div>
     pool{<br><br><br><br></div><div>Thanks,<br><br></div><div>PELLEGRIN Baptiste.<br></div><div><br> <br></div></div><br></div></div>