dhcpd and IPv6
David W. Hankins
dhankins at isc.org
Thu Oct 1 18:23:11 UTC 2009
On Wed, Sep 30, 2009 at 09:08:16AM +0200, Robert Andersson wrote:
> Below you can see an log-file from '-d' with the final line
> "dhcpd: heap.c:198: isc_heap_delete: Assertion `index >= 1 && index
> <= heap->last' failed."
the first thing to do is to grab 4.1.1b2. i don't remember anything
like this, but it's easier to work on new problems from most current
maint.
the second thing to do is to run dhcpd -6 under gdb.
gdb --args ./server/dhcpd -d [normal other flags]
just make sure to add -d so dhcpd doesn't fork. once in gdb, at its
prompt;
(gdb) run
when (if) you get the heap.c assertion again, type this at the (gdb)
prompt:
(gdb) bt
copy and paste the result into an email to dhcp-bugs at isc.org.
> Any hints on what I'm doing wrong?
the only thing in your config file i'd do differently is use a
CIDR mask on the range rather than an explicit address range. the
current code turns an explicit range into a series of CIDRs. it's
easier and more direct to just specify an address and mask length
than to make it calculate it out.
> Client 00:01:00:01:12:3a:5d:8d:00:0d:56:28:fd:96 reports address
> 2001:6b0:1d:1abb::f43 is already in use by another host!
this means you are getting decline messages, which is a little
unusual.
--
David W. Hankins "If you don't do it right the first time,
Software Engineer you'll just have to do it again."
Internet Systems Consortium, Inc. -- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20091001/be709778/attachment.bin>
More information about the dhcp-users
mailing list