Can someone please help with the VLAN Bridging of the following setup?
Apologies if this is straight forward, I've spent the entire day reading about VLANS and Bridging, however I just don't understand it.
I have 1x RB2011 as my dialup router, 2x Unifi AP's, and 1x unmanaged switch.
My goal is to setup the APs to broadcast 3 different SSIDs, each on their own VLAN (10, 20 and 30).
The switch and all devices connected to it will be on VLAN10.
My current config is as follows:
ether2 goes to switch
ether 6,7 goes to ap's
Code: Select all
/interface bridge
add name=bridge1 vlan-filtering=yes
/interface vlan
add interface=bridge1 name="vlan10 - admin" vlan-id=10
add interface=bridge1 name="vlan20 - staff" vlan-id=20
add interface=bridge1 name="vlan30 - guest" vlan-id=30
/ip pool
add name=dhcp_pool0 ranges=192.168.10.50-192.168.10.254
add name=dhcp_pool1 ranges=192.168.20.2-192.168.20.254
add name=dhcp_pool2 ranges=192.168.30.2-192.168.30.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface="vlan10 - admin" name=dhcp1
add address-pool=dhcp_pool1 disabled=no interface="vlan20 - staff" name=dhcp2
add address-pool=dhcp_pool2 disabled=no interface="vlan30 - guest" name=dhcp3
/interface bridge port
add bridge=bridge1 interface=ether2 multicast-router=disabled pvid=10
/interface bridge vlan
add bridge=bridge1 tagged=bridge1 vlan-ids=10
/ip address
add address=192.168.10.1/24 comment="ADMIN DATA" interface="vlan10 - admin" \
network=192.168.10.0
add address=192.168.11.1/24 comment="ADMIN VOIP" interface="vlan10 - admin" \
network=192.168.11.0
add address=192.168.20.1/24 comment="STAFF WIFI" interface="vlan20 - staff" \
network=192.168.20.0
add address=192.168.30.1/24 comment="GUEST WIFI" interface="vlan30 - guest" \
network=192.168.30.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.1.0/24 gateway=192.168.1.1
add address=192.168.10.0/24 gateway=192.168.10.1
add address=192.168.20.0/24 gateway=192.168.20.1
add address=192.168.30.0/24 gateway=192.168.30.1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
Can someone please point me in the right direction?
Somewhere between the tagged and untagged interfaces I'm getting very confused and lost...