dhcpd and IPv6

Robert Andersson robert.andersson at hv.se
Wed Sep 30 07:08:16 UTC 2009


Hello!
 
I'm having problems with isc-dhcpd-4.1.0p1. It works fine for 5-15
minutes, but after that it just dies.
It did work fine before the introduction of Windows7.

The machines happily run autoconfigured IPv6, but they don't have a
dns-ipv6-address.
 
On the cisco-router i have set the M-flag (managed) , O-flag
(other-config) and ip-helper (dhcp-relay).
 
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."
and the dhcpd6.conf file
 
Each time it crashes I get a corrupt lease-file; so I do `rm` and
`touch` on it.
Same problem with 4.1.1b2 as with 4.1.0p1
 
Any hints on what I'm doing wrong?
/Robert
 
PS I know that I probably is doing something wrong, but I think it's a
little 
   impolite of it to just die on me (:-)
----------------------------
authorative;
log-facility local2;
ping-check TRUE;
ping-timeout 3;
default-lease-time 180;
max-lease-time 360;
option dhcp6.name-servers
   2001:6b0:1d:42::11,
   2001:6b0:1d:42:206:5bff:fe3d:196b;
option dhcp6.domain-search "cnap.hv.se";
subnet6 2001:6b0:1d:42::/64 {
#  :42:: must exist, otherwice  No interfaces to listen on
   range6 2001:6b0:1d:42::20 2001:6b0:1d:42::FF;
   }
subnet6 2001:6b0:1d:17::/64 {
#  deny unknown-clients;
   range6 2001:6b0:1d:17::20 2001:6b0:1d:17::FF;
}
subnet6 2001:6b0:1d:1abb::/64 {
# connected to VLAN 13 - PCs in cisco-labrooms
#  deny unknown-clients;
# Bevare: Server use addresses ...::129 - 133
   range6 2001:6b0:1d:1abb::F00 2001:6b0:1d:1abb::FFF;
#ERROR wrong name --   option dhcpd6.router 2001:6b0:1d:1abb::1;
}

-----------------
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::c1f9:d832:85d1:d067
Client 00:01:00:01:12:3a:5d:8d:00:0d:56:28:fd:96 reports address
2001:6b0:1d:1abb::f2c is already in use by another host!
Sending Relay-reply to 2001:6b0:1d:42::1 port 547
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::51f9:9b2:bcb6:a127
Sending Relay-reply to 2001:6b0:1d:42::1 port 547
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::754a:e8e:b02c:1c96
Picking pool address 2001:6b0:1d:1abb::f43
Sending Relay-reply to 2001:6b0:1d:42::1 port 547
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::51f9:9b2:bcb6:a127
Picking pool address 2001:6b0:1d:1abb::f43
Sending Relay-reply to 2001:6b0:1d:42::1 port 547
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::7cb9:2202:893d:2526
Picking pool address 2001:6b0:1d:1abb::f43
Sending Relay-reply to 2001:6b0:1d:42::1 port 547
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::754a:e8e:b02c:1c96
Sending Relay-reply to 2001:6b0:1d:42::1 port 547
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::51f9:9b2:bcb6:a127
Sending Relay-reply to 2001:6b0:1d:42::1 port 547
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::7cb9:2202:893d:2526
Sending Relay-reply to 2001:6b0:1d:42::1 port 547
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::51f9:9b2:bcb6:a127
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!
Sending Relay-reply to 2001:6b0:1d:42::1 port 547
Relay-forward message from 2001:6b0:1d:42::1 port 547, link address
2001:6b0:1d:1abb::1, peer address fe80::7cb9:2202:893d:2526
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!
dhcpd: heap.c:198: isc_heap_delete: Assertion `index >= 1 && index <=
heap->last' failed.
./restart-dhcpd.sh: line 3: 26785 Aborted                 dhcpd eth0 -6
-d -cf /etc/dhcpd6.conf -lf ~imra/dhcpd6.leases
-----------------------
PLAYBACK
Internet Systems Consortium DHCP Server 4.1.1b2
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.
Wrote 0 leases to leases file.
subnet_number():inet.c:52: Addr/mask length mismatch.
----------
uname -a
Linux dev.null 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:20:55 EDT 2009
i686 i686 i386 GNU/Linux
----------
 ./dhcpd -6 -d -play ~imra/dhcpd6.tracefile -lf ~imra/robert
Internet Systems Consortium DHCP Server 4.1.1b2
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.
Wrote 0 leases to leases file.
subnet_number():inet.c:52: Addr/mask length mismatch.


 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090930/7cdcd286/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcpd.leasefile
Type: application/octet-stream
Size: 1116 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090930/7cdcd286/attachment.obj>


More information about the dhcp-users mailing list