If you have in mind that the Mikrotik would indicate an individual hostname in the DHCPDISCOVER and DHCPREQUEST it sends, as a DHCP client, on each WAN, you have to do the following:
- under /ip dhcp-client options, create two new items, named “hostname-wan1” and “hostname-wan2”, both with code 12 and with a string value representing the hostname you want to use, e.g.
/ip dhcp-client option
add code=12 name=hostname-wan1 value="s'myHostName'"
add code=12 name=hostname-wan2 value="s'yourHostName'"
- under /ip dhcp-client, replace the hostname option on each row attached to a WAN interface with the corresponding option added above:
/ip dhcp-client
set [find interface=wan1] dhcp-options=hostname-wan1,clientid
set [find interface=wan2] dhcp-options=hostname-wan2,clientid