
DHCP
DHCP server and client, lease, unauthorized DHCP: all dojo articles on this topic.
Image generated locally with ComfyUI from randomly selected elements. How the images are created

CNA (Captive Network Assistant): how phones find the login page
The CNA (Captive Network Assistant) is how iPhone, Android and Windows tell whether you're behind a captive portal and open the login page in a dedicated mini-browser. It was born because the mass move to HTTPS broke the old hotspots that hijacked the browser.
DojoUnauthorized DHCP server: how to detect and block it with MikroTik
An unauthorized DHCP server, often a shopping-mall Wi-Fi router plugged in "backwards", can throw a LAN into chaos in minutes. With MikroTik you spot it with /ip dhcp-server alert, which warns you when a server other than the valid one answers, and you block it with the bridge's DHCP snooping, which in RouterOS 7 accepts DHCP replies only from the trusted ports.
DojoMikroTik DHCP server: run a script on every lease
The RouterOS DHCP server can run a script every time it hands out or frees an address: that's the lease-script. Inside the script you already have variables like $leaseBound, $leaseActIP and $leaseActMAC, which let you log new devices, send an email alert, or add the client to an address list with an expiry.
DojoHow to create a WiFi hotspot with MikroTik and RouterOS 7
A WiFi hotspot with a captive portal on MikroTik is built in seven steps: reset, WAN, the guest network on a bridge, the radio, the /ip hotspot setup wizard, a test and the final cleanup. In RouterOS 7 the main change is the radio part, which on recent models uses the new wifi package instead of wireless. The addresses in the example are the ones from my lab: adapt them to your own network.