Provisioning From Http Server Using Dhcp Option 67 - AudioCodes Mediant 1000B User Manual

Gateway & enterprise sbc
Hide thumbs Also See for Mediant 1000B:
Table of Contents

Advertisement

The following shows an example of a configuration file for a Linux DHCP server
(dhcpd.conf). The devices are allocated temporary IP addresses in the range 10.31.4.53 to
10.31.4.75. TFTP is assumed to be on the same computer as the DHCP server
(alternatively, the "next-server" directive may be used).
ddns-update-style ad-hoc;
default-lease-time 60;
max-lease-time 60;
class "gateways" {
match if(substring(hardware, 1, 3) = 00:90:8f);
}
subnet 10.31.0.0 netmask 255.255.0.0 {
pool {
}
}
Note:
If, during operation, the device's IP address is changed as a result of a DHCP
renewal, the device automatically resets.
If the DHCP server denies the use of the device's current IP address and specifies
a different IP address (according to RFC 1541), the device must change its
networking parameters. If this occurs while calls are in progress, they are not
automatically rerouted to the new network address. Therefore, administrators are
advised to configure DHCP servers to allow renewal of IP addresses.
If the device's network cable is disconnected and then reconnected, a DHCP
renewal is performed (to verify that the device is still connected to the same
network). The device also includes its product name in the DHCP Option 60
Vendor Class Identifier. The DHCP server can use this product name to assign an
IP address accordingly.
After power-up, the device performs two distinct DHCP sequences. Only in the
second sequence is DHCP Option 60 included. If the device is software reset
(e.g., from the Web interface or SNMP), only a single DHCP sequence containing
Option 60 is sent.

47.1.1.1 Provisioning from HTTP Server using DHCP Option 67

You can provision the device through HTTP using DHCP Option 67. In this setup, DHCP
Option 67 informs the device of the URL address of the HTTP server from where it can
download the configuration file. This provisioning method is possible only if the DHCP
server allows configuration of DHCP Option values for different equipment in the network.
Upon device startup, the device sends a DHCP request. The DHCP response received
from the DHCP server contains networking (e.g., IP address and DNS server) information.
In addition, the response includes DHCP Option 67, which specifies the URL address of
the HTTP server where the device's configuration file is located. The device then
automatically downloads the configuration file from this HTTP server.
Below is an example of a configuration file (dhcpd.conf) of a Linux-based DHCP server,
showing the required format of Option 67:
ddns-update-style ad-hoc;
default-lease-time 3600;
max-lease-time 3600;
User's Manual
allow members of "audiocodes";
range 10.31.4.53 10.31.4.75;
filename "SIP_F6.60A.217.003.cmp –fb;device.ini";
option routers
option subnet-mask
Mediant 1000B Gateway & E-SBC
10.31.0.1;
255.255.0.0;
830
Document #: LTRT-27055

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents