hardware type classing

Terry L. Inzauro tinzauro at ha-solutions.net
Fri Oct 24 18:35:50 UTC 2008


list,
I am trying to assign IP information using substring MAC address matching but I can't seem to get it
right.  Am i going about this the correct way? If not, what am I doing wrong?


class "shoretel" {
        match if ( (substring(hardware,1,6) = 10:49:0A) );
}


    subnet 10.10.100.0 netmask 255.255.254.0 {
                   default-lease-time 86400;
                   max-lease-time 86400;
                   option subnet-mask 255.255.254.0;
                   option broadcast-address 10.10.101.255;
                   option routers 10.10.101.254;

                   pool {
                     range 10.10.100.10 10.10.101.250;
                     allow members of "shoretel";
                     deny unknown-clients;
                   }
    }



best regards,


_Terry




More information about the dhcp-users mailing list