There are only two devices but customer have request so that they move one unit between two rooms when one of their colleague is on vacation.
There is one solution but that includes switching cables in network room and that is solution I want to avoid because there is a good chance they will unplug something they shouldn't.
I configured switch so ether1 is one device, ether2 is another device and nothing else can be connected to that port. That is tested and it's working.
Problem is when I tried to add MAC address that is reserved for ether2 on ether3, I get an error: "Couldn't add New Switch FDB Entry - already have such switch ufdb entry (6)"
It makes sense that I can't do that but is there any workaround that ?
Here is current configuration:
Code: Select all
# 2024-04-25 14:05:09 by RouterOS 7.14.2
# software id =
#
# model = CRS112-8P-4S
# serial number =
/interface bridge
add admin-mac=XX:XX:XX:XX:XX:XX auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether1 ] comment=
set [ find default-name=ether2 ] comment=
set [ find default-name=ether3 ] comment=
set [ find default-name=ether4 ] disabled=yes
set [ find default-name=ether5 ] disabled=yes
set [ find default-name=ether6 ] disabled=yes
set [ find default-name=ether7 ] disabled=yes
set [ find default-name=ether8 ] comment=
set [ find default-name=sfp9 ] disabled=yes
set [ find default-name=sfp10 ] disabled=yes
set [ find default-name=sfp11 ] disabled=yes
set [ find default-name=sfp12 ] disabled=yes
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/port
set 0 name=serial0
/interface bridge port
add bridge=bridge comment=defconf interface=ether1 learn=no \
unknown-unicast-flood=no
add bridge=bridge comment=defconf interface=ether2 learn=no \
unknown-unicast-flood=no
add bridge=bridge comment=defconf interface=ether3 learn=no \
unknown-unicast-flood=no
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=ether6
add bridge=bridge comment=defconf interface=ether7
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
/interface ethernet switch acl
add action=drop src-mac-addr-state=sa-not-found src-ports=\
ether1,ether2,ether3 table=egress
add action=drop src-mac-addr-state=static-station-move src-ports=\
ether1,ether2,ether3 table=egress
/interface ethernet switch unicast-fdb
add comment="" mac-address=AA:AA:AA:AA:AA:AA port=ether2 svl=yes
add comment="" mac-address=BB:BB:BB:BB:BB:BB port=ether1 svl=yes
/ip dhcp-client
add interface=bridge
/system clock
set time-zone-name
/system identity
set name=Mikrotik
/system note
set show-at-login=no
/tool romon
set enabled=yes