Unable to get DHCP server to restart after restart - Ubuntu 12.04

[FONT=Tahoma]I am running Fog 1.2.0 on Ubuntu 12.04[/FONT]. I am running Fog locally, not over a network. When I shut the Fog server machine down and restarted it, I lost my DHCP service and the machine I am trying to image is not making a PXE connection and tells me there is no DHCP service running. After Googling and trying some potential solutions I found, I am still not having any luck getting the server to start.

[FONT=Tahoma]Here’s what I have tried so far:[/FONT]

[FONT=Tahoma]I went into /etc/dhcp/dhcpd.conf and changed the subnet mask to what I set it as when I originally installed Fog and its DHCP service.[/FONT]

[FONT=Tahoma]I have tried typing “sudo service isc-dhcp-server start” and I get:

I’d strongly recommend figuring out why. Eventually the machine will go down, whether you want it to or not. A storm could knock power out for hours, some jack— could hit a power pole with a garbage truck or something… and I’m willing to bet that none of us have more than some server-grade backup batteries that can hold out for hours…

It’s better to fix it now on YOUR time, rather than fix it later on CHANCE’s time.

I tried the switch idea with a few different configurations, some using a crossover cable, some not. It didn’t change anything.

However, running the [I]sudo service isc-dhcp-server restart[/I] command followed by the [I]sudo service tftpd-hpa restart[/I] [B]got me going again![/B] I ran both of those commands previously and they didn’t get me running, not sure how or why they worked this time. I am afraid to shut down and restart to test them out now that I have Fog up and running again. I’m just going to avoid powering the machine off for as long as I can!

Well if you’re running on an isolated network and are handling DHCP, then you dictate what subnet to use.

However, this subnet must match the subnet mask that is assigned to the interface that’s handling DHCP.

Since this machine is on an isolated network, gateway and DNS are not required.
I see the FOG server AND what appears to be a client asking who has 10.1.0.1

Also, the FOG server is trying to send traffic to 224.0.0.251 and 224.0.0.22. If this is an isolated network, those requests shouldn’t exist, and FOG shouldn’t be trying to communicate with anything in that range.

Also, I see lots of DHCP discover requests, but zero responses.

I’d say DHCP is misconfigured. Look through your config again. There’s some examples on various sites for setup. I think there are some examples in the WiKi too.

It kind of looks like my DHCP might be giving out the wrong Netmask.
On my Ubuntu wired connection and when I set up Fog, I used the following info:
Static IP:10.1.0.185
Netmask: 255.255.254.0
Gateway: 10.1.0.1
DNS: 12.127.16.67