OPNsense Forum

English Forums => General Discussion => Topic started by: coalbl4ck on March 30, 2022, 09:35:32 PM

Title: IPv6 Configuration Type - LAN
Post by: coalbl4ck on March 30, 2022, 09:35:32 PM
Hi,

i am slowly getting into IPv6 and trying to set it up the first time.
Now, i was watching a tutorial where the IPv6 Configuration Type for the LAN Interface was set to static.

Now, what would be a reason for this?

As far as i understand the Track Interface option, carries the Network-Prefix over to the LAN side (which is necessary because no NAT).
So it might workout if the WAN IPv6 Configuration Type is SLAAC, but fails with DHCPv6.
It just seems like an unnecessary risk.
Title: Re: IPv6 Configuration Type - LAN
Post by: Patrick M. Hausen on March 30, 2022, 11:26:00 PM
If you are an ISP or have a business type contract for your DSL line, you might get a static prefix. In my case I have a /56 at home ("business" DSL) and a /32 In my data centre as a RIPE member and ISP. So why not pick a /64 from that assignment according to your addressing plan and configure statically?
Title: Re: IPv6 Configuration Type - LAN
Post by: franco on March 31, 2022, 08:32:44 AM
As discussed elsewhere not too long ago dynamic address assignments always carry the risk of introducing intermittent connectivity issues due to the nature of the approach and complexity of the code and communication involved.

Best practice: if you have a static assignment use it.


Cheers,
Franco
Title: Re: IPv6 Configuration Type - LAN
Post by: coalbl4ck on March 31, 2022, 12:16:36 PM
Thanks for both answers.

Makes total sense now! :)

Cheers!