Difference between revisions of "DHCP Settings"

From FOG Project
Jump to: navigation, search
m (FOG internal DHCP)
m (DHCP Settings)
Line 1: Line 1:
 
==DHCP Settings==
 
==DHCP Settings==
 +
*It is important to know that versions 0.32 and below use '''pxelinux.0''' for option 67 in DHCP
 +
*For all versions 0.33 to current(1.3.0beta) use '''undionly.kpxe''' for option 67.
 +
** Other files that can be used are  undionly.kkpxe
 +
 +
 
===FOG internal DHCP===
 
===FOG internal DHCP===
 
#'''FOG 0.1-->0.32'''
 
#'''FOG 0.1-->0.32'''

Revision as of 07:31, 23 April 2015

DHCP Settings

  • It is important to know that versions 0.32 and below use pxelinux.0 for option 67 in DHCP
  • For all versions 0.33 to current(1.3.0beta) use undionly.kpxe for option 67.
    • Other files that can be used are undionly.kkpxe


FOG internal DHCP

  1. FOG 0.1-->0.32
    • Go to your DHCP and confirm that option 67 is set to pxelinux.0
  2. Fog 0.33-->1.x.x
    • Go to your DHCP and confirm that option 67 is set to undionly.kpxe


Red Hat based Linux (Red Hat, Fedora, CentOS)

Start/stop/enable/disable

Configure DHCP

FOG dnsmasq (ProxyDHCP)

Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server



If you do not use FOG to provide DHCP services, the following sections will give some indication of settings for DHCP servers on various platforms.

Windows Server DHCP

  • Option 66
    • Windows 66.png
  • Option 67
    • Windows 67.png


Novell (Linux) Server DHCP

  • DHCP Overview from DNS/DHCP Console (Netware 6.5)
    • Novelldhcp.gif
  • Option 66
    • Novelloption66.gif
  • Option 67
    • Novelloption67.gif

MAC Server DHCP

Use OS X Server app to install and utilize DHCP.

Use DHCP Option Code Utility to generate the code necessary.
https://docs.google.com/uc?id=0BwD4il5Z1G6fTmFFYU91bDNuRmc&export=download

One MUST generate the codes in order for PXE booting to work!
bootpd.plist is located in /etc/bootpd.plist

  • Option 66
    • MACOption66.png
  • Option 67
    • MACOption67.png


  • Sample bootpd.plist
    • This is a sample file DO NOT USE THIS IN YOUR ENVIRONMENT!!!! OS X Server app will generate most of this code for you, this example file is to show you the place where the generated code needs to be placed.
    • For Reference, your generated code should be placed between "dhcp_domain_search" and "dhcp_router"


  • Completed Bootpd.plist
    • MACbootpd.png

pfSense

In pfSense enable network booting as follows (192.168.1.1 should be replaced by the ip address of your fog server):

PfSense dhcp network boot settings.png