c02.fm
A31003-S2000-R102-16-7620, 02/2016
Provisioning Service, Developer’s Guide
19
Nur für den internen Gebrauch
DHCP
Example DHCP server configuration
Example dhcpd.conf
# General configuration for all clients in the subnet
subnet 192.168.2.0 netmask 255.255.255.0 {
option domain-name-servers 192.168.2.2;
option broadcast-address 192.168.2.255;
option routers 192.168.2.251;
option subnet-mask 255.255.255.0;
option domain-name "phones.intranet";
option ntp-servers 192.43.244.18;
option time-offset 3600;
default-lease-time 864000;
max-lease-time 8640000;
}
# Set up an option space to contain the vendor-encapsulated options
option space OpenStage;
option OpenStage.vendor code 1 = string;
option OpenStage.vlanid code 2 = unsigned integer 32;
option OpenStage.dls code 3 = string;
# Each vendor-class-identifier will constitute a class
class "vendor-classes" {
match option vendor-class-identifier;
}
# Specifications for OpenStage phones
subclass "vendor-classes" "OptiIpPhone" {
vendor-option-space OpenStage;
option OpenStage.vendor "Siemens";
option OpenStage.vlanid 4;
option OpenStage.dls "sdlp://192.168.2.103:18443";
option sip-server 192.168.2.117;
}