RB1100 Switch Chip

I want to setup a switch group that passes 802.1Q VLANS to each member port. This way I can add an IP addresses to each of these vlans in the router and they can be accessed via a device with a tagged vlan plugged into any of the member ports.

To do this using a bridge I would do the following:

[admin@MikroTik] > interface bridge add name=bridge1
[admin@MikroTik] > interface bridge port add bridge=bridge1 interface=ether1
[admin@MikroTik] > interface bridge port add bridge=bridge1 interface=ether2
[admin@MikroTik] > interface bridge port add bridge=bridge1 interface=ether3
[admin@MikroTik] > interface vlan add interface bridge1 vlan-id=100
[admin@MikroTik] > interface vlan add interface bridge1 vlan-id=101
[admin@MikroTik] > interface vlan add interface bridge1 vlan-id=102
[admin@MikroTik] > interface vlan add interface bridge1 vlan-id=103

How would I do this using the switch chip? I know I need to add the ports to a master port, but where would I add the VLAN’s? To the Master port?

Regards,

Hi!

I have the same problem… Bridge mode the vlan works… in switch mode no


tks

Anyone out there have a solution?

Yes, VLAN should be put on master-port interface in this case. Please post if you experience any problems.

Hi, I put my vlan interface in master port and not work.

My interface ether1 → ether5 are switch1 where ether1 is the master port. My managed switch is connected on the ethe5. Look my rules:

/interface vlan
add arp=enabled disabled=no interface=ether1 l2mtu=1594 mtu=1500 name=VLAN_TEST use-service-tag=no vlan-id=20

/interface ethernet
set ether2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:95:8C:49 master-port=ether1
mtu=1500 name=ether2 speed=100Mbps
set ether3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:95:8C:4A master-port=ether1
mtu=1500 name=ether3 speed=100Mbps
set ether4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:95:8C:4B master-port=ether1
mtu=1500 name=ether4 speed=100Mbps
set ether5 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:95:8C:4C master-port=ether1
mtu=1500 name=ether5 speed=100Mbps
/interface ethernet switch
set switch2 mirror-source=none mirror-target=none name=switch2
set switch1 mirror-source=none mirror-target=none name=switch1
/interface ethernet switch port
set ether1 vlan-header=leave-as-is vlan-mode=fallback
set ether2 vlan-header=leave-as-is vlan-mode=fallback
set ether3 vlan-header=leave-as-is vlan-mode=fallback
set ether4 vlan-header=leave-as-is vlan-mode=fallback
set ether5 vlan-header=leave-as-is vlan-mode=fallback
set switch1_cpu vlan-header=leave-as-is vlan-mode=fallback
set switch2_cpu vlan-header=leave-as-is vlan-mode=fallback
/interface ethernet switch vlan
add disabled=no ports=ether1 switch=switch1 vlan-id=20

I need to create rules? What’s wrong? =/

Tks

Please describe in more details what is not working as expected.

Hi,
I can not ping the IP installed in vlan id 20. In bridge mode the switch ping is OK. By switching to the vlan switch chip does not work. What’s wrong?

Thanks