dhcpd config for Cisco phones
# more /etc/dhcp/dhcpd.conf
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.example
# see dhcpd.conf(5) man page
#
#CHECK!!!
#see /var/lib/dhcpd/dhcpd.leases for current allocations
#CHECK!!!
#***IMPORTANT ***
#check syntax with "/etc/init.d/dhcpd configtest" after editing!!!!
interfaces="eth0";
#Also see /etc/sysconfig/dhcpd for the interface to listen on. Weird RedHat-ism.
# supposidly not needed any more
authoritative;
ignore client-updates;
ddns-update-style none;
# Define Custom Options
option voip-tftp-server code 150 = ip-address;
option voip-tftp-server 192.168.7.21;
allow booting;
allow bootp;
subnet 192.168.7.0 netmask 255.255.255.0 {
range 192.168.7.101 192.168.7.121;
next-server 192.168.7.21;
filename "pxelinux.0";
default-lease-time 60000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.7.255;
option routers 192.168.7.1;
option domain-name-servers 192.168.7.21;
option domain-name "voipint.rainsbrook.co.uk";
option ntp-servers 192.168.7.21;
# These two go in the subnet declaration
#option tftp-server-name 192.168.7.21;
#option voip-tftp-server 192.168.7.21;
}
subnet 192.168.1.0 netmask 255.255.255.0 {
}