<div dir="ltr">Its not a very good option to give multiple range statements. .... <br>Any other better idea ???<br><br><div class="gmail_quote">On Wed, Oct 8, 2008 at 6:09 PM, Glenn Satchell <span dir="ltr"><<a href="mailto:Glenn.Satchell@uniq.com.au">Glenn.Satchell@uniq.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You can specify multiple range statements and omit the IPs that should<br>
not be handed out dynamically, eg you want to exclude <a href="http://192.168.10.25" target="_blank">192.168.10.25</a>:<br>
<br>
subnet ... {<br>
  range <a href="http://192.168.10.20" target="_blank">192.168.10.20</a> <a href="http://192.168.10.24" target="_blank">192.168.10.24</a>;<br>
  range <a href="http://192.168.10.26" target="_blank">192.168.10.26</a> <a href="http://192.168.10.29" target="_blank">192.168.10.29</a>;<br>
  ... other options ...<br>
}<br>
<br>
or a single IP can be in the range, eg:<br>
<br>
subnet ... {<br>
  range <a href="http://192.168.10.50" target="_blank">192.168.10.50</a>;<br>
  ... othe roptions ...<br>
}<br>
<br>
regards,<br>
-glenn<br>
<br>
>Date: Wed, 8 Oct 2008 17:52:09 +0530<br>
>From: "Samer Sayeed" <<a href="mailto:samers@teamf1.com">samers@teamf1.com</a>><br>
>To: <a href="mailto:dhcp-users@isc.org">dhcp-users@isc.org</a><br>
>Subject: dhcp reserved address support<br>
<div><div></div><div class="Wj3C7c">><br>
>Need help on how to reserve and ip address from dhcp default range. Does<br>
>anyone have any patch related to this please reply.<br>
><br>
>On Wed Oct 08 11:51:13 2008, <a href="mailto:samers@teamf1.com">samers@teamf1.com</a> wrote:<br>
>> HI,<br>
>><br>
>>          In following case the the resolution which you gave fails.<br>
>><br>
>> Ex.<br>
>><br>
>> dhcp default range is <a href="http://192.168.10.25" target="_blank">192.168.10.25</a> to <a href="http://192.168.10.26" target="_blank">192.168.10.26</a>.<br>
>> I have declared a host as you mentioned using host declaration<br>
>><br>
>> host hostname {<br>
>> hardware ethernet one_of_my_clients_mac_address;<br>
>> fixed-address  <a href="http://192.168.10.25" target="_blank">192.168.10.25</a>;<br>
>> }<br>
>><br>
>> >>> Issue which I am facing is if I try to run dhclient from another<br>
>before<br>
>> my "one_of_my_clients_mac_address" lan host contacts then the other lan<br>
>host<br>
>> is getting <a href="http://192.168.10.25" target="_blank">192.168.10.25</a> ip address.<br>
><br>
>If you do not want an address given out by the DHCP server, it should not<br>
>be in a range statement.  The "host" statement will provide the address to<br>
>the given mac, but will NOT block it from being handed out if it is<br>
>available in a pool.<br>
><br>
>Again, I ask that your questions be taken to the mailing list or that you<br>
>consider a support contract allowing you to support ISC.<br>
><br>
>AlanC<br>
>--<br>
>Alan Clegg<br>
>ISC Training and Support<br>
>--<br>
>Thanks & Regards<br>
>SAmer SAyeed<br>
><br>
><br>
><br>
>--<br>
>Thanks & Regards<br>
>SAmer SAyeed<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thanks & Regards<br>SAmer SAyeed<br>
</div>