(no subject)

Jose Amengual pepe at rdc.cl
Tue Jun 12 23:46:26 UTC 2007

I have this configuration in my dhcp server, and i try to give to an  
Ip phone with the string "MTA3308" one of the ip address pool bellow,  
but is not working.
class "pepe" {
match if substring (option vendor-class-identifier, 0, 4) = "MTA3308";

subnet netmask {
    pool {
      deny members of "pepe";
    pool {
      allow members of "pepe";
   Set vendor-string = option vendor-class-identifier;
   option domain-name-servers,;
   option domain-name "ttt.com";
   option routers;
   option broadcast-address;
   default-lease-time 86400;
   max-lease-time 100000;

In the dhcp lease file i have :

lease {
   starts 2 2007/06/12 22:01:35;
   ends 3 2007/06/13 22:01:35;
   tstp 3 2007/06/13 22:01:35;
   binding state active;
   next binding state free;
   hardware ethernet 00:10:99:01:1d:57;
   uid "\001\000\020\231\001\035W";
   set vendor-string = "MTA3308";
   client-hostname "001099011d57";

I have a couple of question here :

In this part "(option vendor-class-identifier, 0, 4)" where i can  
find this two numbers (in red ) ?( tcpdump, manufacture manual ).

Can I use part of the mac address to give a range of ip address ?  
( like give from to 20 to all mac address starting with  
00:15:00 ?)


More information about the dhcp-users mailing list