xxxxxxxxxxxx
xx xx
xx xx
xxx xx ┌──────────┐ ┌──────────┐ ┌──────────┐
xx xx Wire │ │ wifi relay │ │ wifi relay │ │
x Internet xx────────────┤ Router 1 ├─────────────┤ Router 2 ├─────────────┤ Router 3 │
xxx xxxx WAN│ SSID1 │ │ SSID2 │ │ SSID3 │
x xx └──────────┘ └──────────┘ └──────────┘
xxx xx
xx xx
x xxxx x
xxxxx xxxxx
This works great for IPv4, but now I'd like to enable IPv6, and unfortunately relayd doesn't have support for it.
Is there any dual stack supported configuration for such a topology?
--
repeater effect applies, same as with relayd or mesh (at least if the 3rd router can't see the 1st one and must pass its data through the 2nd) though,
There might indeed be an issue with the valid interface combinations on the second router, well - that probably needs testing.
In general, the WDS/ 4addr setup is transparent to IPv6, it 'just works' (even if the routers don't necessarily have an IPv6 address of their own (a lan6 interface with @lan and dhcpv6 can add that), the IPv6 traffic passes through unhindered).
The router in the middle would run both a client to receive from the first router and an AP to transmit to the third router. This is supported by most wifi chips and drivers although on 5 GHz usually it has to be a non-DFS channel.
If you use the same SSID for all the links also set BSSID on each STA to enforce it connecting to the proper AP, so the network doesn't end up in a loop that doesn't reach the first router and the Internet. (The wifi driver is smart enough not to connect to its own AP, so if there is only one relay router you don't have to worry about this yet.)
I've now migrated my routers from relayd to WDS and it worked out of the box for IPv4. For IPv6 I had to manually add this configuration snippet to routers 2 and 3:
/etc/config/network:
config interface 'lan6'
option ifname '@lan'
option proto 'dhcpv6'