What's new

Is that possible to put vlan tag on main SSID?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

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
 
It may be possible on certain routers and firmware. Which one(s) are you talking about specifically?
 
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.
 

Sign Up For SNBForums Daily Digest

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