TFTP option 150 for VoIP Phone in dhcpd.conf on Linux
Josh Myner
jmyner at NETechCorp.com
Mon Dec 13 00:39:34 UTC 2004
"subnet 192.168.117.0 netmask 255.255.255.0 {"
Should have been ...
"subnet 192.168.0.0 netmask 255.255.255.0 {"
Just to avoid any confusion. ;)
-----Original Message-----
From: Josh Myner
Sent: Sunday, December 12, 2004 7:34 PM
To: redhat-list at redhat.com
Subject: TFTP option 150 for VoIP Phone in dhcpd.conf on Linux
Since I'm not able to reply to the archived posts from earlier this
year when people were asking how to do this, here is a quick config for
anyone doing a websearch now or in the future. This is an example of how
to use a linux dhcpd DHCP server to hand out ip address leases and
specify the TFTP option 150 for VoIP phones in the dhcpd.conf config
file.
# /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
# Define Custom Options
option option-150 code 150 = ip-address;
# Global Config
option ip-forwarding off;
option nis-domain "domain.local";
option domain-name "domain.local";
default-lease-time 21600;
max-lease-time 43200;
subnet 192.168.117.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option domain-name-servers 192.168.0.10;
option nntp-server 192.168.0.10;
option time-offset -18000;
option option-150 192.168.200.10; # TFTP
Custom Option
next-server 192.168.200.10; # TFTP
Boot
range dynamic-bootp 192.168.0.200 192.168.0.249;
}
Enjoy.
Josh Myner : Systems Engineer
NETech : http://www.netechcorp.com
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list