LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Networking (http://www.linuxquestions.org/questions/forumdisplay.php?f=3)
-   -   dhcpd.conf assitance requested (http://www.linuxquestions.org/questions/showthread.php?t=4175454918)

def1014 03-20-2013 08:34 PM

dhcpd.conf assitance requested
 
I have tried various iterations of the following and cannot get the automatic VLAN assignment to work on my VoIP phones. Anyone familiar with dhcpd.conf that could assist me with my problem/syntax?


class "vendor-class" {
match option vendor-class-identifier;
}
# Seimens Telecom Options
set vendor-string = option vendor-class-identifier;
option space SiemensVoIP; # Siemens VoIP Option Space
option SiemensVoIP.vendor code 1 = string;
option SiemensVoIP.vlanid code 2 = unsigned integer 32;
option SiemensVoIP.dls code 3 = string;
#option SiemensVoIP.dls code 4 = string;
subnet 192.168.168.0 netmask 255.255.255.0 # Telecom TEST
{
range 192.168.168.50 192.168.168.225;
option routers 192.168.168.254;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.168.255;
default-lease-time 259200;
max-lease-time 432000;
deny unknown-clients;
subclass "vendor-class" "OptiIpPhone"
{
vendor-option-space SiemensVoIP;
option SiemensVoIP.vendor "Siemens";
option SiemensVoIP.vlanid 1007;
option SiemensVoIP.dls "sdlp://172.16.1.10:18443";
}
subclass "vendor-class" "OptiPoint"
{
vendor-option-space SiemensVoIP;
option SiemensVoIP.vendor "Siemens";
option SiemensVoIP.vlanid 1007;
option SiemensVoIP.dls "sdlp://172.16.1.10:18443";
}
}


All times are GMT -5. The time now is 11:28 AM.