(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 192.168.1.0 netmask 255.255.255.0 {
pool {
deny members of "pepe";
range 192.168.1.100 192.168.1.245;
}
pool {
allow members of "pepe";
range 192.168.1.46 192.168.1.97;
}
Set vendor-string = option vendor-class-identifier;
option domain-name-servers 192.168.1.1, 10.0.0.1;
option domain-name "ttt.com";
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
default-lease-time 86400;
max-lease-time 100000;
}
In the dhcp lease file i have :
lease 192.168.1.219 {
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 192.168.1.10 to 20 to all mac address starting with
00:15:00 ?)
Thanks.
More information about the dhcp-users
mailing list