Hello MK guys!
I have one question.
scenario: I have an internal dhcp where mk is the gateway, internal dns and dhcp server. By lan interface, customers receive an ip via dhcp.
The question is:
it is possible to detect whether a client configure your PC / notebook with a static ip not assigned by the mk dhcp server?
Thanks in advance!
Regards!
No current function to do so. However you could write a script.
-
Loop through all possible IP addresses on your LAN and do an ARP-Ping. This is how the Mikrotik will learn who’s on the LAN and with what IP.
-
Compare mac addresses from the arp table to the leases table, confirm the lease exists and the IP is the same.
I’m not sure what will happen if two PCs have the same IP, the Mikrotik may only see one of them. Or will add two entries in the arp table for the same IP..