Services: DHCPv6: Leases are not showing.

Started by IsaacFL, August 01, 2023, 06:22:42 AM

Previous topic - Next topic
No need to mess with PHP files.

Just run the following via an SSH connection (or serial):

opnsense-patch 23318015b 4ec97df4c

Also having the same issues as others reported with the patches. I see leases now but they are all offline except the static ones.

We are aware of the display issues, but currently working on improving the axgbe driver. We expect to look into this next week as it seems to be of cosmetic nature.


Cheers,
Franco

Agree Franco. It is cosmetic. I have no issues IPv6 connectivity on any of my networks.

Devices showing as offline, missing interfaces and general readability issues should be addressed in:

https://github.com/opnsense/core/commit/a2b9144233df873c24ec3360267499b41bbe6444
https://github.com/opnsense/core/commit/c605175d85b7b6f9a70e9adbb2eedac8f85ba022
https://github.com/opnsense/core/commit/a88fae84f6c670e57545bdce3b752f5c43391b64

If you want to test:

# opnsense-patch a2b914423 c605175d8 a88fae84f

Cheers,
Stephan

I still see the problem in 23.7.2. I'm not able to undertand from github if it's supposed to be included in 23.7.2 or if the patch command is still required?

No patches required. Can you share a screenshot from 23.7.2?


Cheers,
Franco

Attached. There a single static lease displayed.

DHCPv6 is running, I have radv set to "assisted" and a virtual IP fd00:1::
Devices on the network are correctly getting all their IPv6 as far as I can tell (ULA, GUA, link local...)
DHCPv6 is using a static range because my ISP does give me a static prefix but has some weird issues whereby I sometime get a /64 only, sometime /62, sometime even /56. Additionally, it allows the GUA to stick even if WAN is down (I'm not entirely confident yet in my fd00:1: ULA addressing and how often some client will decide to switch IP...).

Can you check if we actually have leases to display?

# cat /var/dhcpd/var/db/dhcpd6.leases


Cheers,
Franco

Yes, there are 11 DHCPv6 leases in "binding state active".

iaaddr is within the range I specified for DHCPv6 each time. Do you need more details?

If you could share the file that would likely make it easy to spot the issue locally. Send to franco AT opnsense DOT org if you can.


Thanks,
Franco

I pasted the entire content in a PM. Let me know if that works.

Thanks, we're taking a look.


Cheers,
Franco

Can you try

# opnsense-patch fb2d2f6

Might've been a spacing issue, but this would require isc-dhcpd to suddenly deviate from the usual format. If this doesn't solve the issue I'll likely need the original file (not a paste) to be able to reproduce it.

Cheers,

Stephan

Nice! That worked, I see the DHCPv6 leases now.

Thank you!