Looks like i spoke too soon. Immediately after installing trunk everything was working fine. I then shutdown the VM to create a snapshot and rebooted and now the DHCP service will not start (automatically or manually).
This is what i get when trying to start the service.
eud@FOGVM ~/Desktop $ sudo /etc/init.d/isc-dhcp-server start
dhcpd self-test failed.
Please fix /etc/dhcp/dhcpd.conf.
The error was:
Internet Systems Consortium DHCP Server 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/
/etc/dhcp/dhcpd.conf line 0: expecting a parameter or declaration
# Code
^
/etc/dhcp/dhcpd.conf line 17: no option space named PXE.
option PXE.mtftp-ip
^
/etc/dhcp/dhcpd.conf line 18: no option space named PXE.
option PXE.mtftp-cport
^
/etc/dhcp/dhcpd.conf line 19: no option space named PXE.
option PXE.mtftp-sport
^
/etc/dhcp/dhcpd.conf line 20: no option space named PXE.
option PXE.mtftp-tmout
^
/etc/dhcp/dhcpd.conf line 21: no option space named PXE.
option PXE.mtftp-delay
^
/etc/dhcp/dhcpd.conf line 40: semicolon expected.
max-lease-time
^
/etc/dhcp/dhcpd.conf line 40: expecting a parameter or declaration
max-lease-time 43200;
^
Configuration file errors encountered -- exiting
FOG 1.2.0 Base install dhcpd.conf before trunk update
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
# This file was created by FOG
use-host-decl-names on;
ddns-update-style interim;
ignore client-updates;
next-server 192.168.0.2;
subnet 192.168.0.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
range dynamic-bootp 192.168.0.10 192.168.0.254;
default-lease-time 21600;
max-lease-time 43200;
# option domain-name-servers x.x.x.x;
# option routers x.x.x.x;
filename "undionly.kpxe";
}
FOG 1.2.0 dhcpd.conf AFTER trunk update
# DHCP Server Configuration file
#see /usr/share/doc/dhcp*/dhcpd.conf.sample
# This file was created by FOG
#Definition of PXE-specific options
# Code 1: Multicast IP Address of bootfile
# Code 2: UDP Port that client should monitor for MTFTP Responses
# Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
# Code 4: Number of seconds a client must listen for activity before trying
# to start a new MTFTP transfer
# Code
5: Number of seconds a client must listen before trying to restart
# a MTFTP transfer
option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;
option arch code 93 = unsigned integer 16; # RFC4578
use-host-decl-names on;
ddns-update-style interim;
ignore client-updates;
next-server 192.168.0.2;
# Specify subnet of ether device you do NOT want service. for systems with
# two or more ethernet devices.
# subnet 136.165.0.0 netmask 255.255.0.0 {}
subnet 192.168.0.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
range dynamic-bootp 192.168.0.10 192.168.0.254;
default-lease-time 21600
max-lease-time 43200;
# option domain-name-servers x.x.x.x;
# option routers x.x.x.x;
filename ;
}