Unreliable LTSP DHCP server: No DHCP offers received on client

Stéphane Graber stgraber at ubuntu.com
Thu Aug 23 01:55:07 UTC 2012


On 08/22/2012 08:15 PM, John Hupp wrote:
> A good guess about -q.  OK, that yields:
> 
> Wrote 6 leases to leases file.
> 
> No subnet declaration for lxcbr0 (10.0.3.1).
> ** Ignoring requests on lxcbr0.  If this is not what you want, please
> write a subnet declaration in your dhcpd.conf file for the network
> segment to which lxcbr0 is attached.**
> 
> No subnet declaration for eth1 (10.0.0.8).
> ** Ignoring requests on eth1.  If this is not what you want, please
> write a subnet declaration in your dhcpd.conf file for the network
> segment to which lxcbr0 is attached.**
> 
> Not configured to listen on any interfaces!

Well that last line tells you what the problem is, none of your
interfaces match the configuration in the DHCP server.

You must have an interface in at least one subnet defined in dhcpd.conf
for it to start.


> -----------------------
> 
> Perhaps useful to know at this point: On my two-interface setup, eth1 is
> the outward-facing interface, and eth0 is the LTSP interface.  Both were
> configured via the Network Connections interface.
> 
> And perhaps worth repeating here is my initial observation that
> everything works once I restart isc-dhcp-server.
> 
> 
> On 8/22/2012 7:09 PM, Stéphane Graber wrote:
>> On 08/22/2012 06:42 PM, John Hupp wrote:
>>> I got no output from that command string, and I found that on this
>>> system /run/dhcp-server/dhcpd.pid does not exist - that is an empty folder.
>> Ah, right, try: (still on one line)
>> sudo /usr/sbin/dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf
>> /etc/ltsp/dhcpd.conf
>>
>> My guess is that the -q was making any error/informational message go away.
>>
>>> On 8/22/2012 4:57 PM, Stéphane Graber wrote:
>>>> On 08/22/2012 04:38 PM, John Hupp wrote:
>>>>> Thanks.
>>>>>
>>>>> /var/log/upstart/isc-dhcp-server.log does not exist, but
>>>>> isc-dhcp-server6.log does (perhaps related to the fact that this is an
>>>>> LTSP DHCP server and not a regular DHCP server?).
>>>>>
>>>>> Its contents:
>>>>>
>>>>>     /etc/dhcp/dhcpd6.conf does not exist! - Aborting...
>>>>>     Please create and configure /etc/dhcp/dhcpd6.conf to fix the problem.
>>>>>     isc-dhcp-server6 stop/pre-start, process 1094
>>>>>
>>>>> But very interestingly, on another server for which the LTSP clients
>>>>> boot reliably, isc-dhcp-server6.log has the same contents!
>>>> That's the expected content for isc-dhcp-server6.log for a network
>>>> without IPv6.
>>>>
>>>> Try running (one line):
>>>> sudo /usr/sbin/dhcpd -f -q -4 -pf /run/dhcp-server/dhcpd.pid -cf
>>>> /etc/ltsp/dhcpd.conf
>>>>
>>>> From a shell, that should tell you what's failing.
>>>>
>>>>> On 8/22/2012 3:21 PM, Stéphane Graber wrote:
>>>>>> On 08/22/2012 03:02 PM, John Hupp wrote:
>>>>>>> I have a couple small LTSP networks set up for testing.  On the network
>>>>>>> with Edubuntu 12.04, the LTSP client boot regularly fails at step one of
>>>>>>> the PXE boot with the message: "DHCP ..... No DHCP or proxyDHCP offers
>>>>>>> were received."
>>>>>>>
>>>>>>> Restarting the isc-dhcp-server service always works, but something about
>>>>>>> the boot process regularly causes it to fail to start.  The restart
>>>>>>> command output:
>>>>>>>     stop: Unknown instance:
>>>>>>>     isc-dhcp-server start/running, process (pid goes here)
>>>>>>>
>>>>>>> Dmesg includes these lines:
>>>>>>>     init: isc-dhcp-server main process ended, respawning
>>>>>>>     init: isc-dhcp-server main process (pid goes here) terminated
>>>>>>>     init: isc-dhcp-server respawning too fast, stopped
>>>>>>>
>>>>>>> Is anyone familiar with this problem?
>>>>>> Look in /var/log/upstart/isc-dhcp-server.log for details.
>>>>>>
>>>>>>
>>
> 


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/edubuntu-users/attachments/20120822/6cbd0e57/attachment.pgp>


More information about the edubuntu-users mailing list