Good day,
I am sure I am missing the last piece of config in order to get VLANs on my CRS106 working, I am asking for assistance and guidance on what I might have missed on the configuration or recommendations on how to resolve the problem I am facing.
The Setup
I bought 2 CRS106 switches, 2 hosts one on each switch, both switches have been reset to factory default.
Single VLAN ID of 99 - this is a lab and the idea is to have this as a management VLAN with an interface on VLAN99.
The switches are connected together using sfp1 and the hosts are using either sfp3 or sfp4 - the other port config that may appear in the code below would be due to me doing some testing.
The config below, is for 1 of the switches, the config is the exact same for the other switch bar the IP addressing.
What did I configure
I added the ports to a bridge and did not configure anything further on that as specified in the CRS1xx/2xx VLAN guide.
I then moved to setup the VLANs on the switch chip menu and not the bridge:
- I configured the switch VLAN table and added in switch1-cpu per inter-vlan routing guide, added in the sfp3 and 4 interfaces.
- I configured the ingress translation customer-id = 0 and new-customer-id=99.
- I configured the egress translation as well on the opposite to the ingress translation, customer-id = 99 and new-customer-id=0.
- I configured the VLAN99 interface referencing the bridge named br99.
- I then applied the drop-if-vlan-invalid command to the ports.
Whats not working
I cannot ping the VLAN IP address of the switch from any of the hosts, I can however ping the hosts from each other, (host 1 can ping host 2) if i connect them onto the same switch.
From a host, I cannot ping the other host when they are separated into each switch, so, host 1 plugged on switch 1 cannot ping host 2 on switch 2 and vice versa.
When I torch the bridge vlan interface, I can see VLANID 99 sourcing from the router destined for the IP address of the host (if i ping from terminal) but i do not see return traffic.
I also do not see any traffic hitting the bridge from the host when I ping the VLAN IP from the host.
What is Working
I can ping the neighbouring switches, so switch 1 terminal can ping switch 2 on the VLAN IP and vice versa, I also can see this in the torch, I can see ICMP traffic between the 2 switches tagged as VLAN 99.
What I think is wrong
I have a feeling I have not configured the port translation correctly or I have left a step out in the configuration, the problem seems to be from the hosts on the Access port side, trunk between the 2 switches work perfectly fine apart from the hosts
What research have I done and used before posting to a forum
https://wiki.mikrotik.com/wiki/Manual:CRS1xx/2xx_series_switches_examples
https://wiki.mikrotik.com/wiki/Manual:CRS1xx/2xx_series_switches
http://forum.mikrotik.com/t/crs1xx-access-management-on-hybrid-vlan-port/170489/1
https://wiki.mikrotik.com/wiki/Manual:CRS1xx/2xx_VLANs_with_Trunks
https://help.mikrotik.com/docs/pages/viewpage.action?pageId=103841835#CRS1xx/2xxseriesswitches-VLANTable
Config Code
# 1970-01-03 06:38:00 by RouterOS 7.15.2
/interface bridge
add name=br99 protocol-mode=none
/interface vlan
add interface=br99 name=vlan99 vlan-id=99
/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=combo1,sfp1,sfp3,sfp4
/port
set 0 name=serial0
/interface bridge port
add bridge=br99 interface=sfp1
add bridge=br99 interface=sfp3
add bridge=br99 interface=sfp4
add bridge=br99 interface=combo1
/interface ethernet switch egress-vlan-tag
add tagged-ports=switch1-cpu,sfp1 vlan-id=99
/interface ethernet switch egress-vlan-translation
add customer-vid=99 new-customer-vid=0 ports=sfp3,sfp4
/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=99 ports=sfp3,sfp4
/interface ethernet switch vlan
add ports=switch1-cpu,combo1,sfp1,sfp3,sfp4 vlan-id=99
/ip address
add address=10.0.0.11/24 interface=br99 network=10.0.0.0
add address=192.168.2.254/24 interface=vlan99 network=192.168.2.0
/system note
set show-at-login=no