DHCPv6 not working
-
I've been trying to set up ipv6 through a HE tunnel for the past day or so, and i seem to have everything working except the DHCP server.
Checking the system logs, i see this message
php: /services_dhcpv6.php: The command '/usr/bin/killall 'dhcpd -6'' returned exit code '1', the output was 'No matching processes were found'
followed bydhcpleases: Could not deliver signal HUP to process because its pidfile does not exist, No such process.
and```
php: /services_dhcpv6.php: The command '/usr/local/sbin/dhcpd -6 -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpdv6.conf -pf /var/run/dhcpdv6.pid em0' returned exit code '139', the output was 'Internet Systems Consortium DHCP Server 4.2.4-P2 Copyright 2004-2012 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/'In the dhcp logs, i get the output of the error above (the copyright messages) in addition to the regular (ipv4) dhcp lease messages, which are working fine. however, on my local network, my computers are getting ipv6 addresses, and they can connect to the ipv6 net… an ipv6 /all on an internal machine shows the following Microsoft Windows [Version 6.2.9200] © 2012 Microsoft Corporation. All rights reserved. C:\Users\####>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : ####### Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : ##### Ethernet adapter Ethernet: Connection-specific DNS Suffix . : ###### Description . . . . . . . . . . . : NVIDIA nForce 10/100/1000 Mbps Ethernet Physical Address. . . . . . . . . : 48-5B-39-##-##-## DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IPv6 Address. . . . . . . . . . . : 2001:470:8:5ed:aaaa:bbbb:cccc:dddd(Preferr ed) Temporary IPv6 Address. . . . . . : 2001:470:8:5ed:eeee:ffff:gggg:hhhh(Prefer red) Link-local IPv6 Address . . . . . : fe80::d012:e8e9:fea:1053%12(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.0.0 Lease Obtained. . . . . . . . . . : Monday, December 31, 2012 12:11:48 PM Lease Expires . . . . . . . . . . : Monday, December 31, 2012 2:11:49 PM Default Gateway . . . . . . . . . : fe80::20e:cff:fed9:2d10%12 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 256400185 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-F5-57-4F-48-5B-##-##-##-## DNS Servers . . . . . . . . . . . : 192.168.1.1 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter Teredo Tunneling Pseudo-Interface: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:iiii:jjjj:kkkk:llll(Pref erred) Link-local IPv6 Address . . . . . : fe80::1c38:158c:bcf7:a798%14(Preferred) Default Gateway . . . . . . . . . : DHCPv6 IAID . . . . . . . . . . . : 335544320 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-17-F5-57-4F-48-5B-##-##-##-## NetBIOS over Tcpip. . . . . . . . : Disabled Tunnel adapter isatap.#####.com: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes the external address showing up from test sites is the Temporary IPv6 Address... thank you for your time.
-
I have the excact same thing and errormessages. I cannot get an Address from dhcpv6.
When i enter on the Client the Ipv6 Address manual it can connect to the Internet with ipv6.Current version: 2.1-BETA1
NanoBSD Size : 4g
Built On: Tue Dec 18 12:15:38 EST 201Mfg.
Alessandro -
Can you try with latest snapshots?
-
@ermal:
Can you try with latest snapshots?
On the build of today 27/01/2013 and 26/01/2013 same issue on the build from 25/01/2013 no issues.
-
Can you show the contents of /var/dhcpd/etc/dhcpdv6.conf ?
I'm on a snap from yesterday evening and it's working fine for me.
-
@ermal:
Can you try with latest snapshots?
On the build of today 27/01/2013 and 26/01/2013 same issue on the build from 25/01/2013 no issues.
Save a copy of /tmp/rules.debug from the Jan 25th snap and then upgrade and compare it to one from a current snap. It's possible something has made it start blocking the DHCPv6 traffic for you for some reason.
-
@ermal:
Can you try with latest snapshots?
On the build of today 27/01/2013 and 26/01/2013 same issue on the build from 25/01/2013 no issues.
Save a copy of /tmp/rules.debug from the Jan 25th snap and then upgrade and compare it to one from a current snap. It's possible something has made it start blocking the DHCPv6 traffic for you for some reason.
Sorry I could not respond faster. Well for me that is not really an option because if I loose that Firewall then I loose my complete IPv6 network including some production part for which the firewall is the router between multiple /64 subnets.
So I did a downgrade the version of 25/01/2013 and all was solved while with the other 2 versions the error was the same as mentioned in the first message of this thread so no radv or dhcpv6 both exiting at startup.
Lucky a down grade works perfect so at least the interruption was solved before the next business day and people are able to work in a normal way.
-
OK, well then next time you get a chance, try it. If we don't get better info on how it broke, it will never get solved.