OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: hbc on November 30, 2018, 05:01:23 pm

Title: DHCPv6 does not reply with lease
Post by: hbc on November 30, 2018, 05:01:23 pm
Dear all,

I cannot get ISC dhcpv6 to assign leases to clients.


dhcpv6 is running
Code: [Select]
Nov 30 16:41:34 hbc-gw01 dhcpd: Listening on Socket/7/lagg0_vlan2058/2001:xxxx:xxxx:2058::/64
Nov 30 16:41:34 hbc-gw01 dhcpd: Sending on   Socket/7/lagg0_vlan2058/2001:xxxx:xxxx:2058::/64

the request is coming

Code: [Select]
#> tcpdump -i lagg0_vlan2058 ip6
16:42:17.470232 IP6 fe80::fd23:a211:46b2:7057.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
16:42:18.474917 IP6 fe80::fd23:a211:46b2:7057.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
16:42:20.480535 IP6 fe80::fd23:a211:46b2:7057.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
16:42:24.483401 IP6 fe80::fd23:a211:46b2:7057.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
16:42:32.483771 IP6 fe80::fd23:a211:46b2:7057.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
16:42:48.491134 IP6 fe80::fd23:a211:46b2:7057.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit
16:43:20.499374 IP6 fe80::fd23:a211:46b2:7057.dhcpv6-client > ff02::1:2.dhcpv6-server: dhcp6 solicit

The requests passes the rules (I had to disable the bogus network option, since ff02:: gets blocked by it)
Code: [Select]
LAN Nov 30 16:42:17 fe80::fd23:a211:46b2:7057 ff02::2 ICMPv6         IPv6 requirements (ICMP)
LAN Nov 30 16:42:17 [fe80::fd23:a211:46b2:7057]:546 [ff02::1:2]:547 UDP allow access to DHCPv6 server on LAN

But then no reply by server. I know ff00::8 is ip6-multicast, but since I sniff on fire wall interface directly and I get this request, no multcast security like mld snooping blocks it. The requests gets to my lagg0 interface on my firewall, but the dhcp server does not seem to reply.
There is no log entry about a lease and no reply paket.

Do you have any ideas, suggestions why this happens?

I have the same issue on a pfsense. Two interfaces work with dhcpv6 server, one won't (same settings on every interface, dhcp-server and vlan).

Now I migrate to opnsense and add the first network with ip6 - same issue. What am I doing wrong?
Title: Re: DHCPv6 does not reply with lease
Post by: GDixon on November 30, 2018, 06:08:31 pm
Hi,

It's a common problem try this link and see if it helps

https://forum.opnsense.org/index.php?topic=10347.0

worth a try?