From slave to master port eth1 - how to fix?

Hey.

I’ve got config like this:

# 2024-02-03 19:53:48 by RouterOS 7.13.3
# software id = **ELIDED**
#
# model = C53UiG+5HPaxD2HPaxD
# serial number = **ELIDED**
/interface bridge
add name=LAN
add name=WAN
/interface wifi
set [ find default-name=wifi1 ] channel.band=5ghz-ac .frequency=5300 \
    configuration.country=Poland .mode=ap .ssid=**ELIDED** disabled=no \
    security.authentication-types=wpa2-psk,wpa3-psk
/interface wifi security
add authentication-types=wpa2-psk disabled=no name=**ELIDED**
/interface wifi
set [ find default-name=wifi2 ] configuration.country=Poland .mode=ap .ssid=**ELIDED** disabled=no security=**ELIDED**
/interface wifi configuration
add chains="" country=Poland disabled=no mode=ap name=#conf_2.4GHZ security=**ELIDED** ssid=**ELIDED**
/ip pool
add name=LAN_DHCP ranges=192.168.0.2-192.168.0.254
/ip dhcp-server
add address-pool=LAN_DHCP interface=LAN name=LAN_DHCP
/interface bridge port
add bridge=WAN interface=ether1
add bridge=LAN interface=ether2
add bridge=LAN interface=ether3
add bridge=LAN interface=ether4
add bridge=LAN interface=wifi1
add bridge=LAN interface=wifi2
/ip address
add address=192.168.0.1/24 interface=LAN network=192.168.0.0
/ip cloud
set update-time=no
/ip dhcp-client
# DHCP client can not run on slave or passthrough interface!
add interface=ether1
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=8.8.8.8,1.1.1.1 gateway=192.168.0.1 \
    netmask=24
/ip firewall filter
add action=fasttrack-connection chain=forward connection-state=\
    established,related hw-offload=yes
add action=accept chain=forward connection-state=established,related
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/system clock
set time-zone-name=Europe/Warsaw
/system note
set show-at-login=no

How to fix log:

temporary moving client ether1 from slave to master port, update your config!!!

Having a bridge implies multiple member ports. Additionally adding an interface to a bridge demotes it to port, interface “duties” are transfered to bridge “interface”. So you should move DHCP client to WAN interface. It’s similar to what you have with LAN: IP address and DHCP server are bound to bridge interface, not to individual ports members of bridge.

One has to ask self about reasons for you to introduce WAN bridge though.

And, BTW, I hope your router is not exposed to internet this way or another, firewall is de-facto non-existing.