I have a guest network using only openWRT WIFI today.
I want to extend guest network with external TP-Link Wifi one guest network via LAN 1 by using VLAN 10.
Thinking was: use same Interface: guest + device: br-guest
in device br-guest add LAN 1 (wifi has network: guest )
in device br-guest - add VLAN 10 Tagged for LAN 1
That all coming via LAN1 for VLAN10, should only enter the guest network...
Result - only blocking myself out
Relevant config without VLAN:
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
list ports 'lan5'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.0.1'
option netmask '255.255.255.0'
option ip6assign '64'
option delegate '0'
option ip6hint '1'
config device
option name 'br-guest'
option type 'bridge'
option bridge_empty '1'
config interface 'guest'
option proto 'static'
option device 'br-guest'
option ipaddr '192.168.10.1'
option netmask '255.255.255.0'
config wifi-iface 'wifinet2'
option device 'radio0'
option mode 'ap'
option ssid 'heeewifi'
option encryption 'sae'
option key 'abcd'
option network 'guest'
Reboot and test again... you should have normal lan connectivity and your guest network should still work on wifi. Now, it will also be tagged as VLAN 10 on port lan1. You'll need the other side of the link to have the same configuration (untagged network is lan, guest is tagged on VLAN 10).
Interface guest - br.lan10 was first a absent.device after reboot and so interface said Error: Network device is not present.
After manually switching to "Software VLAN "br.lan10" (guest)" in the interface guest, now seems to work fine. Interface LAN had already proper: "Software VLAN "br.lan1" (lan)" selected and seems not to have changed config file itself...