To add some filter rules in conf file
Simon Hobson
dhcp1 at thehobsons.co.uk
Mon Nov 2 13:31:49 UTC 2009
Ashmath Khan wrote:
> I tried this:
>pool {
>option time-offset -12345;
>option netbios-name-servers 10.232.1.45;
>option time-servers 1.2.3.4,10.232.167.89;
>option host-name
>"<http://something.com>something.com";
>range 192.168.1.64 192.168.1.110;
>range 192.168.1.112 192.168.1.124;
>range 192.168.1.126 192.168.1.253;
>allow members of "rule1";
>}
>
>dhcpd assigns 192.168.1.126, looks like the two above range
>statements are overidden. So to me it looks like the trick is not
>working.
More likely your class matching isn't working as you'd expected. I
can't comment since we haven't seen your config. Most likely the
client is matching class "rule1".
PS - you could help yourself by making your config easier to read
with appropriate indentation, eg :
subnet ....
option ....
pool {
option time-offset -12345;
option netbios-name-servers 10.232.1.45;
option time-servers 1.2.3.4,10.232.167.89;
option host-name something.com";
range 192.168.1.64 192.168.1.110;
range 192.168.1.112 192.168.1.124;
range 192.168.1.126 192.168.1.253;
allow members of "rule1";
}
}
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the dhcp-users
mailing list