Why is there no comprehensive guide to setting up a vlan on the GL-iNet routers in the official documentation? There are hit-or-miss instructions all over the web (including here) but none work for me. The closest I have gotten to creating one was with LuCI but even though it showed up on my phone and network manager, I got connection refused and a bunch of other stuff I can’t recall fully so I leave it out.
Since the highly customized nature of VLAN requirements and configurations, and the fact that each device's interface order, VLAN architecture, and whether there is a switch are different, it is difficult to integrate into a comprehensive guide.
If you encounter any issues with VLAN, please let us know with the router model, firmware version, VLAN requirements, topology (if the network is complex, will provide it), and we will provide guide one-on-one based on the requirements.
My security camera system is currently on the 2.4 guest network of my GL-iNet MT-6000.
The cameras must be on WIFI. I would like to put them on a wireless vlan so I can turn off the guest network. I have four cameras and I don't plan to use a switch though if need be, there are two managed switches on my lan. I also have several other GL-iNet travel routers that I could turn one into an access point if that is a better way to go. I have created a vlan on the Slate Plus travel router and the ssid showed up in network manager on my pc and the network&internet settings of my android phone but I kept getting connection refused messages and such.
I used the procedure on this video:
If you need more info just ask. Thanks
If you have already created VLAN configuration (even if it might be not work), you can post it here to let us to check:
cat /etc/glversion
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
If VLAN configuration is not necessarily required, the following is to add a new network interface and IoT WiFi in MT6000:
# /etc/config/network
uci add network device # =cfg1b0f15
uci set network.@device[-1].type='bridge'
uci set network.@device[-1].name='br-iot'
uci set network.iot=interface
uci set network.iot.proto='static'
uci set network.iot.device='br-iot'
uci set network.iot.ipaddr='192.168.11.1'
uci set network.iot.netmask='255.255.255.0'
# /etc/config/dhcp
uci set dhcp.iot=dhcp
uci set dhcp.iot.interface='iot'
uci set dhcp.iot.start='100'
uci set dhcp.iot.limit='150'
uci set dhcp.iot.leasetime='12h'
uci add_list dhcp.iot.ra_flags='none'
# /etc/config/firewall
uci add firewall zone # =cfg26dc81
uci set firewall.@zone[-1].name='iot'
uci set firewall.@zone[-1].input='ACCEPT'
uci set firewall.@zone[-1].output='ACCEPT'
uci set firewall.@zone[-1].forward='REJECT'
uci add_list firewall.@zone[-1].network='iot'
uci add firewall forwarding # =cfg27ad58
uci set firewall.@forwarding[-1].src='iot'
uci set firewall.@forwarding[-1].dest='wan'
# /etc/config/wireless
uci del wireless.mt798612.disabled
uci set wireless.wifinet4=wifi-iface
uci set wireless.wifinet4.device='mt798612'
uci set wireless.wifinet4.mode='ap'
uci set wireless.wifinet4.ssid='GL Router-IoT-5G'
uci set wireless.wifinet4.encryption='psk2'
uci set wireless.wifinet4.key='goodlife'
uci set wireless.wifinet4.network='iot'
uci set wireless.wifinet4.ifname='rax2'
uci del wireless.mt798611.disabled
uci set wireless.wifinet5=wifi-iface
uci set wireless.wifinet5.device='mt798611'
uci set wireless.wifinet5.mode='ap'
uci set wireless.wifinet5.ssid='GL Router-IoT-2.4G'
uci set wireless.wifinet5.encryption='psk2'
uci set wireless.wifinet5.key='goodlife'
uci set wireless.wifinet5.network='iot'
uci set wireless.wifinet5.ifname='ra2'
uci commit
reboot
Thank you. I will let you know how it goes.