This is what I'm trying to do.
<---vlan50/vlan600 trunk (ether1)---> RB2011 <--> (ether2: LAN untagged vlan50) (ether5: IPTV untagged vlan600)
I have a vlan trunk with vlan50 and vlan600 coming into ether1 on the RB2011. Using the switch only, I have configured vlan50 access port on ether2 and vlan600 access port on ether5. vlan50 is my LAN's traffic and vlan600 is IPTV.
So far everything works fine but I can't seem to get wlan working. Hopefully someone can help.
Below is my working config except for wlan:
Code: Select all
# feb/16/2017 01:20:28 by RouterOS 6.38.1
# vlan600=IPTV, vlan50=LAN traffic
/interface ethernet
set [ find default-name=ether2 ] master-port=ether1
set [ find default-name=ether5 ] master-port=ether1
/interface ethernet switch port
# ether1 trunk port
set 1 vlan-header=add-if-missing vlan-mode=secure
# ether2 vlan50 access port for LAN
set 2 default-vlan-id=50 vlan-header=always-strip vlan-mode=secure
# ether5 vlan600 access port for iptv
set 5 default-vlan-id=600 vlan-header=always-strip vlan-mode=secure
# switch1-cpu
set 11 default-vlan-id=50 vlan-mode=secure
/interface ethernet switch vlan
add independent-learning=no ports=ether1,ether5 switch=switch1 vlan-id=600
add independent-learning=no ports=ether1,ether2,switch1-cpu switch=switch1 vlan-id=50
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no interface=ether1
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-onlyn channel-width=20/40mhz-Ce country=malaysia disabled=no distance=indoors frequency=auto frequency-mode=regulatory-domain max-station-count=100 mode=ap-bridge ssid=mtk wireless-protocol=802.11 wps-mode=disabled
1. I've referred to this: http://www.breekeenbeen.nl/2014/12/11/m ... -bridging/
There's a section in it that explains how to add wlan1 but it didn't work for me. wlan1 does not see my dhcp server on vlan50. It's for the CRS but concepts should be the same right? Anyway this was the additional code that I used.
Code: Select all
/interface vlan add name=vlan50 interface=ether1 vlan-id=50
/interface bridge add name=bridge-vlan50
/interface bridge port add bridge=bridge-vlan50 interface=vlan50
/interface bridge port add bridge=bridge-vlan50 interface=wlan1
2. Next I undid the above and tried to bridge ether1 and wlan1.
Code: Select all
/interface bridge add name=bridge1
/interface bridge port
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=ether1
Any ideas?