Hi, I am quite new to OPNsense. I first started using it maybe earlier this year. At first I didn't use IPv6, then I learnt heaps about it and even transitioned to running an IPv6 only network with Tayga and DHCP option 108. My Unbound never worked/any other DNS servers and would keep restarting, never knew why, so I just didn't run a DNS server on the router. This was probably because of this issue looking back on it, since the IPv6 address kept changing/restarting.
OPNsense seems to keep requesting/renewing its IPv6 DHCP from my ISP. I have browsed the forums and found that my ISP (Starlink) seems to have a lot of issues with IPv6.
I'm not 100% sure where I can get all the logs from, but here are my general logs from the UI dashboard:
Note: Changed my IPv6 addresses to use `2001:db8` for lan interface/56 prefix and `2001:db9` for my WAN IP.
```
2025-05-09T13:02:37 Notice dhclient dhclient-script: Creating resolv.conf
2025-05-09T13:02:37 Notice dhclient dhclient-script: Reason RENEW on em0 executing
2025-05-09T13:01:47 Notice dhcp6c got an expected reply, sleeping.
2025-05-09T13:01:47 Notice dhcp6c script "/var/etc/dhcp6c_wan_script.sh" terminated
2025-05-09T13:01:47 Notice dhcp6c dhcp6c_script: RENEW on em0 executing
2025-05-09T13:01:47 Notice dhcp6c executes /var/etc/dhcp6c_wan_script.sh
2025-05-09T13:01:47 Notice dhcp6c removing an event on em0, state=RENEW
2025-05-09T13:01:47 Notice dhcp6c update a prefix 2001:db8::/56 pltime=150, vltime=300
2025-05-09T13:01:47 Notice dhcp6c update an IA: PD-0
2025-05-09T13:01:47 Notice dhcp6c nameserver[1] 2606:4700:4700::1111
2025-05-09T13:01:47 Notice dhcp6c nameserver[0] 2001:4860:4860::8888
2025-05-09T13:01:47 Notice dhcp6c Received REPLY for RENEW
2025-05-09T13:01:47 Notice dhcp6c get DHCP option DNS, len 32
2025-05-09T13:01:47 Notice dhcp6c IA_PD prefix: 2001:db8::/56 pltime=150 vltime=300
2025-05-09T13:01:47 Notice dhcp6c get DHCP option IA_PD prefix, len 25
2025-05-09T13:01:47 Notice dhcp6c IA_PD: ID=0, T1=75, T2=120
2025-05-09T13:01:47 Notice dhcp6c get DHCP option IA_PD, len 41
2025-05-09T13:01:47 Notice dhcp6c DUID: 00:02:00:00:c7:10:00:00:00:93
2025-05-09T13:01:47 Notice dhcp6c get DHCP option server ID, len 10
2025-05-09T13:01:47 Notice dhcp6c DUID: 00:01:00:01:2f:37:8f:24:b8:ae:ed:76:42:cb
2025-05-09T13:01:47 Notice dhcp6c get DHCP option client ID, len 14
2025-05-09T13:01:47 Notice dhcp6c receive reply from 2001:db9::1 on em0
2025-05-09T13:01:46 Notice dhcp6c send renew to ff02::1:2%em0
2025-05-09T13:01:46 Notice dhcp6c set IA_PD
2025-05-09T13:01:46 Notice dhcp6c set IA_PD prefix
2025-05-09T13:01:46 Notice dhcp6c set option request (len 4)
2025-05-09T13:01:46 Notice dhcp6c set elapsed time (len 2)
2025-05-09T13:01:46 Notice dhcp6c set server ID (len 10)
2025-05-09T13:01:46 Notice dhcp6c set client ID (len 14)
2025-05-09T13:01:46 Notice dhcp6c a new XID (47c60d) is generated
2025-05-09T13:01:46 Notice dhcp6c Sending Renew
2025-05-09T13:01:46 Notice dhcp6c reset a timer on em0, state=RENEW, timeo=0, retrans=10540
2025-05-09T13:01:46 Notice dhcp6c IA timeout for PD-0, state=ACTIVE
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : wireguard_sync())
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : webgui_configure_do(,[wan,lan]))
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : vxlan_configure_do())
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : unbound_configure_do(,[wan,lan]))
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : openssh_configure_do(,[wan,lan]))
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : opendns_configure_do())
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : ntpd_configure_do())
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (execute task : dhcrelay_configure_if(,[wan,lan],inet6))
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure newwanip (,[wan,lan],inet6)
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : wireguard_configure_do())
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : openvpn_configure_do(,[wan,lan]))
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (execute task : ipsec_configure_do(,[wan,lan]))
2025-05-09T13:00:36 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure vpn (,[wan,lan],inet6)
2025-05-09T13:00:35 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (execute task : dpinger_configure_do(,[WAN_DHCP6]))
2025-05-09T13:00:35 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure monitor (,[WAN_DHCP6])
2025-05-09T13:00:35 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: keeping inet6 default route to fe80::200:5eff:fe00:101%em0
2025-05-09T13:00:35 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: configuring inet6 default gateway on wan
2025-05-09T13:00:35 Notice opnsense /usr/local/etc/rc.newwanipv6: ROUTING: entering configure using wan, lan
2025-05-09T13:00:35 Warning radvd exiting, 1 sigterm(s) received
2025-05-09T13:00:35 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure dhcp (execute task : radvd_configure_dhcp(,inet6))
2025-05-09T13:00:35 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure dhcp (execute task : dhcpd_dhcp_configure(,inet6))
2025-05-09T13:00:35 Notice opnsense /usr/local/etc/rc.newwanipv6: plugins_configure dhcp (,inet6)
2025-05-09T13:00:35 Notice opnsense /usr/local/etc/rc.newwanipv6: IP renewal starting (address: fe80::baae:edff:fe76:42cb%em0, interface: wan, device: em0)
2025-05-09T13:00:32 Notice dhcp6c got an expected reply, sleeping.
```
These are from gateway monitoring:
```
2025-05-09T13:13:46 Warning dpinger send_interval 1000ms loss_interval 4000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 0ms loss_alarm 0% alarm_hold 10000ms dest_addr fe80::200:5eff:fe00:101%em0 bind_addr fe80::baae:edff:fe76:42cb%em0 identifier "WAN_DHCP6 "
2025-05-09T13:13:46 Warning dpinger exiting on signal 15
2025-05-09T13:12:57 Warning dpinger send_interval 1000ms loss_interval 4000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 0ms loss_alarm 0% alarm_hold 10000ms dest_addr fe80::200:5eff:fe00:101%em0 bind_addr fe80::baae:edff:fe76:42cb%em0 identifier "WAN_DHCP6 "
2025-05-09T13:12:57 Warning dpinger exiting on signal 15
2025-05-09T13:12:56 Warning dpinger send_interval 1000ms loss_interval 4000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 0ms loss_alarm 0% alarm_hold 10000ms dest_addr fe80::200:5eff:fe00:101%em0 bind_addr fe80::baae:edff:fe76:42cb%em0 identifier "WAN_DHCP6 "
2025-05-09T13:12:56 Warning dpinger exiting on signal 15
2025-05-09T13:12:53 Warning dpinger send_interval 1000ms loss_interval 4000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 0ms loss_alarm 0% alarm_hold 10000ms dest_addr fe80::200:5eff:fe00:101%em0 bind_addr fe80::baae:edff:fe76:42cb%em0 identifier "WAN_DHCP6 "
2025-05-09T13:12:53 Warning dpinger exiting on signal 15
2025-05-09T13:12:52 Warning dpinger send_interval 1000ms loss_interval 4000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 0ms loss_alarm 0% alarm_hold 10000ms dest_addr fe80::200:5eff:fe00:101%em0 bind_addr fe80::baae:edff:fe76:42cb%em0 identifier "WAN_DHCP6 "
2025-05-09T13:12:52 Warning dpinger exiting on signal 15
2025-05-09T13:12:16 Warning dpinger send_interval 1000ms loss_interval 4000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 0ms loss_alarm 0% alarm_hold 10000ms dest_addr fe80::200:5eff:fe00:101%em0 bind_addr fe80::baae:edff:fe76:42cb%em0 identifier "WAN_DHCP6 "
2025-05-09T13:12:16 Warning dpinger exiting on signal 15
2025-05-09T13:00:35 Warning dpinger send_interval 1000ms loss_interval 4000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 0ms loss_alarm 0% alarm_hold 10000ms dest_addr fe80::200:5eff:fe00:101%em0 bind_addr fe80::baae:edff:fe76:42cb%em0 identifier "WAN_DHCP6 "
2025-05-09T13:00:35 Warning dpinger exiting on signal 15
2025-05-09T13:00:24 Warning dpinger send_interval 1000ms loss_interval 4000ms time_period 60000ms report_interval 0ms data_len 1 alert_interval 1000ms latency_alarm 0ms loss_alarm 0% alarm_hold 10000ms dest_addr fe80::200:5eff:fe00:101%em0 bind_addr fe80::baae:edff:fe76:42cb%em0 identifier "WAN_DHCP6 "
2025-05-09T13:00:24 Warning dpinger exiting on signal 15
```
There are also these from dmesg:
```
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: 3 link states coalesced
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: 3 link states coalesced
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: 3 link states coalesced
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: 3 link states coalesced
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
ue0: 4 link states coalesced
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
ue0: link state changed to DOWN
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
ue0: 2 link states coalesced
ue0: link state changed to UP
```
You can see the LAN interface go up and down up and down.
This makes me IPv6 only network loose IP's on my wifi and disconnect from the AP. Very annoying.
At first I thought it was something to do with RA's so I went down that rabbit hole.
I'm more than happy enough to share any other logs from my router but I just need to know where to find them.
**Things I have tried**
- Trying this out from the forums: https://forum.opnsense.org/index.php?topic=41160.45 where you install a different version of dhcp6c `pkg add -f https://pkg.opnsense.org/FreeBSD:13:amd64/snapshots/misc/dhcp6c-20240607_1.pkg` but this package doesn't exist anymore, furthermore, it looks like this was already changed in the OPNsense latest versions.
- Turning on/off gateway monitoring
- Turning off the blocking of bogon and private networks on my WAN interface, as per https://github.com/opnsense/core/issues/8587
- Changing my my dhcp6c_wan.conf prefix from `prefix ::/56 infinity;` to `prefix ::/56 86400 172800;`
- Turning on/off all the hardware accel interface settings in `Interfaces > Settings` as well as the `Prevent release` option
For now I have moved my network back from IPv6-only to a dual stack and the connections issues stopped, but I would like to resolve this issue so I can run my IPv6-only/NAT64 network as well as run DNS servers on OPNsense again.
Type opnsense
Version 25.1.6_2
Architecture amd64
Commit 7918189f3
Mirror https://pkg.opnsense.org/FreeBSD:14:amd64/25.1
Repositories OPNsense (Priority: 11), mimugmail (Priority: 5)
Updated on Fri May 9 12:17:55 AEST 2025
Checked on N/A
You did post it in the wrong place (it's showing under Tutorials and FAQs).
I found it because I'm researching a similar scenario.
Maybe repost it under General Discussion and then delete this one.
FWIW, the support for NICs in FreeBSD is somewhat problematic for RealTek NICs, WiFi, USB and probably also mobile thethering adapters (ue0 seems to be one of those). I have no experience with any of those, but I think it may be a driver problem.
When you ask Google for "opnsense ue0", you will find many postings over the last few years that seem to exactly describe the problem you are having. There was also a Github issue on that (https://github.com/opnsense/src/issues/180). Maybe, disabling ASPM or USB power saving might work, but I doubt it.
Ah. Thank you for the extra set of eyes.
I looked at all the possible software explanations apart from my hardware.
Yes I am running a USB ethernet adapter for my LAN interface. I did think it was weird that my interface was constantly going up and down all the time.
I also have no idea how to delete a post from this site.