DHCP static leases
bmunger at edison.edu
Tue Jan 27 16:13:56 UTC 2009
I thought about this solution but for about 200 printers its not really
feasible. On other
dhcp servers, its always been possible to reserve addresses from the
dhcp range for
static assignments. I always thought this was possible on the ISC dhcpd
which is why
this system was configured this way. Thanks for your help.
Samer Sayeed wrote:
> Hi Brandon,
> I have an alternative , what you can do is once the
> printers get ip address you will include as fixed-address entry in the
> config file rite ? .. while doing so , just remove the static ip
> address added from the default dhcp range.
> For example.
> If your default dhcp range was 192.168.10.100 to 192.168.10.150
> and now printer is alloted an ip 192.168.10.105 ,
> now you will be changing the config file of dhcp, what you need to do is
> split the dhcp range as
> range 192.168.10.100, 192.168.10.104
> range 192.168.10.106, 192.168.10.150
> and also add the static address as you were doing earlier i.e
> host xxx
> ethernet xxxxxxx
> ip xxxxxxx
> By such exclusion of static ip from default dhcp server range, ip
> conflicts wont be seen in future.
> I hope this helps.
> On Mon, Jan 26, 2009 at 9:58 PM, Brandon Munger <bmunger at edison.edu
> <mailto:bmunger at edison.edu>> wrote:
> Yes, it is defined as a host declaration with the fixed-address.
> How are reserved leases defined? Can it be defined in the host
> declaration area? Thank you.
> Simon Hobson wrote:
> Brandon Munger wrote:
> Yes those static leases are in the range. We use this for
> IP printers so what we normally
> do is turn the printer on, let it get an IP address, then
> go into the dhcpd.conf and add
> that as a static address.
> I assume by "static lease" you mean "host declaration with
> fixed address" ?
> If that is the case then you MUST NOT have the static address
> included in any dynamic range<period>
> If you have the address in a dynamic range then you are
> telling the server that the address is available for leasing
> to clients, so it does just that. I think version 4 introduces
> a facility for reserved leases - so you could continue
> dynamically allocating addresses, and then simply set the
> lease to reserved so it cannot be given to any other client.
> CONFIDENTIALITY: This e-mail (including any attachments) may contain
> confidential, proprietary and privileged information, and unauthorized
> disclosure or use is prohibited. If you received this e-mail in
> please notify the sender and delete this e-mail from your system.
> dhcp-users mailing list
> dhcp-users at lists.isc.org <mailto:dhcp-users at lists.isc.org>
> Thanks & Regards
> SAmer SAyeed
> dhcp-users mailing list
> dhcp-users at lists.isc.org
CONFIDENTIALITY: This e-mail (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this e-mail in error,
please notify the sender and delete this e-mail from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-users