Page 1 of 1

DHCP static lease through either ssh or API

Posted: Mon Oct 23, 2017 5:22 pm
by titansmc
Hi,
I have a web interface in which I select a machine from my network and I am able to assign static IP or release the current one. Since I've just migrated to Mikrotik CCR1009 , I would like to have those processes done through API or via SSH'ing into the box and executing the command. The website is built on Ruby.

What would be the way to check for an available IP on the pool?

What would be the way to assign a static IP?

Thanks in advance!