bind mac address to ip pool?
Simon Hobson
dhcp1 at thehobsons.co.uk
Mon Feb 8 14:02:04 UTC 2010
Harald Dunkel wrote:
> pool {
> deny unknown-clients;
> allow members of "real-host";
> failover peer "dhcp-failover";
> range 192.168.1.231 192.168.1.254;
> }
> pool {
> deny unknown-clients;
> allow members of "virtual-host";
> failover peer "dhcp-failover";
> ddns-domainname "dyn.mydomain.de";
> range 192.168.1.140 192.168.1.189;
> }
> }
>}
>
>host squeeze {
> hardware ethernet 00:16:36:65:73:c4;
> ddns-hostname "squeeze";
> option host-name "squeeze";
>}
>subclass "virtual-host" 00:16:36:65:73:c4;
>
>
>
>AFAICS this is according to the example on dhcpd.conf, but
>host "squeeze" is still assigned to the "real-host" pool.
Remove "deny unknown-clients;" and see what happens. When you use
deny, then anything not explicitly denied is allowed, and vice-versa
for allow statements. When you use both, I can't remember the details
of how they interact - but it's not immediately intuitive.
"allow members of ..." is sufficient as it will implicitly deny
anything not in the named class.
--
Simon Hobson
WANTED: "Software CD ROM Kit" for Canon CLBP 360-PS printer (Canon
part no RH6-3612, or possibly RH6-3810, or RH6-3610 might do). I've a
dead HD and need this CD so I can replace the disk and re-install the
printer OS on it. If anyone knows where I might get hold of one I'd
be grateful - requests to Canon drew a blank, it's been out of
support for years.
Alternatively, if anyone has one of these and would let me image
their hard disk ...
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