Hi Alan My apologies, I have realised that I had my terminology mixed up. I was meaning to say static DHCP lease IP rather than the static IP address itself. I am also looking forwards to V4 as I have read that there are plans for the DHCP service. Are there any particular planned changes for the DHCP service? - Kind Regards - Byron Jeffery - ICT Helpdesk Coordinator ------------------------------ - Phone:0243636107 - Mobile:043 230 7030 - Office:Suite 304, 200 The Central Coast Hwy, Erina NSW 2250 ------------------------------ The content of this message is provided without responsibility in law for their accuracy or otherwise, and without assumption of a duty of care by Australian Christian College. Whilst every attempt has been made to ensure that material contained in this email is free from computer viruses or other defects, the attached files are provided, and may only be used, on the basis that the user assumes all responsibility for use of the material transmitted. This email is intended only for the use of the individual or entity names above and may contain information that is confidential and privileged. If you are not the intended recipient, please note that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email and destroy the original message. On Mon, Aug 28, 2017 at 9:45 PM, Alan DeKok <aland@deployingradius.com> wrote:
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.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html