This is an update to a fairly old post I made a few years back now providing an example dhcpd.conf configuration file for use in an Avaya (formerly Nortel) IP telephony environment. I was recently working on a few things and discovered that the Avaya IP phones ignore the next-server option within my dhcpd.conf file. A few tests and I quickly found that I needed to define the tftp-server-name option with the IP address of the TFTP server (see the global section of the dhcpd.conf file below).
If time allows I hope to post an update in the very near future covering the new Nortel-i2004-B option string. While working with the SIP 4.0 software release in the past few articles I did learn that the Avaya SIP IP phones can utilize a new DHCP vendor class, Nortel-SIP-Phone-A which can allow you a little flexibility when configuring them via DHCP and TFTP.
In the same file below I setup four DHCP scopes; one for 2111/2212/6020/6040 wireless handsets, one for i2002/i2004/1100/1200 series IP phones, one for 1100/1200 series IP phones running SIP and one for all other devices (laptops, desktops, etc). Just a quick note about the example below, you’ll notice that I have no pools in the 192.168.1.0/24 network. All the pools are in the 192.168.25.0/24 network.
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
# Sample dhcpd.conf file for Avaya (legacy Nortel) IP Phones
#
# Notes: example dhcpd.conf file to illustrate how to configure Avaya
# IP Phones with specific DHCP options for 2000/1100/1200 series IP
# Phones and the 2200/6100 series Wireless IP Phones.
#
# *** WARNING *** WARNING *** WARNING *** WARNING ** WARNING ***
#
# This is just an sample file with specific IP information. You'll
# need to customize this file to your specific IP address scheme
# before you can use it in your environment.
#
# *** WARNING *** WARNING *** WARNING *** WARNING ** WARNING ***
#
ddns-update-style none;
not authoritative;
option nortel-callserver code 128 = string;
option nortel-2245 code 151 = ip-address;
option tftp-server-name "192.168.1.20";
# Vendor Class for i2002/i2004/1120e/1140e/1150e Internet Telephones
class "Nortel-i2004-A" {
match if substring (option vendor-class-identifier, 0, 14) = "Nortel-i2004-A";
option nortel-callserver "Nortel-i2004-A,192.168.200.2:4100,1,5;192.168.200.2:4100,1,5.";
option vendor-class-identifier "Nortel-i2004-A";
}
# Vendor Class for 2210/2211 Wireless Phones
class "Nortel-221x-A" {
match if substring(option vendor-class-identifier, 0, 13) = "Nortel-221x-A";
option nortel-callserver "Nortel-i2004-A,192.168.200.2:4100,1,5:192.168.200.2:4100,1,5.";
option nortel-2245 192.168.99.10;
option vendor-class-identifier "Nortel-221x-A";
}
# Vendor Class for Avaya 1100/1200 IP SIP Phones (SIP firmware loaded)
class "Nortel-SIP-Phone-A" {
match if substring(option vendor-class-identifier, 0, 18) = "Nortel-SIP-Phone-A";
option vendor-class-identifier "Nortel-SIP-Phone-A";
}
# Network Definition
shared-network "mynetwork" {
subnet 192.168.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option domain-name "home";
option domain-name-servers 192.168.0.1;
next-server 192.168.1.20;
default-lease-time 28800;
max-lease-time 86400;
}
}
# Network Definition 192.168.25.0/24
shared-network "192-168-25-0" {
subnet 192.168.25.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 192.168.25.1;
option domain-name "home";
option domain-name-servers 192.168.1.1;
next-server 192.168.1.20;
default-lease-time 28800;
max-lease-time 86400;
# IP Address Pool for generic devices
pool {
range 192.168.25.50 192.168.25.100;
deny members of "Nortel-i2004-A";
deny members of "Nortel-221x-A";
deny members of "Nortel-SIP-Phone-A";
}
# IP Address Pool for i2002/i2004/1120e/1140e/1150e
pool {
range 192.168.25.150 192.168.25.175;
allow members of "Nortel-i2004-A";
deny members of "Nortel-221x-A";
deny members of "Nortel-SIP-Phone-A";
}
# IP Address Pool for 2210/2211
pool {
range 192.168.25.176 192.168.25.199;
allow members of "Nortel-221x-A";
deny members of "Nortel-i2004-A";
deny members of "Nortel-SIP-Phone-A";
}
# IP Address Pool for Avaya 1100/1200 IP SIP Phones
pool {
range 192.168.25.200 192.168.25.224;
allow members of "Nortel-SIP-Phone-A";
deny members of "Nortel-i2004-A";
deny members of "Nortel-221x-A";
}
}
}Cheers!
While working with the Avaya 1220 IP Phones over this past week I discovered a few tricks that I thought I would share with everyone. It can be very difficult and time consuming to troubleshoot configuration issues and the 5 line LCD display makes scrolling through all the configuration options painful to say the least. While working with the provisioning files I recalled that the 1200 series IP phone supports SSH so I logged into the IP phone via SSH and I found a great little command. prtcfg. This command appears to print the entire configuration of the IP phone. I’ve noticed that the documentation is sometimes lacking so this is a great little resource to not only see how the phone is configured but to see all the available options.
Over the past weekend I set out to setup 


