You can import DHCP reservations by opening the Import data wizard from within a particular network, or on the Networks tab of the IPAM page. For instructions, refer to Importing IPAM data.
In the Import data wizard, you can import DHCP reservation information with the following options:
- Add DHCPv4 reservations
- Add DHCPv6 reservations on MS
- Add DHCPv 6 reservations on Kea
- Modify DHCPv4 reservations
- Modify DHCPv6 reservations on MS
- Modify DHCPv6 reservations on Kea
- Delete reservations
Refer to the following examples to view the required format for each of these options.
Examples
It's important to format the import data correctly. To read the general formatting guidelines, refer to Formatting the IPAM data for import. The following examples display the data format needed to import DHCP reservation information into DDI orchestrator:
Examples 1–3: Setting properties on and adding reservations to IP addresses
These examples shows how to set properties and add reservations to IP addresses, both on DHCPv4 and DHCPv6 (MS and Kea).
DHCPv4
IP Address, Name, Method, ClientIdentifier, Type, DDNS hostname (optional)
1.1.4.1, Test, HardwareAddress, 00:00:00:00:00:01, DHCP, ddi.com
1.1.4.4, Test, ClientIdentifier, 00:00:00:00:00:04, BOOTP,
MS DHCPv6
IP Address, Name, DUID, IAID
2001::df07, Test, 0001ac2378bc0987, 1337
Kea DHCPv6
IP Address, Method, Clientidentifier, DDNS hostname (optional)
2002::df27, HardwareAddress, 12:56:00:22:34:22, ddi.com
2002::df28, ClientIdentifier, 67:48:21:99:59:11
Example 4–6: Modifying existing reservations
These examples show how to modify an already existing reservation on DHCPv4 and DHCPv6 (both MS and Kea).
DHCPv4
Action,IPAddress,ClientIdentifier,Name
Update, 1.1.4.1,00:00:00:00:00:10, new name
Update, 1.1.4.2,00:00:00:00:00:20, also a new name
MS DHCPv6
Action,IPAddress,DUID,IAID,Name
Update, 2001::df07, 0001ac2378bc0987, 1337, new name
Kea DHCPv6
Action,IPAddress,ClientIdentifier,DDNSHostname (optional)
Update, 2001:db8:6:0:e0f3:edc6:4dc0:df07, 78:00:77:66:55:55, hus.com
Example 7–8: Deleting a reservation from an IP address
These examples show how to remove a reservation from an IP address.
DHCPv4
Action,IPAddress
Del,1.1.4.1
DHCPv6
Action,IPAddress
Del,2010::b897:2aaa:b854:c10c