In my current network I have a pre-existing ISC-DHCP server running on an Ubuntu server. I chose to install FOG without DHCP enabled with the assumption that I would integrate it with my existing DHCP server. I couldn’t find specific information in regards to making the actual configuration changes to make this work. After searching through the documentation here and elsewhere I eventually came across the config file entries that made this possible in the man pages of dhcp.conf. This post is just a reference for others that might need the same information and are having a tough time locating it.
The two lines you need to add to your /etc/dhcp/dhcpd.conf file are as follows:
next-server 10.10.1.13; #Fog Server IP Address
option bootfile-name "undioonly.kpxe";
Example of a configuration file with these options added:
#internal LAN (eth2)
subnet 10.10.0.0 netmask 255.255.0.0 {
range 10.10.224.0 10.10.255.254;
option routers 10.10.0.10;
option subnet-mask 255.255.0.0;
option broadcast-address 10.10.255.255;
option domain-name-servers 10.10.1.11, 10.10.1.12;
option domain-name "example.com";
option tftp-server-name "10.10.0.10";
next-server 10.10.1.13; #Fog Server IP Address
option bootfile-name "undioonly.kpxe";
include "/etc/dhcp/lan.conf";
}
I eventually dug through the man pages of dhcp.conf and found the information I was needing. The redirect links to Red Hat’s documentation on DHCP from the FOG Wiki do not make any mentions of the next-server option. Hopefully this post will save others seeking the same information in the future a little time.
REFERENCES
DHCP.conf man page: http://linux.die.net/man/5/dhcpd.conf (do a quick search for “next-server” and it will take you directly to the relevant section of the document)