I have a main OpenWrt router connected to the internet. It delegates IPv6 addresses via RA. Desktop clients work. The IPv4 local network uses static addresses.
I added a Turris Omnia as a switch in the local LAN. It uses a static IPv4 address for it’s bridge/switch part. The WAN port is connected to an isolated PC. It acts as a router/firewall for the isolated PC only.
I wish for the bridge/switch interface to have a public IPv6 address too. How do I configure it to get a public IPv6 address from the OpenWrt router?
I already enabled “IPv6 assignment length”=64, but it only gets a local IPv6.
If your IPv6 prefix from your OpenWRT router is stable, just pick an address from that range and set it up statically on the bridge interface of Omnia.
If the IPv6 prefix changes regularly, set up LAN interface to use DHCPv6 client - that one is responisble for both DHCPv6 as well as RA. Since you would also need a static configuration for IPv4, you might need to create an alias interface - the same way OpenWRT in default config has wan and wan6 alias interface to be able to run both DHCP and DHCPv6 client at the same time.