Adding virtual IP takes gateway offline

Started by 9axqe, May 02, 2023, 07:56:45 AM

Previous topic - Next topic
Hello all,

I'm very new to opnsense, just bought an opnsense branded hardware and I'm trying to set it up to suit my home office / lab requirements.

I have a Wireguard tunnel to a VPN provider which works fine on IPv4 (IPv6 is not working, but that's a different issue I think). There is a gateway set up with monitoring in place, pointed at a google DNS server. I used these steps to set it up:
https://docs.opnsense.org/manual/how-tos/wireguard-selective-routing.html

Now to my strange problem: I wanted ULA on the LAN interface, so I created a virtual IPv6 fd00::0/64.

So far so good.

But if I reboot, the above mentioned gateway goes offline. I have repeated this 3 times:


  • add virtual IP fd00::0/64 on LAN, apply
  • Wireguard VPN gateway is still online
  • reboot
  • Wireguard VPN gateway is now offline
  • remove virtual IP fd00::0/64 on LAN, apply
  • Wireguard VPN gateway is still offline
  • reboot
  • Wireguard VPN gateway is now online

Is there any specific logs I should be looking at to troubleshoot this?

Don't know what happened, that gateway should never have come online, the wrong IPv6 was configured on the Wireguard interface... Problem solved now.