at this time i'll change all systems to CentOS 7, as well as the DHCP server.
The old CentOS server is CentOS 5 with DHCP 3.0.5 the new server is CentOS 7 with DHCP 4.2.5.
The problem is, that i don't know what i musst change in the classes for the new version.
This are the lines in Verion 3.0.5:
Code: Select all
###################
## config of classes ##
###################
# Siemens IP Telefone - DLS Server
class "VoIPTel" {
# Filter nach Hersteller-String
match if ( substring (option vendor-class-identifier, 0, 11) = "OptiIpPhone" ) or
( substring (option vendor-class-identifier, 0, 9) = "OptiPoint") ;
vendor-option-space OptiIpPhone;
option OptiIpPhone.magic 53:69:65:6D:65:6E:73:00:00:00; # "SIEMENS\0\0\0"
option OptiIpPhone.dls "sdlp://000.00.00.000:18443";
}
# IGEL Thinclients
class "IGELThinClients" {
match if (substring (hardware,1,3) = 00:E0:C5) or
(substring (hardware,1,3) = 00:e0:c5) or
(substring (hardware,1,3) = 00:0B:CA) or
(substring (hardware,1,3) = 00:0b:ca);
}
###################
## config of subnet ##
###################
# ens32
subnet 000.00.00.0 netmask 255.255.255.0
{
option domain-name "xxxxxxxx";
option domain-name-servers 000.00.00.000,000.00.00.000;
option netbios-name-servers 000.00.00.000,000.00.00.000;
option subnet-mask 255.255.255.0;
option routers 000.00.00.0;
option time-servers ip-address 000.00.00.0;
option time-offset 3600;
option igelrmserver code 224 = text;
default-lease-time 604800;
max-lease-time 1209600;
next-server 000.00.00.000;
filename "pxelinux.0";
##### vendor specific options for Siemens OpenStage
option space OptiIpPhone;
option OptiIpPhone.magic code 1 = string;
option OptiIpPhone.vlanid code 2 = unsigned integer 32;
option OptiIpPhone.dls code 3 = string;
pool {
#failover peer "xxxxxx";
deny dynamic bootp clients;
allow members of "VoIPTel";
range 000.00.00.0 000.00.00.000;
include "/opt/clientlists/voip_client.list";
}
pool {
#failover peer "xxxxxx";
deny dynamic bootp clients;
range 000.00.00.0 000.00.00.000;
option igelrmserver "000.00.00.000";
allow members of "IGELThinClients";
include "/opt/clientlists/igel_client.list";
}
pool {
#failover peer "xxxxxxx";
deny dynamic bootp clients;
range 000.00.00.0 000.00.00.000;
deny members of "IGELThinClients";
deny members of "VoIPTel";
allow unknown-clients;
group {
include "/opt/clientlists/misc_client.list";
include "/opt/clientlists/switch_client.list";
include "/opt/clientlists/normal_client.list";
include "/opt/clientlists/printer_client.list";
}
}
}
Code: Select all
option OptiIpPhone.magic 53:69:65:6D:65:6E:73:00:00:00; # "SIEMENS\0\0\0"
option OptiIpPhone.dls "sdlp://000.00.00.000:18443";
Code: Select all
option space OptiIpPhone;
option OptiIpPhone.magic code 1 = string;
option OptiIpPhone.vlanid code 2 = unsigned integer 32;
option OptiIpPhone.dls code 3 = string;
Code: Select all
option igelrmserver "000.00.00.000";
Can you help me?
Thank you.
CU Benni