Community discussions

MikroTik App
 
glennswest
just joined
Topic Author
Posts: 12
Joined: Wed Apr 07, 2021 4:00 pm

Allocate IP address from pool

Wed May 19, 2021 4:35 pm

I am writing a script to precreate all assets for a vm.
One of those is a pre-allocated static dhcp address.
Is there a scripted way or single command to give me a address from RouterOS command line? ie allocate a ip address out of a pool.
I know how to create a static entry, but prefer to use a existing pool, verse doing it all externally, or faking a dhcp request, and changing it static.

Who is online

Users browsing this forum: No registered users and 19 guests