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

Analog & digital voip media gateway enterprise session border controller gateway & e-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 {
}
}
Notes:
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.

37.1.1.1 Provisioning from HTTP Server using DHCP Option 67

Most DHCP servers support the configuration of individual DHCP option values for different
devices on the network. The DHCP configuration should be modified so that the device
receives a URL to the configuration file in Option 67, along with IP addressing and DNS
server information. The DHCP response is processed by the device upon startup and the
device automatically downloads the configuration file from the HTTP server specified in the
DHCP response. This method is NAT-safe.
Below is an example of a Linux DHCP configuration file (dhcpd.conf) showing the required
format of Option 67:
ddns-update-style ad-hoc;
default-lease-time 3600;
max-lease-time 3600;
class "audiocodes" {
match if(substring(hardware, 1, 3) = 00:90:8f);
}
subnet 10.31.0.0 netmask 255.255.0.0 {
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 & SBC
10.31.0.1;
255.255.0.0;
610
Document #: LTRT-27034

Advertisement

Table of Contents
loading

Table of Contents