Solved FOG Server 1.2.0 on Ubuntu 14.04
-
I'm looking for advice from those of you currently running FOG in your environments. I'm looking to integrate it with my current isc-dhcp server and want to make sure I get the configuration entry in dhcpd.conf for the fog server's tftp service right. Their documentation for implementing this is poor. It says to just add in "next-server", but doesn't provide an example or specifically where to add this line in the config. Their documentation actually redirects to Red Hat's basic DHCP configuration explanation which has no mention of the "next-server" option.
Before I screw around with my existing DHCP server configuration I thought I'd ask for some examples and advice from those of you that have this up and running already on your networks.
My current DHCP server is multihomed and running a tftp server for my IP phones. Do I just need to add the next-server line in the configuration underneath tftp-server-name option like this?
#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"; option next-server "10.10.1.13"; #Fog server TFTP include "/etc/dhcp/lan.conf"; }
Is that really all that is needed to allow the FOG server's tftp server to play nicely with my pre-existing TFTP and DHCP servers?
-
Okay, I couldn't find this information ANYWHERE... However, by scouring the dhcpd.conf man page I was able to come up with the answer.
The below configuration file example is the correct implementation for integrating FOG into your current network's isc-dhcp-server.
#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 TFTP Server option bootfile-name "undioonly.kpxe"; include "/etc/dhcp/lan.conf"; }
When I have time I might do a quick how-to just so SOMETHING else is out there for people who might be struggling to finding the correct config syntax/entries as I did...