It could be that a 1: in front of the mac helps, see

http://www.linuxforums.org/forum/linux-networking/62174-dhcpd-conf-classes-question.html
 


Best regards / Mit freundlichen Grüßen / Sincères salutations

Paul Scheepens

[email protected] wrote on 31-08-2010 16:57:49:


> Tony Graziano <[email protected]>
> 
> I've always just used the mac address to set different options in the
> instances when I've needed it.
> 
> 
> Something like this...
> 
> option ntp-servers 192.168.0.20;
> authoritative;
> ddns-update-style none;
> 
> subnet 192.168.0.0 netmask 255.255.255.0 {
>    next-server 192.168.0.20;
>    range 192.168.0.100 192.168.0.254;
>    default-lease-time 21600;
>    max-lease-time 43200;
>    option routers 192.168.0.1;
>    option subnet-mask 255.255.255.0;
>    option domain-name "sipdomain.com";
>    option domain-name-servers 192.168.0.20;
>    option tftp-server-name "sipdomain.com";
>    option ntp-servers 192.168.0.20;
>    }
> # PolycomC650-douglas
> host Polycom650-douglas {
>    option routers 192.168.0.21;
>    hardware ethernet 00:04:f2:00:01:02;
>    }
> 
> 
> Simply use a "default" for everything, then make "explicit" statements
> for anything else.
> On Tue, Aug 31, 2010 at 10:29 AM, Douglas Hubler <[email protected]> 
wrote:
> > I want to group phones so that some point to one sipxecs and others
> > point to others.  I tried this trick but phones in the "work-phones"
> > group are not getting the right information, anyone see my mistake or
> > suggest an alternative config?  dhcpd debug doesn't provide any useful
> > info.
> >
> > (I changed the real mac address and ip address to protect the 
innocent)
> >
> >
> > default-lease-time 600;
> > max-lease-time 7200;
> > option subnet-mask 255.255.255.0;
> > option broadcast-address 192.168.1.255;
> > option routers 192.168.1.1;
> > option domain-name-servers 192.168.1.2;
> > option domain-name "hubler.us";
> > option time-servers pool.ntp.org;
> >
> > class "work-phones" {
> >  match pick-first-value (option dhcp-client-identifier, hardware);
> > }
> >
> > subclass "work-phones" 00:04:f2:55:55:55;
> >
> > subnet 192.168.1.0 netmask 255.255.255.0 {
> >   pool {
> >     allow members of "work-phones";
> >     option tftp-server-name "5.5.5.5";
> >     range 192.168.1.10 192.168.1.19;
> >   }
> >   pool {
> >     deny members of "work-phones";
> >     option tftp-server-name "192.168.1.2";
> >     range 192.168.1.20 192.168.1.200;
> >   }
> > }
> > _______________________________________________
> > sipx-users mailing list
> > [email protected]
> > List Archive: http://list.sipfoundry.org/archive/sipx-users/
> >
> 
> 
> 
> -- 
> ======================
> Tony Graziano, Manager
> Telephone: 434.984.8430
> sip: [email protected]
> Fax: 434.984.8431
> 
> Email: [email protected]
> 
> LAN/Telephony/Security and Control Systems Helpdesk:
> Telephone: 434.984.8426
> sip: [email protected]
> Fax: 434.984.8427
> 
> Helpdesk Contract Customers:
> http://www.myitdepartment.net/gethelp/
> 
> Why do mathematicians always confuse Halloween and Christmas?
> Because 31 Oct = 25 Dec.
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to