OPNsense Forum

English Forums => General Discussion => Topic started by: circa1665 on December 30, 2023, 05:14:10 PM

Title: Dynamic IPv6 Host Alias Question
Post by: circa1665 on December 30, 2023, 05:14:10 PM
Hi, I'm based in the UK and my ISP is Community fibre, as far as I'm aware my IPv6 IP address is dynamic.

WAN IPv6 configuration is as follows:

IPv6 Configuration Type: DCHPv6

DHCPv6 client configuration

Prefix delegation size: 48
Send IPv6 prefix hint: ☑︎


LAN IPv6 configuration is as follows:

Track IPv6 Interface

IPv6 Interface: WAN
IPv6 Prefix ID: 0
☑︎ Allow manual adjustment of DHCPv6 and Router Advertisements



I'm trying to create a Dynamic IPv6 Host Alias to use in a firewall rule, as I understand that if the prefix supplied by my ISP changes all my LAN IPs will change too.

I've checked out the documentation here https://docs.opnsense.org/manual/aliases.html#dynamic-ipv6-host (https://docs.opnsense.org/manual/aliases.html#dynamic-ipv6-host)

I'm a complete novice when it comes to IPv6, so apologies in advance. I understand that I need to "enter only the suffix of the address ... the lower 64 bits of the address" however my IP doesn't seem to match the format of the examples given:

E.g. Example IP: 2a02:1234:5678:0000:aaaa:bbbb:cccc:0001
The Dynamic IPv6 Host Alias for this would be: ::aaaa:bbbb:cccc:0001

My IP looks like: 2a02:XXXX:XXXX:0:230:XXXX:XXXX:XXXX
I've tried the following for the Dynamic IPv6 Host Alias, but my firewall rule doesn't work unless I enter the full IP :/
::230:XXXX:XXXX:XXXX
::0:230:XXXX:XXXX:XXXX

Any help appreciated!


Title: Re: Dynamic IPv6 Host Alias Question
Post by: MoonbeamFrame on December 30, 2023, 05:23:32 PM

Have you looked at ISPreview or ThinkBroadband, both have threads on Community Fibre?

Title: Re: Dynamic IPv6 Host Alias Question
Post by: circa1665 on December 30, 2023, 06:57:56 PM
Thanks, yep but I couldn't find anything in regards to Dynamic IPv6 Host aliases.
Title: Re: Dynamic IPv6 Host Alias Question
Post by: MoonbeamFrame on December 30, 2023, 07:51:16 PM
I saw a few references from a search of "Community Fibre"

One mentioned that a static IPv4 address impacts IPv6, another that talked about different IPv6 allocations after ~7 days and another thread about using 3rd party routers.

They may not be relevant today, but they may be useful.