Hello we are currently in the process of trying to eliminate having to hard code anything into our Polycom 330 and 650 phones. Our goal is to simply plug them in when we reach our client's site and they boot up with the correct configuration and register to our PBX. On our Cisco Router is where I am applying the DHCP server for the phones. (no I don't want to use the DHCP server on Asterisk) This is the current DHCP setup I have containing 2 pools one for our Data VLAN and one for our Voice VLAN.
ip dhcp pool data
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server xx.xx.xx.xx xx.xx.xx.xx
lease 0 2
!
ip dhcp pool VoIP
import all
network 10.1.1.0 255.255.255.0
default-router 10.1.1.1
dns-server xx.xx.xx.xx xx.xx.xx.xx
option 150 ascii "xx.xxx.xxx.xxx"
lease 0 2
Our phones pull the IP address of the VoIP DHCP pool just fine as well as registering to our PBX . However I am continually getting the "cannot contact boot server" error and cannot figure out why that is. I have tried using both option 66 and 150. I also have tried using the "ASCII and IP" for our PBX and still cannot get it to contact the boot server. Also, this only started happening after creating our Voice VLAN.
i dont know what it looks like in cisco dhcp but option 66 is the parameter to use for the boot server. Using the ISC dhcpd's dhcpd.conf file it would look like:
# VOICE Subnet
subnet 172.16.100.0 netmask 255.255.255.0 {
option time-servers 172.16.100.1;
option ntp-servers 172.16.100.1;
option time-offset -18000;
option tftp-server-name "172.16.100.1";
option routers 172.16.100.1;
authoritative;
range 172.16.100.100 172.16.100.200;
}