<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.fogproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Separate_TFTP_and_DHCP_Server</id>
		<title>Separate TFTP and DHCP Server - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.fogproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Separate_TFTP_and_DHCP_Server"/>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Separate_TFTP_and_DHCP_Server&amp;action=history"/>
		<updated>2026-04-29T18:38:01Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Separate_TFTP_and_DHCP_Server&amp;diff=2946&amp;oldid=prev</id>
		<title>Itismike: Created page with '=== Separate TFTP and DHCP Server ===  In this setup, the TFTP server and the DHCP server are hosted on a separate server.  The TFTP server holds the PXE boot files including the…'</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Separate_TFTP_and_DHCP_Server&amp;diff=2946&amp;oldid=prev"/>
				<updated>2011-02-11T05:30:04Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;=== Separate TFTP and DHCP Server ===  In this setup, the TFTP server and the DHCP server are hosted on a separate server.  The TFTP server holds the PXE boot files including the…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Separate TFTP and DHCP Server ===&lt;br /&gt;
&lt;br /&gt;
In this setup, the TFTP server and the DHCP server are hosted on a separate server.  The TFTP server holds the PXE boot files including the Linux Kernel, boot file system image, and pxe config files.  The DHCP server is the server that assigns the clients with IP addresses and network connection information.  &lt;br /&gt;
&lt;br /&gt;
In this setup we will have two servers:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;'''Server A''':  This is the 'Master' server which will host Apache, MySql, NFS and HTTP&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;'''Server B''':  This server will host TFTP and DHCP&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our example, both of these servers need to have a fresh install of Fedora.  They will both need static IP addresses, in our example we will use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;'''Server A''':  192.168.1.50&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;'''Server B''':  192.168.1.51&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On both nodes, download the FOG installation package from:&lt;br /&gt;
&lt;br /&gt;
http://sourceforge.net/project/showfiles.php?group_id=201099&lt;br /&gt;
&lt;br /&gt;
On Server A install FOG, when you are prompted with:&lt;br /&gt;
  &lt;br /&gt;
 Would you like to use the FOG server for dhcp service? [Y/n]&lt;br /&gt;
&lt;br /&gt;
Select &amp;quot;n&amp;quot; to not start DHCP on that server.  &lt;br /&gt;
&lt;br /&gt;
After installation is complete navigate to:&lt;br /&gt;
&lt;br /&gt;
 http://localhost/fog&lt;br /&gt;
&lt;br /&gt;
and install the FOG schema.&lt;br /&gt;
&lt;br /&gt;
On server A go to:&lt;br /&gt;
&lt;br /&gt;
 System -&amp;gt; Administration -&amp;gt; Services&lt;br /&gt;
&lt;br /&gt;
Uncheck and Stop the following Services:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;dhcpd (should already be stopped.)&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;xinetd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;vsftpd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Server B install FOG, but this time install the dhcp service.&lt;br /&gt;
&lt;br /&gt;
On server B go to:&lt;br /&gt;
&lt;br /&gt;
 System -&amp;gt; Administration -&amp;gt; Services&lt;br /&gt;
&lt;br /&gt;
Uncheck and Stop the following Services:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;FOGMulticastManager&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;httpd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;mysqld&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On server B open:&lt;br /&gt;
&lt;br /&gt;
 /var/www/html/fog/commons/config.php&lt;br /&gt;
&lt;br /&gt;
Copy the value from '''TFTP_FTP_PASSWORD'''&lt;br /&gt;
&lt;br /&gt;
Then open &lt;br /&gt;
 &lt;br /&gt;
 /tftpboot/pxelinux.cfg/default&lt;br /&gt;
&lt;br /&gt;
Replace all instances of web=x.x.x.x/fog/ with the the ip address of Server A.&lt;br /&gt;
&lt;br /&gt;
Now on Server A, open:&lt;br /&gt;
&lt;br /&gt;
 /var/www/html/fog/commons/config.php&lt;br /&gt;
&lt;br /&gt;
Replaced the value from '''TFTP_FTP_PASSWORD''' on Server B.&lt;br /&gt;
&lt;br /&gt;
To test your configuration, navigate to &lt;br /&gt;
&lt;br /&gt;
 http://192.168.1.50/fog &lt;br /&gt;
&lt;br /&gt;
login as:&lt;br /&gt;
&lt;br /&gt;
 Username: fog&lt;br /&gt;
 Password: password&lt;br /&gt;
&lt;br /&gt;
Create a host and then attempt to create a task, if everything works correctly you should see a file created on Server B in the directory /tftpboot/pxeconfig.pxe/ name with the mac address of the host.&lt;/div&gt;</summary>
		<author><name>Itismike</name></author>	</entry>

	</feed>