Is that possible to put vlan tag on main SSID?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

collider

New Around Here
With the following script, I was able to put vlan tag 9, 11, 13 on guest SSID corresponding to wl0.1, wl1.1, and wl0.2.

My question is if it's possible to assign vlan tag to main SSID. The reason I want to do this is that only the main SSID can pass to aimesh node but guest SSID can't.

Code:
robocfg vlans reset vlan 1 ports "0 1 2 3 4 5t" vlan 9 ports "0t 5t" vlan 11 ports "0t 5t" vlan 13 ports "0t 5t"
vconfig add eth0 9
ifconfig vlan9 up
vconfig add eth0 11
ifconfig vlan11 up
vconfig add eth0 13
ifconfig vlan13 up
brctl delif br0 wl0.1
brctl delif br0 wl1.1
brctl delif br0 wl0.2
brctl addbr br1
brctl addif br1 wl0.1
brctl addif br1 vlan9
ifconfig br1 up
brctl addbr br2
brctl addif br2 wl1.1
brctl addif br2 vlan11
ifconfig br2 up
brctl addbr br3
brctl addif br3 wl0.2
brctl addif br3 vlan13
ifconfig br3 up
nvram set lan_ifnames="vlan1 eth1 eth2"
nvram set lan_ifname="br0"
nvram set lan1_ifnames="vlan3 wl0.1"
nvram set lan1_ifname="br1"
nvram set lan2_ifnames="vlan11 wl1.1"
nvram set lan2_ifname="br2"
nvram set lan3_ifnames="vlan13 wl0.2"
nvram set lan3_ifname="br3"
killall eapd
eapd
 

L&LD

Part of the Furniture
It may be possible on certain routers and firmware. Which one(s) are you talking about specifically?
 

collider

New Around Here
I tried to replace wl0.1 and wl1.1 by eth1 and eth2. But it doesn't work at all. What I know eth1, eth2 are the SSID for main 2.4GHz and 5GHz WiFi.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top