bind mac address to ip pool?
Reissom Beshir
Reissom_Beshir at Mitel.com
Mon Feb 8 17:14:10 UTC 2010
----- Original Message -----
From: "Harald Dunkel" <harald.dunkel at aixigo.de>
To: <dhcp-users at lists.isc.org>
Sent: Monday, February 08, 2010 9:51 AM
Subject: Re: bind mac address to ip pool?
On 02/08/10, Harald Dunkel wrote:
> Below is the current configuration.
>
> class "virtual-host" { match hardware; }
> host squeeze {
> hardware ethernet 00:16:36:65:73:c4;
> ddns-hostname "squeeze";
> option host-name "squeeze";
> }
> subclass "virtual-host" 1:00:16:36:65:73:c4;
You do not need virtual-host class/subclass to key on host statements in the
pool statement. The server considers host statements as known-clients.
> shared-network physicalnet1 {
> subnet 192.168.1.0 netmask 255.255.255.0 {
> option routers 192.168.1.1;
> option subnet-mask 255.255.255.0;
> option broadcast-address 192.168.1.255;
> pool {
> deny unknown-clients;
> deny members of "virtual-host";
> failover peer "dhcp-failover";
> range 192.168.1.231 192.168.1.254;
> }
As mentioned the server sees host statements as known-clients, so instead of
deny virtual-host, you do 'deny known-clients;'.
> pool {
> allow members of "virtual-host";
> failover peer "dhcp-failover";
> ddns-domainname "dyn.mydomain.de";
> range 192.168.1.140 192.168.1.189;
> }
Here instead of allow virtual-host, you do 'allow known-clients;'.
That should simplify things, I hope.
--
Reissom Beshir
More information about the dhcp-users
mailing list