SIP Integration Factors
Avaya 3641/3645/6120/6140 IP Wireless Handset SIP Administration Guide June 2012 23
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
# This means the DHCP server will send DHCPNAK messages to misconfigured
# clients.
authoritative;
# Use local address if you want the DHCP server to listen for DHCP requests
# on a specified address, rather than requests send to all addresses.
local-address 192.168.0.1;
# define the default gateway / router option 3
option routers 192.168.0.1;
# define the DNS server(s) option 6
option domain-name-servers 192.168.0.1;
# define the SYSLOG server option 7
option log-servers 192.168.0.1;
# define the domain name option 15
option domain-name "Avaya.com";
# define the SVP server option code 151 as an IP address.
option svp-server code 151 = ip-address;
# define the OAI server option code 152 as an IP address.
option oai-server code 152 = ip-address;
# This should be the length in seconds that will be
# assigned to a lease if the client requesting the lease does not ask
# for a specific expiration time. 86400 seconds is 1 day.
default-lease-time 86400;
# This should be the maximum length in seconds that will be assigned
# to a lease.
max-lease-time 86400;
# minimum lease time of 10 minutes
min-lease-time 600;
# You can declare a class of clients and then do address allocation
# based on that. The example below shows a case where all clients
# in a certain class get addresses in the range 192.168.0.100 to 192.168.0.149,
# and all other clients get addresses in the range 192.168.0.150 to
# 192.168.0.199.
class "AvayaPhones" {
match if substring (option vendor-class-identifier, 0, 11) = "Avaya";
}
# subnet definition also sets netmask option 1
subnet 192.168.0.0 netmask 255.255.255.0 {
# DHCP lease pool for Avaya phones
pool {
allow members of "AvayaPhones";
range 192.168.0.100 192.168.0.149;