Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
DHCPv6 ipv6 - static mappings [solved]
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: DHCPv6 ipv6 - static mappings [solved] (Read 7827 times)
RamSense
Hero Member
Posts: 594
Karma: 10
DHCPv6 ipv6 - static mappings [solved]
«
on:
December 01, 2021, 07:48:31 pm »
My ISP has just enabled ipv6.
I followed this guide:
https://homenetworkguy.com/how-to/configure-ipv6-opnsense-with-isp-such-as-comcast-xfinity/
and all works and I have ipv6.
under Services - DHCPv6 - leases I can see some devices and make lease type static. But why are not all ipv6 devices showing up? When I look in AdGuard Home I can see the other devices working and dns queries, but they do not automatically show up in opnsense-services-DHCPv6. Is this a bug? Or what do I have to do?
«
Last Edit: December 06, 2021, 08:19:50 am by RamSense
»
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: DHCPv6 ipv6 - static mappings
«
Reply #1 on:
December 01, 2021, 08:47:07 pm »
You’re probably seeing SLAAC generated addresses - for devices that are also receiving DHCPv6 addresses, and for devices that are not (eg Android devices)
Logged
RamSense
Hero Member
Posts: 594
Karma: 10
Re: DHCPv6 ipv6 - static mappings
«
Reply #2 on:
December 01, 2021, 09:21:37 pm »
Can there be SLAAC generated addresses while I have set opnsense to [track interface]?
under opnsene-interfaces-lan-IPv6 Configuration Type -> Track interface
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: DHCPv6 ipv6 - static mappings
«
Reply #3 on:
December 01, 2021, 09:29:20 pm »
What mode is set under services/router advertisements?
Logged
RamSense
Hero Member
Posts: 594
Karma: 10
Re: DHCPv6 ipv6 - static mappings
«
Reply #4 on:
December 01, 2021, 09:34:47 pm »
Router Advertisements is set to [managed]
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: DHCPv6 ipv6 - static mappings
«
Reply #5 on:
December 01, 2021, 09:43:10 pm »
OK. That should mean DHCPv6 only. You can check on clients that they only have the DHCPv6 address and no other IPv6 address except for link-local
It’s also possible that until you set that RA setting, clients generated SLAAC addresses (by default OPN does SLAAC unless you change it) and they have not yet been deprecated. If a client has SLAAC addresses you can test this by rebooting it - the SLAAC addresses should go away
Otherwise I’m not sure what you are observing because my setup is SLAAC only (plus DNS records)
Logged
RamSense
Hero Member
Posts: 594
Karma: 10
Re: DHCPv6 ipv6 - static mappings
«
Reply #6 on:
December 01, 2021, 09:48:41 pm »
thnx. sounds like a possibility. I will reboot some devices and opnsense to see what happens...
Logged
RamSense
Hero Member
Posts: 594
Karma: 10
Re: DHCPv6 ipv6 - static mappings
«
Reply #7 on:
December 02, 2021, 07:51:45 am »
I did reboot opnsense yesterday and waited until today to boot a laptop to see what happens.
And indeed, the laptop did show up in DHCPv6! so I will do that with other devices also. thnx for the depreciated hint.
I also noticed that with the reboot of opnsense my wan ipv4 stayed the same as normal. But my ipv6 did change.
Than I remembered the guide:
https://homenetworkguy.com/how-to/configure-ipv6-opnsense-with-isp-such-as-comcast-xfinity/
interfaces - WAN - prevent release (see the attached picture from that guide website)
I can not find that setting on interfaces - wan page. Where is this setting now?
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: DHCPv6 ipv6 - static mappings
«
Reply #8 on:
December 02, 2021, 08:35:49 am »
Looks like it has been removed recently? Not sure exactly which version
Not sure it would help you much if your ISP stupidly changes your prefix regularly tho
Logged
RamSense
Hero Member
Posts: 594
Karma: 10
Re: DHCPv6 ipv6 - static mappings [solved]
«
Reply #9 on:
December 02, 2021, 08:40:45 am »
humm... ok. well I'll keep a watch on this setting and hoping it will show up again with the next update of opnsense :-)
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: DHCPv6 ipv6 - static mappings [solved]
«
Reply #10 on:
December 02, 2021, 08:55:58 am »
You'll find the 'no release' option in Intefaces->Settings. You'll need to reboot after you save and apply.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
RamSense
Hero Member
Posts: 594
Karma: 10
Re: DHCPv6 ipv6 - static mappings [solved]
«
Reply #11 on:
December 02, 2021, 08:58:16 am »
@Marjohn56: Thanks. Found it!
Logged
RamSense
Hero Member
Posts: 594
Karma: 10
Re: DHCPv6 ipv6 - static mappings [solved]
«
Reply #12 on:
December 02, 2021, 07:52:03 pm »
---
«
Last Edit: December 05, 2021, 08:26:30 am by RamSense
»
Logged
RamSense
Hero Member
Posts: 594
Karma: 10
Re: DHCPv6 ipv6 - static mappings [re-opened]
«
Reply #13 on:
December 05, 2021, 08:29:29 am »
I have IPV6 running and added the devices with the static option.
But now I noticed that the devices added to static works fine on that day, and the next day it does not get its IPV6 ip anymore......
Removing the device from static list to add again did not work, device did not get ipv6 (MacBook Pro)
I finally decided to reboot opnsense, and than ipv6 worked again. The removed device got its ipv6 ip back (although not added as static anymore) and received the same ipv6 ip as before. The static iPhones got an ipv6 fe80:. than on the iPhones After setting wifi off and on again it got its static ipv6 ip again also.
The Synology NAS got its static ipv6 ip again...
How is it that opnsense IPV6 stops working after a day? Others having problems with this? How to solve? Or has it to do with the static ipv6? config error? To me it looks like a bug in opnsense or FreeBSD
Thanks in advance for the help!
«
Last Edit: December 05, 2021, 10:56:58 am by RamSense
»
Logged
marjohn56
Hero Member
Posts: 1701
Karma: 179
Re: DHCPv6 ipv6 - static mappings [re-opened]
«
Reply #14 on:
December 05, 2021, 11:39:39 am »
This, we are pretty certain is an issue with FreeBSD12 and IPv6 multicast, it's been a pain in the a**** all the time we've been on FreeBSD12. Hopefully the move to FreeBSD13 in 22.1 will see the end of it. Currently the only solution appears to be a Cron event to restart dhcpdv6 and radvd every 12 hours or so. It doesn't happen every day and my system may run for a week or more without the issue appearing but sure as night follows day, it will happen at some point.
Franco spent a lot of time trying to resolve this, and did improve it, but sadly did not solve it.
Logged
OPNsense 24.7
-
Qotom Q355G4
- ISP -
Squirrel 1Gbps
.
Team Rebellion Member
- If we've helped you remember to applaud
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
DHCPv6 ipv6 - static mappings [solved]