Hello. I have tried different approaches to this, but I’m stuck. Probably I just made a stupid mistake somewhere. Please point any problems out!
I have a test setup with three ports on the switch configured:
- ether3 - VLAN 3 access port
- ether5 - VLAN 4 access port
- ether7 - trunk port (tagged)
Switch has admin access on VLAN 4: IP address 192.168.99.1/24
Configuration attached. What happens is:
- When I try to access the switch from access port 5 with the aforementioned IP using SSH, that is succesful.
- When I connect my trunk to port 7 and try to access switch that way, the SSH connection times out.
Any pointers as of what I do wrong?
# jan/02/1970 00:35:37 by RouterOS 6.45.9
# software id = ...
#
# model = CRS112-8P-4S
# serial number = ...
/interface bridge
add admin-mac=... auto-mac=no comment=defconf name=bridge
add name=bridge1
/interface ethernet switch
set drop-if-invalid-or-src-port-not-member-of-vlan-on-ports=ether3,ether5,ether7
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface bridge port
add bridge=bridge comment=defconf interface=ether1
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether8
add bridge=bridge comment=defconf interface=sfp9
add bridge=bridge comment=defconf interface=sfp10
add bridge=bridge comment=defconf interface=sfp11
add bridge=bridge comment=defconf interface=sfp12
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=ether7
/interface ethernet switch egress-vlan-tag
add tagged-ports=ether7 vlan-id=3
add tagged-ports=ether7 vlan-id=4
/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=3 ports=ether3
add customer-vid=0 new-customer-vid=4 ports=ether5
/interface ethernet switch vlan
add ports=ether3,ether7 vlan-id=3
add ports=switch1-cpu,ether5,ether7 vlan-id=4
/interface list member
add interface=ether1 list=WAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add interface=ether6 list=LAN
add interface=ether7 list=LAN
add interface=ether8 list=LAN
add interface=sfp9 list=LAN
add interface=sfp10 list=LAN
add interface=sfp11 list=LAN
add interface=sfp12 list=LAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether2 network=192.168.88.0
add address=192.168.99.1/24 interface=bridge1 network=192.168.99.0
/system identity
set name=switch