Startup
A31003-S2000-M102-3-76A9, 08/07/2009
2-12
Asterisk - OpenStage Family, Administration Manual
inbetriebnahme.fm
Quick Start
2.3.8
Example DHCP server configuration
The following description demonstrates by example how a DHCP server can be configured in
order to build up a working infrastructure for OpenStage phones.
The configuration example is tested with ISC DHCP server version 3 running on Debian Linux
(packagename: dhcp3-server).
On startup, the OpenStage phone sends a DHCP discovery message which contains the
vendor-class-identifier
option. The fixed value is
OptiIpPhone
. This identifier is used
by the DHCP server to send a specified set of sub-options to each OpenStage phone by means
of vendor encapsulated options. The
vendor-encapsulated-options
option allows for de-
fining custom-made options in either a single series of bytes or a sequence of parameters
which is structured as follows: 1) single-byte vendor-specific option code; 2) single-byte length
indication for the option data (the length does not include itself or the option code); 3) the data
itself in as many bytes of data as are specified in the length indication.
The value of the
vendor-encapsulated-options
option can either be set directly by cod-
ing the bytes in hexadecimal notation, or, preferably, by using the
option space
statement.
This statement is available with ISC DHCP 3.0.
To assign the specific
vendor-encapsulated-options
to the appropriate devices, the use
of classes is recommended. In the example, the class
vendor-classes
is divided into sub-
classes automatically for each
vendor-class-identifier
option that is received from the
clients. As OpenStage phones send the value
OptiIpPhone
, the specifications for theses
phones are defined in the correpsonding sub-class.