28 Aug
2017
28 Aug
'17
7:45 a.m.
On Aug 28, 2017, at 5:27 AM, Byron Jeffery <byronjeffery@cem.org.au> wrote:
I do have one question though regarding static IP addresses. I am a little confused on the best practice regarding setting up clients as to whether it is best to set them up in mac2ip file or entering them into a sql database. If I enter them into the sql database the lease period is set when the client successfully gets an IP address, however, how do I define a indefinite lease without it being overwritten?
It's probably best to put static IPs into a separate table. Then, the logic looks like: if (get static IP) { we're OK } else { do sqlippool to assign dynamic IP } Mixing static IPs and dynamic IPs in the same table is problematic. Alan DeKok.