Class detection problem

Jason Gerfen jason.gerfen at gmail.com
Thu Dec 4 15:36:05 UTC 2008


On Sat, Nov 29, 2008 at 5:04 AM, Bernardo Pita <bpita at netcombbs.com> wrote:
> Hi, I have this simple configuration:
>
> subnet 10.197.0.83 netmask 255.255.255.255 { ignore booting; }
>
> class "test" {
>    match pick-first-value (option dhcp-client-identifier, hardware);
> }
>
> subclass "test" 1:00:16:92:3d:d2:08;
> subclass "test" 1:00:1b:d7:02:44:17;
Try:
subclass "test2" 1:00:1b:d7:02:44:17;
>
> shared-network share {
>
>    subnet 10.198.0.0 netmask 255.255.252.0 {
>            option routers 10.198.0.1;
>            pool {
>                    range 10.198.0.5 10.198.3.254;
>                    allow members of "test";
and
allow members of "test2";
>                    deny unknown clients;
>            }
>
>    }
>
> }
>
> You can see two macs address in the class "test" and one pool in 10.198.0.0 to them, but the DHCP says:
>
> dhcpd: DHCPDISCOVER from 00:1b:d7:02:44:17 via 10.198.0.1: network share: no free leases
> dhcpd: DHCPDISCOVER from 00:16:92:3d:d2:08 via 10.198.0.1: network share: no free leases
>
> If I put manually something like this in the pool statement:
>
> pool {
>    host test1 { hardware ethernet 00:16:92:3d:d2:08; }
>    host test2 { hardware ethernet 00:1b:d7:02:44:17; }
>    range 10.198.0.5 10.198.3.255;
>    deny unknown clients;
> }
>
> The DHCP offer the ip in the pool !
>
> I testing with DHCP Server V3.0.4 and DHCP Server V3.1.1
>
> I have been with this for several hours... some ideas ??? !!!!
>
> Thanks, Bernardo.
>
> --
> Bernardo Pita
> Netcom BBS http://www.netcombbs.com
> Phone/Fax: (54) 2964-425870
> Agente Oficial UOL Sinectis http://www.uolsinectis.com.ar
>
> Mucha más Internet, te lo vas a perder?
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>



-- 
Jason Gerfen
jason.gerfen at gmail.com

~ tomorrow ain't promised so we live for today



More information about the dhcp-users mailing list