Using static local IPv4, how to get a public IPv6 address too?

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.

Thanks.

Unless the ISP gives you one, you’ll need to use something like Hurricane Electric and proxy through them. It’s pretty slow though.

OpenWrt:

Turris Omnia:
Turris Omnia

I think you should set OpenWrt lan prefix as 60.

1 Like

“IPv6 Assignment length”? I tried that. No change.

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.

2 Likes

It works!
Thank you!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.