The problem is that from version v6.41.0 onward there was the introduction of new bridge concept that removed the master/slave on ethernet ports.
This was documented in the release notes
https://mikrotik.com/download/changelogs for v6.41.0.
At that point a script was made available to migrate old config into this new concept, which is what happened in your case when you jumped from an old and prior to 6.41.0 version into the latest v6.48.1.
So unless you start thinking at how to migrate into this new concept, otherwise you will have to stay on v6.38 on that router to avoid such issues.
Moving from v6.38 to v6.48 was a big jump (with lot of changes in between) to be done in one shot, without reading the release notes to see what was going to happen.
Thank you, that makes sense!
Got it.
That's not good news.
I have set up this box on a remote site I do not visit regularly and it's critical infrastructure.
So I'd like to avoid fiddling too deep with basic config like vlan, bridge etc.
For complex setups the replacement of master-port configuration with a hardware-offloaded bridge is not handled well by the upgrade process, as in your case. It isn't clear what your original setup was as there is a br-lan and a br-wan, but all five switch ports are configured for hardware VLAN switching which would be associated with a single master port. It will be a case of studying the implications of the new style configuration to see what changes would be needed for your implementation.
I did this setup 8 years ago or so so I do not remember all the details. But br-lan and br-wan are bridges for WAN and internal LAN interfaces. Bridgde ports should be a) normal network ports b) VLAN tagged network ports c) various things like vif, sit or VPNs.
The way how I did it so far was:
I configured the switch using the port master method such that ether1=wan, ether2=adm, ether3=lan, ether4=lan, ether5=all (with VLAN tags):
[admin@ugate] /interface ethernet switch port> print
Flags: I - invalid
# NAME SWITCH VLAN-MODE VLAN-HEADER DEFAULT-VLAN-ID
0 ether1 switch1 secure always-strip 3
1 ether2 switch1 secure always-strip 1
2 ether3 switch1 secure always-strip 2
3 ether4 switch1 secure always-strip 2
4 ether5 switch1 secure add-if-missing 0
5 switch1-cpu switch1 secure add-if-missing 0
[admin@ugate] /interface ethernet switch vlan> print
Flags: X - disabled, I - invalid
# SWITCH VLAN-ID PORTS
0 switch1 3 switch1-cpu
ether1
ether5
1 switch1 2 switch1-cpu
ether3
ether4
ether5
2 switch1 1 switch1-cpu
ether2
ether5
VLAN IDs: 1=adm,2=lan,3=wan
The adm interface is not bridged (it has its IP assigned directly) but for WAN and LAN I created a dedicated bridge
br-wan and
br-lan so that I can bridge other things like VPNs, vif etc:
[admin@ugate] /interface bridge> print
Flags: X - disabled, R - running
0 R name="br-lan" mtu=auto actual-mtu=1500 l2mtu=1516 arp=enabled
arp-timeout=auto mac-address=E4:8D:8C:18:D5:A1 protocol-mode=rstp
priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00
max-message-age=20s forward-delay=15s transmit-hold-count=6
ageing-time=5m
1 R name="br-wan" mtu=auto actual-mtu=1500 l2mtu=1516 arp=enabled
arp-timeout=auto mac-address=E4:8D:8C:18:D5:A1 protocol-mode=rstp
priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00
max-message-age=20s forward-delay=15s transmit-hold-count=6
ageing-time=5m
[admin@ugate] /interface bridge> port print
Flags: X - disabled, I - inactive, D - dynamic
# INTERFACE BRIDGE PRIORITY PATH-COST HORIZON
0 vlan-wan br-wan 0x80 10 none
1 vlan-lan br-lan 0x80 10 none
2 I *13 br-wan 0x80 10 none
3 I *15 br-lan 0x80 10 none
4 vif1 br-lan 0x80 10 none
[admin@ugate] /interface bridge>
Finally I assigned the IPs:
[admin@ugate] /interface bridge> /ip addr print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 10.7.1.3/24 10.7.1.0 vlan-adm
1 192.168.200.254/24 192.168.200.0 br-lan
2 73.93.102.170/29 73.93.102.168 br-wan
For LAN and WAN, I assigned the IP to the bridge device (as it is common for Linux) and for ADM I have no bridge; I directly assigned it to the VLAN device.
Does that make sense? Now my question would be:
How can I migrate this to the new setup?
I do not understand how I would implement this with the new additional bridge as opposed to two separate bridges (which should be separate L2 networks!)
Where there is a big jump in versions it may be worth upgrading in steps to the version just prior to a major change (so 6.40.9 was the last before the master-port removal in 6.41, for example) and repeating if OK. Always make both a .backup, you can downgrade the firmware and restore the .backup if things go badly, and a .rsc, from /export file=somefilename which can be imported on other versions (sometimes requires tweaks as items and/or parameters change between versions)
Thanks, as a first step I'll jump to 6.40.9.
Thanks for the tip with the rsc file, that I had missing.
Do you know how I can back up the image of the OpenWRT meta router? As I said, it just disappeared (have to set it up from scratch :( ) and I do not see any ways to save the image.
Thanks a lot!!