Recently I've upgraded my RouterBOARD to RouterOS v7.25.1, and I am facing an issue with the DHCP server handling lease renewals.
The DHCP Server works for initial connections (via broadcast), but fails during unicast renewals. When the expires-after timer reaches exactly 50% of the lease time, the client host sends a unicast DHCPREQUEST to the router. However, instead of renewing, the router immediately responds with an ICMP Destination Unreachable (Port Unreachable) packet.
Because of this ICMP error, Linux clients (NetworkManager) drop the connection instantly and try to acquire a new lease, which breaks active VPN tunnels.
While troubleshooting, I found a strange difference:
On another device running v7.20.8, I can see dynamic entries for ports 67 and 68 under /ip/service.
On this problematic device running v7.25.1, these UDP ports (67/68) are completely missing from the /ip/service list, meaning the kernel isn't binding or listening on them for unicast traffic.
Re-creating the DHCP server from scratch via DHCP Setup did not help. The same issue happens on multiple client PCs after the upgrade.
Is this a known regression bug in v7.25.1 socket binding, or is there a new configuration requirement that I missed during the major upgrade?
Thank you for the report. Ports 67/68 are missing from /ip service in 7.25; we are aware of this and will address it in an upcoming version. It does not affect lease renewal. Your capture shows the router replying to the unicast renewal with a DHCP ACK for the same transaction (frame 71).
To check what happens on the router at the moment the lease is lost, please send us:
A supout.rif made right after the issue happens.
A DHCP debug log covering the renewal and the drop. Enable it with /system logging add topics=dhcp.
A capture on the router's LAN interface during the same period. For example, use /tool sniffer with filter-interface= and file-name=dhcp.pcap, then start and stop it around the renewal.
The output of /ip dhcp-server lease print detail where address=, taken before and after the drop.
/export hide-sensitive of /ip dhcp-server and of the bridge/VLAN configuration the server runs on.