OPNsense Forum

English Forums => General Discussion => Topic started by: planetf1 on January 02, 2025, 04:53:55 PM

Title: Adding ULA
Post by: planetf1 on January 02, 2025, 04:53:55 PM
I am running opnsense 24.7.11_2 with dual stack ipv4/6.

My ISP allocates me a IPv6 prefix, and all clients correctly generate a fully routable ipv6 address using SLAAC.

However this prefix can change, and I want to be able to use a stable IPv6 address internally to, for example, connect to DNS or other servers.

I'm unsure what I need to change in opnsense to get the clients to also generate a ULA address. Ideally this would also use SLAAC rather than going down the route of using DHCPv6

Thanks!
Title: Re: Adding ULA
Post by: dseven on January 02, 2025, 05:09:55 PM
Add a Virtual IP to your LAN (or whatever) interface, with a ULA (fdxx:x:x:x::x/64), and configure Router Advertisements for that interface with an appropriate mode (e.g. Unmanaged). Seems to work for me.
Title: Re: Adding ULA
Post by: planetf1 on January 02, 2025, 05:38:20 PM
Quote from: dseven on January 02, 2025, 05:09:55 PMAdd a Virtual IP to your LAN (or whatever) interface, with a ULA (fdxx:x:x:x::x/64), and configure Router Advertisements for that interface with an appropriate mode (e.g. Unmanaged). Seems to work for me.

Thanks! That was easy once you know what to do.

Working great :-)