[Kea-users] Lease same IP for same MAC
Gibbins, John (IM&T, Black Mountain)
John.Gibbins at csiro.au
Sun Dec 27 11:06:30 UTC 2020
If the client does not request the same IP as it had before you probably need to assign a fixed IP to the device.
I'm assuming you have a config which includes your subnet. Something like:
To ensure that you always get the same IP you need to create a reservation which maps the MAC to the desired IP. Such as:
You may want to check out the "reservation-mode" attribute if you have both pools and reservations on the same subnet.
From: Kea-users <kea-users-bounces at lists.isc.org> On Behalf Of rondal
Sent: Sunday, 27 December 2020 9:23 PM
To: kea-users at lists.isc.org
Subject: [Kea-users] Lease same IP for same MAC
Hi, I try to deploy an ubuntu server to vsphere with packer. After
installation has finished the machine reboots an gets an other IP address.
Packer can not complete its work because it is still trying to connect to
the old ip address.
>From the kea log I see the following:
In the client I configure networking (netplan) with dhcp-identifier: mac
- Any ideas how I can tell kea to lease the same ip, in this case *.251,
Sent from: http://kea-users.7364.n8.nabble.com/
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
Kea-users mailing list
Kea-users at lists.isc.org
More information about the Kea-users