Is it possible to, for example, send different DNS server settings via DHCP to different clients?
yes, in the ‘ip dhcp-server network’ section you can specify for each IP different settings.
for example, if you want gateway=192.168.0.1 for all clients and 192.168.0.2 for 0.5 and 0.7:
/ip dhcp-server network
add address=192.168.0.0/24 gateway=192.168.0.1
add address=192.168.0.5/32 gateway=192.168.0.2 netmask=24
add address=192.168.0.7/32 gateway=192.168.0.2 netmask=24
Oh wow. That isn’t obvious (to me!) at all. In linux I set it up in the static lease for the specific mac address.
Thanks. I’ll try it.
In the above configuration you’d still have to do a static lease to bind a MAC address to always receive a particular IP address. The network section just lets you define the parameters given to that lease - without a static binding to a MAC any client could potentially get that lease, but would get those parameters.
Yeah, I already had the static leases. That works great. Thanks!