Hello, I'm new to OpenWrt and networking stuff, so please forgive me if I use the wrong word/jargon.
So I'm using an x86 mini PC (without a wireless card) as an OpenWrt router and trying to extend the internet to a Deco x20 router as a wifi AP.
As I'm using a Japanese ISP with a v6plus (v6プラス) connection, I followed some Japanese blogs as a guide to make the v6plus work. But I'm not sure if that configuration is messing with the internet connection on the Deco router because if I'm using a PPPoE connection the internet is working fine on the Deco router but the speed is slower without the v6plus connection.
Here is my topology to describe what I'm doing right now:
welcome to this forum.
I persume eth0 is the connection between Internet and the OpenWrt PC.
Within your config the Deco X20 is on eth2, in the drawing it's eth1?
Also in your config: br-lan has port eth3, where or what is that? Should that not be eth2?
I don't understand why you use: config interface 'wanmap'
As far as I can see you only need eth0 (WAN) and 2 eth ports in br-lan (eth1 and eth2, LAN) in your config.
IoT router and Deco X20 are 'clients' of main OpenWrt PC. Deco X20 is wifi AP for other devices.
Why not use the Deco X20 as (AP) repeater? It's wan connection to an ethernet port on OpenWrt PC.
Like the other (IoT) router on the other ethernet port on OpenWrt PC.
All clients will get into the same LAN. Deco X20 has to pass-through dhcp requests to OpenWrt PC.
I'm not sure what v6plus is. Generally with modern equipment (no need for legacy support) you should run a direct v6 network with your endpoints receiving an IPv6 within the ISP's prefix. V4 only sites should be handled either dual stack or with NAT64 / 464xlat on the ISP end (to your endpoints, they are considered IP6 sites) The Deco network needs to be confgured with an ip6assign. As there are no further routers (see below), use 64 for this value.
The Deco system should be in AP or bridge mode, not acting as a router. This can be checked by checking that the IP addresses on the wifi devices have been issued by the OpenWrt x86 and appear in its (IPv4) DHCP lease table.
I can tell why, because I am also living in Japan and trying to deal with the complicated IPv6 things from ISP.
NTT providers are using something they called IPoE, to provide IPv6 communication including the compatibility with IPv4, if we only configure WAN6 then only v6 communication can be done (all v4 only websites will not be able to connect). So they have different way to encapsulate the IPv4 packets, they are DS-LITE/Transix/MAP-E, and OP's provider is using MAP-E which needs to create a MAP interface for IPv4 connectivity.
I believe he's trying to copy those settings from different Japanese websites but the information is not complete, as a result he couldn't make it work.
Looking at your config, sounds like your provider also uses MAP-E as tunnel, recently I found a way to do it in OpenWrt without the need of ISP router, please try if my following guide works for you.