Dynamick range, but whit fixed leaes ...
Geir Asle Borgen
gab at hrp.no
Mon Jun 12 11:20:15 UTC 2006
On Mon, 2006-06-12 at 10:50 +0100, Simon Hobson wrote:
> 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
> }
I use "subnet" in stead of "pool" in my setup, but this method should
work fine anyhow. :)
Thanks
>
> Simon
--
Phone Work: +47 69212321 / 2321 Phone Priv: +47 69809853 (o_ <><
+47 99521685 / 3137 //\
ICQ: 48948625 MSN: gab at hrp.no V_/_ i n u x
Registered Linux User # 171776 (http://counter.li.org)
More information about the dhcp-users
mailing list