AP Speed Static IP Vs DHCP

Hello everyone,

I’m facing a speed issue with my access point. When I configure a static IP, the connection speed drops significantly to 2.5 Mbps, but when I use DHCP, it reaches around 90 Mbps. Below is my current configuration:

/interface bridge
add name=WIRELESS
add name=bridge1

/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk mode=dynamic-keys name=DEFAULT1 \
    supplicant-identity="" wpa2-pre-shared-key=Ex5pqrfn!

/interface wireless
set [ find default-name=wlan1 ] country=italy disabled=no mode=ap-bridge \
    security-profile=DEFAULT1 ssid=WIFI_test
set [ find default-name=wlan2 ] disabled=no mode=ap-bridge security-profile=\
    DEFAULT1 ssid=MikroTik

/ip hotspot profile
set [ find default=yes ] html-directory=hotspot

/ip pool
add name=dhcp_pool0 ranges=10.2.2.2-10.2.2.254

/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=WIRELESS name=dhcp1

/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=WIRELESS interface=wlan1
add bridge=WIRELESS interface=wlan2

/ip neighbor discovery-settings
set discover-interface-list=!dynamic

/ip address
add address=192.168.149.251/24 interface=bridge1 network=192.168.149.0
add address=10.2.2.1/24 interface=WIRELESS network=10.2.2.0

/ip dhcp-server network
add address=10.2.2.0/24 gateway=10.2.2.1

/ip dns
set servers=192.168.141.41,192.168.141.42

/ip firewall nat
add action=masquerade chain=srcnat

/ip route
add distance=1 gateway=192.168.149.1

Any suggestions on why the static IP would be so much slower? Could this be related to the NAT rule or some other configuration I’m overlooking?

Thanks in advance for any advice or insights!

You could check the ip route table with dhcp and static and see if there is any differences.

I think your masquerade rule should have an interface (out-interface) on it.
Presumably bridge1.
Though perhaps only if it is coming from the 10.2.2.0/24 network.

Not quite sure why you have ether1 attached to a bridge at all. You seem to be using it
effectively as a router, with ether1 as wan port.
Though I guess other ethernet or wlan ports may eventually connect to bridge1 as well.