Hi,
I'm looking for a way to automatically assign static IP addresses to minions. The minions are connected via a public IP, but I wish to assign internal IPs to a network formed by a VPN.
Is there any good way to automatically assign IP addresses from a pool to minions (including ip removal on minion removal/etc)?
I've looked into DHCP (not that secure), which I don't really want to use. In addition, the mac addresses are not static between boots (randomly generated), so there may be a lot of churn.
There is also the option of salt execution modules, but I am worried that there can be a race condition between two nodes trying to join at the same time, or offline nodes not reporting their IP.
Is there anything else I can use to assign IPs?
Thanks!