OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: laurens on June 01, 2023, 05:16:38 pm

Title: ipv6 gateway points to loopback
Post by: laurens on June 01, 2023, 05:16:38 pm
I'm trying to migrate from pfSense, where I had ipv6 working.
I had it also working on OPNsense at some point, but I'm unsure what I changed to break it.

My clients get a IPv6.
They get bot a IPv4 and a IPv6 DNS (pointing to OPNsense).

But the IPv6 gateway points to the loopback?

I can get the ipv6 IP of a hostname, I can ping -6 the router, but not an external host.
Which makes sense if the gateway is wrong.

I don't understand why I got two extra gateways and why I can't delete them.
Those point to fe80, so maybe that's the root cause?



How can I get it to have the router as a gateway?
Title: Re: ipv6 gateway points to loopback
Post by: franco on June 01, 2023, 09:41:50 pm
> But the IPv6 gateway points to the loopback?

Assuming you mean link-local... I don't know which link local address the router endpoint of your client network has but it looks reasonable from the client side it wants to push traffic to the link local destination on that link likely obtained via SLAAC and this part is correct if you can ping the router via IPv6. ;)

Try a client side page like https://test-ipv6.com/ or https://ipv6-test.com/ to debug this further... manual assessment "it doesn't work" is too vague...

Cheers,
Franco
Title: Re: ipv6 gateway points to loopback
Post by: laurens on June 01, 2023, 09:57:16 pm
I seem to fix it by setting DHCPv6 to None and back to DHCPv6.
I went from 3 to 2 gateways with exact the same settings.

It may have been caused by changing my hardware interface behind the WAN?

All general IPv6 sites gives OK now. https://ipv6-test.com/ gives different results each time. Maybe it's a bit overloaded and get time-outs.
Title: Re: ipv6 gateway points to loopback
Post by: franco on June 01, 2023, 10:15:38 pm
That could be, at least it sounds consistent. I prefer https://test-ipv6.com/ -- the other site tries to tell me too much and I've never reached 20/20 personally yet I don't care much for what it tries to tell me. ;)


Cheers,
Franco