I have set up the mikrotik router, added a DHCP server and it is all working fine. However, I have now added option3 to the DHCP server options for providing an alternative gateway.
I can add this option3 to a static lease in order to modify the gateway of that device - that works fine when i add it from the winbox interface.
However, I cant work out the command that I need to do this from command line.
This is what I am trying but it does not work, can someone help?
/ip dhcp-server network set 31 dhcp-option=option3
(Where 31 is the ID of the lease that I want to modify). When I run this command it says "no such item".