dhcp reserved address support

Glenn Satchell Glenn.Satchell at uniq.com.au
Wed Oct 8 12:39:53 UTC 2008


You can specify multiple range statements and omit the IPs that should
not be handed out dynamically, eg you want to exclude 192.168.10.25:

subnet ... {
  range 192.168.10.20 192.168.10.24;
  range 192.168.10.26 192.168.10.29;
  ... other options ...
}

or a single IP can be in the range, eg:

subnet ... {
  range 192.168.10.50;
  ... othe roptions ...
}

regards,
-glenn

>Date: Wed, 8 Oct 2008 17:52:09 +0530
>From: "Samer Sayeed" <samers at teamf1.com>
>To: dhcp-users at isc.org
>Subject: dhcp reserved address support
>
>Need help on how to reserve and ip address from dhcp default range. Does
>anyone have any patch related to this please reply.
>
>On Wed Oct 08 11:51:13 2008, samers at teamf1.com wrote:
>> HI,
>>
>>          In following case the the resolution which you gave fails.
>>
>> Ex.
>>
>> dhcp default range is 192.168.10.25 to 192.168.10.26.
>> I have declared a host as you mentioned using host declaration
>>
>> host hostname {
>> hardware ethernet one_of_my_clients_mac_address;
>> fixed-address  192.168.10.25;
>> }
>>
>> >>> Issue which I am facing is if I try to run dhclient from another
>before
>> my "one_of_my_clients_mac_address" lan host contacts then the other lan
>host
>> is getting 192.168.10.25 ip address.
>
>If you do not want an address given out by the DHCP server, it should not
>be in a range statement.  The "host" statement will provide the address to
>the given mac, but will NOT block it from being handed out if it is
>available in a pool.
>
>Again, I ask that your questions be taken to the mailing list or that you
>consider a support contract allowing you to support ISC.
>
>AlanC
>--
>Alan Clegg
>ISC Training and Support
>-- 
>Thanks & Regards
>SAmer SAyeed
>
>
>
>-- 
>Thanks & Regards
>SAmer SAyeed



More information about the dhcp-users mailing list