Difference between revisions of "Dhcp"

From MyWiki
Jump to: navigation, search
(Created page with " In order to provide option 150 (or other custom options) two configuration entries are required, first, in the top level of the configuration file located at /etc/dhcp/dhcpd...")
 
(Blanked the page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
 
In order to provide option 150 (or other custom options) two configuration entries are required, first, in the top level of the configuration file located at /etc/dhcp/dhcpd.conf you need to define your custom option:
 
 
option voip-tftp-server code 150 = { ip-address };
 
 
Then, in the subnet stanza for where you need to provide the information you'll configure the option with the appropriate value.
 
 
subnet 192.168.0.0 netmask 255.255.255.0 {
 
  [...]
 
  option voip-tftp-server 10.101.0.10;
 
}
 
 
If you place the option definition in the subnet stanza then dhcpd will not work.
 
shareimprove this answer
 
 
edited Mar 14 '13 at 18:58
 
 
 
answered Mar 14 '13 at 17:09
 
johnf
 
629410
 
 
add a comment
 
up vote -1 down vote
 
 
 
It can be:
 
 
option tftp-servers code 150 = array of ip-address;
 
 
option tftp-servers 10.20.10.1, 10.20.11.1;
 
shareimprove this answer
 

Latest revision as of 11:46, 23 November 2021