Community discussions

MikroTik App
 
titansmc
just joined
Topic Author
Posts: 16
Joined: Wed Jun 07, 2017 11:51 am

DHCP static lease through either ssh or API

Mon Oct 23, 2017 5:22 pm

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!