How do I attach lan ports to guest network on Flint 3?

I've managed to figure out how to create VLANs and add multiple SSIDs to those VLANS and everything works fine. I can not for the life of me though figure out how to setup Guest as vlan 20 and trunk ports to it. I found a “how to” online but it is incomplete and assumes things it shouldn't assume lol. I want to be able to put my guest bedroom on the same VLAN as guest wifi. Thanks.

Can anyone tell me how to do it, preferably from ssh? Thank you!

Thanks. Yeah I have no problem doing that, I have 4 separate VLANs working right now using ssh to set them up, and my switches are configured properly. I just can't figure out how to attach a lan port or trunk to the guest wifi network without breaking it.

I think I’ve got it! Let me know if there's something wrong with this. It seems to be working fine.

For anyone trying this, the trunk/switch ports are numbered backwards. 3t tags the CPU which must be done on all vlans, and 6t tags Lan2 on the router.

uci set network.vlan_guest='switch_vlan'
uci set network.vlan_guest.device='switch1'
uci set network.vlan_guest.vlan='20'
uci set network.vlan_guest.ports='3t 6t'

uci set network.eth1_20=device
uci set network.eth1_20.type='8021q'
uci set network.eth1_20.ifname='eth1'
uci set network.eth1_20.vid='20'
uci set network.eth1_20.name='eth1.20'

uci set network.guest.ports='eth1.20'

uci commit
reboot
1 Like

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