I have a small network and I need to link MAC address of the network card on IP to prevent IP stealing inside the network.
How can I do that?
/ip address
add interface=ether1 address=192.0.2.1/24
/ip dhcp-server
add interface=ether1 name=dhcp1 address-pool=static-only
/ip dhcp-server network
add address=192.0.2.0/24 gateway=192.0.2.1 dns-server=8.8.8.8,8.8.4.4
/ip dhcp-server lease
add mac-address=02:6D:42:12:34:56 address=192.0.2.10 server=dhcp1
/interface ethernet set ether1 arp=reply-only
/ip dhcp-server set dhcp1 add-arp=yes