Hi,
sadly my post wasn't approved so far, hopefully someone can help me here since I'm facing a similar problem.
After creating several VLANs, only one is reachable via IP. Is this an issue because I didn't configure "ingress-vlan-translation" for VLANs 2 and 255? My router should only forward tagged traffic for these VLANs.
I configured following 3 VLANs on my CRS210 router:
VLAN 1: 192.168.1.1 /24 (Mgmt VLAN)
VLAN 2: 192.168.2.1 /24 (User VLAN only)
VLAN 255: 192.168.255.0 /31 (Internet Breakout to my Firewall)
So far, only VLAN 1 is reachable via IP. My PC is connected like this:
-- ISP Modem on WAN Interface of pfSense FW
---- pfSense FW LAN interface on ether8 of CRS210
------ CRS210 Router ether 8 on FW, sfp2 on SwOS Switch
-------- SwOS Switch sfp3 = Uplink to CRS210 on sfp2, sfp1 = My PC
---------- My PC (Untagged in VLAN 1 able to reach VLAN 1 IP of Router, Untagged VLAN 2 not able to reach VLAN 2 IP of Router)
My RouterOS Config:
# Create Bridge
/interface bridge
add name=bridge
# Add all interfaces to Bridge
/interface bridge port
add bridge=bridge interface=ether1 hw=yes
add bridge=bridge interface=ether2 hw=yes
add bridge=bridge interface=ether3 hw=yes
add bridge=bridge interface=ether4 hw=yes
add bridge=bridge interface=ether5 hw=yes
add bridge=bridge interface=ether6 hw=yes
add bridge=bridge interface=ether7 hw=yes
add bridge=bridge interface=ether8 hw=yes
add bridge=bridge interface=sfp-sfpplus1 hw=yes
add bridge=bridge interface=sfpplus2 hw=yes
# Configure Access Ports on same switch
/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=1 ports=ether1,ether2,ether3,ether4,ether5
# Configure Trunk Ports on same Switch
# Add switch1-cpu to Mgmt VLAN
/interface ethernet switch egress-vlan-tag
add tagged-ports=sfpplus2,switch1-cpu vlan-id=1
add tagged-ports=sfpplus2 vlan-id=2
add tagged-ports=ether8 vlan-id=255
# Assign Ports to VLANs
/interface ethernet switch vlan
add ports=ether1,ether2,ether3,ether4,ether5,sfpplus2,switch1-cpu vlan-id=1
add ports=sfpplus2 vlan-id=2
add ports=ether8 vlan-id=255
# Create Interface VLAN
/interface vlan
add interface=bridge vlan-id=1 name=Management
add interface=bridge vlan-id=2 name=User
add interface=bridge vlan-id=255 name=Internet
# Add IP to Interface VLAN
/ip address
add address=192.168.1.1/24 interface=Management
add address=192.168.2.1/24 interface=User
add address=192.168.255.1/31 interface=Internet
# Block traffic outside of these VLANs
/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether1,ether2,ether3,ether4,ether5,ether6,ether7,ether8,sfpplus2 forward-unknown-vlan=no unknown-vlan-lookup-mode=ivl
My SwitchOS Config:
Also set my PC (PC-P) to untagged VLAN 2, was not able to reach VLAN 2 IP of my CRS210.