Hi all,
I have some doubt about how Mikrotik manages the DHCP options.
My configuration is:
/ip pool
add comment="Indirizzi automatici LAN" name=pool_LAN ranges=192.168.254.100-192.168.254.200
/ip dhcp-server
add add-arp=yes address-pool=pool_LAN disabled=no interface=LocalLAN name=dhcp_LAN
/ip dhcp-server network
add address=192.168.0.0/16 comment="Network LAN" dns-server=192.168.10.1 \
domain=foo.local gateway=192.168.10.1 netmask=16 ntp-server=\
193.204.114.105,195.168.4.101
/ip dhcp-server option
add code=15 name=LocalDomainName value="'bar.local'"
/ip dhcp-server lease
add address=192.168.30.1 address-lists=HappyList
always-broadcast=yes dhcp-option=LocalDomainName lease-time=4d3h \
mac-address=XX:XX:XX:XX:XX:XX server=dhcp_LAN
All the clients get the correct informations from the server, and also the foo.local domain.
The specific client with mac address XX:XX:XX:XX:XX:XX gets the correct different IP address, but not the new domain bar.local.
How can I give some clients different domain names?
Thank you!
Denis