Dynamick range, but whit fixed leaes ...
Simon Hobson
dhcp at thehobsons.co.uk
Mon Jun 12 09:50:52 UTC 2006
Geir Asle Borgen wrote:
>The 3 first ranges uses only fixed-addresses, but the last one is a smal
>range of 16 addresses from 238-254, whit the "boot-unknown-clients off"
>NOT set. And everything works the way I want it to ...
>
>BUT for some reason (lisens fixed to IP ...) There are some host that
>today need to have an IP in the range 192.168.0.238-254. So I try to put
>in a:
>
>host test {
> hardware ethernet 00:FF:00:FF:00:AA;
> fixed-address 192.168.0.250;
> ddns-hostname = "test";
>}
>
>And hoped that this should be enough, so that all IP's from
>192.168.0.238-254 should be leased out in the dynamic range, BUT NOT
>192.168.0.250. That did NOT happen.
>
>Is there any way I can make this happen?
Is there a record for the number of times in a month this question comes up ?
You have to explicitly exclude the address from your ranges, like this :
pool {
range 192.168.0.238 192.168.0.254
}
becomes
pool {
range 192.168.0.238 192.168.0.249
range 192.168.0.251 192.168.0.254
}
Simon
More information about the dhcp-users
mailing list