Vlan-Configuration

Hello guys,

am lost with vlan configuration on RB962 hap ac, I have set 2 vlans 66 and 10 on sfp port that works at the end where i set up swos RB260GSP–there are PCs. The problem is that I still need to send them to port 2 and 3 on RB962 but I can’t set it corectly. I tried to bridge it in various ways, but without any success

configuration:

model = RB962UiGS-5HacT2HnT
/interface vlan
add interface=sfp1 name=vlan10 vlan-id=10
add interface=sfp1 name=vlan66 vlan-id=66
/ip pool
add name=dhcp_pool0 ranges=10.22.66.1-10.22.66.253
add name=dhcp_pool3 ranges=192.168.10.1-192.168.10.253
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=vlan66 name=dhcp1
add address-pool=dhcp_pool3 disabled=no interface=vlan10 name=dhcp2
/ip address
add address=10.22.66.254/24 interface=vlan66 network=10.22.66.0
add address=192.168.10.254/24 interface=vlan10 network=192.168.10.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=10.22.66.0/24 gateway=10.22.66.254
add address=192.168.10.0/24 gateway=192.168.10.254
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/system clock
set time-zone-name=Europe/Prague
/system identity
set name=test

I’m sure someone will reply with the golden standard post on VLANs: http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1

From a quick glance the config is missing some stuff. Where are the ports? The bridge? You need to assign the VLANs to ports. How are you setting this up?

Something like:

/interface bridge vlan
add bridge=bridge tagged=bridge,ether3 vlan-ids=10
add bridge=bridge tagged=bridge,ether3 untagged=ether2 vlan-ids=20