TFTP option 150 for VoIP Phone in dhcpd.conf on Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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; 	   	#
Default Gateway
	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;			#
Eastern Standard Time
	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@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux