DHCP Service

The Dynamic Host Configuration Protocol (DHCP) provides a way to automate and manage the network configurations of all ORBIT attached devices. It has two main functions:

1.) Assigning networking (IP) configuration 2.) Support for PXE booting


use-host-decl-names on;
ping-check false;
ping-timeout 0;
default-lease-time 86400;
max-lease-time 86400;

subnet netmask {
        option routers;
        option domain-name-servers;
        option domain-name "";
        option log-servers;
        option ntp-servers;
        ddns-updates off;
        ddns-domainname "";

        host {hardware ethernet 00:40:63:D4:09:62; fixed-address;}
        host {hardware ethernet 00:04:23:9E:DF:58; fixed-address;}
        host {hardware ethernet 00:0f:ea:4A:8B:5F; fixed-address;}
        host {hardware ethernet 00:0F:EA:84:C8:01; fixed-address;}

PXE Support

The PXE protocol uses a very complex set of extensions to DHCP and/or BOOTP but most of the newer implementations seem to be able to boot with standard DHCP configuration.

A DHCP configuration for PXE support is:

        allow booting;
        allow bootp;

	# Standard DHCP configuration directives...

	# Needed for PXE
	filename "/pxelinux.bin";
        option option-150 code 150 = text;
        # tftp server

Configuration As of 10/14/2015

  • Main file is dhcpd.conf, includes each orbit subnet as separate file, e.g. include "/etc/dhcp/grid.conf";
  • dhcpd Header is as follows
    #ddns-update-style interim;
    use-host-decl-names on;
    get-lease-hostnames true;
    ping-check false;
    ping-timeout 0;
    log-facility local7;
    default-lease-time 86400;
    max-lease-time 86400;
    ddns-updates off;
    #allow booting;
    #allow bootp;
    # Ivan/James  on dhcp1 if you want the log to do dhcplog enable this below and modify syslog.conf  
    option ntp-servers,;
    filename "/pxelinux.bin";
    option option-150 code 150 = text;
  • Header for each sandbox is:
    #Sandbox Config
    subnet netmask {
    	option routers; # Router
    	option domain-name-servers,; #DNS
    	option domain-name ""; #current domain
            option log-servers; # log set per subnet
            option ntp-servers; #ntp set per subnet
    	ddns-updates off; #no ddns
    	ddns-domainname "";
    	next-server; #for pxe
  • Files included are:
    • inside.conf
    • instrument.conf
    • network.conf
    • cm.conf
    • dmz.conf
    • grid.conf
    • outdoor.conf
    • failover.conf
    • sandbox1.conf
    • sandbox2.conf
    • sandbox3.conf
    • sandbox4.conf
    • sandbox5.conf
    • sandbox6.conf
    • sandbox7.conf
    • sandbox8.conf
    • sandbox9.conf
    • aruba.conf
Last modified 7 years ago Last modified on Oct 14, 2015, 4:56:32 PM
Note: See TracWiki for help on using the wiki.