OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Created a migration tool for DHCP Static Reservations to Kea DHCP Server
« previous next »
  • Print
Pages: [1]

Author Topic: Created a migration tool for DHCP Static Reservations to Kea DHCP Server  (Read 5009 times)

EasyGoing1

  • Newbie
  • *
  • Posts: 26
  • Karma: 7
    • View Profile
Created a migration tool for DHCP Static Reservations to Kea DHCP Server
« on: March 09, 2024, 06:58:22 am »
I created a tool that migrates your DHCP static reservations from the ISC DHCP server to the new Kea DHCP server. If you have a lot of static assignments, this tool can save you a lot of time.

It can be found here https://github.com/EasyG0ing1/Migration and it is fully documented.
Logged

Monju0525

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 6
    • View Profile
Re: Created a migration tool for DHCP Static Reservations to Kea DHCP Server
« Reply #1 on: March 10, 2024, 12:57:50 am »
I also wrote one too last month but in python. It automatically merges the isc static leases into the kea reservation section by reading the array of json objects into the xml sub-elements of ElementTree. It also checks if u have a subnet uuid.


https://github.com/patrick0525/Python-Opn-isc-kea

« Last Edit: March 10, 2024, 02:23:41 am by Monju0525 »
Logged

EasyGoing1

  • Newbie
  • *
  • Posts: 26
  • Karma: 7
    • View Profile
Re: Created a migration tool for DHCP Static Reservations to Kea DHCP Server
« Reply #2 on: March 20, 2024, 05:06:58 am »
Updated this tool so that you no longer have to edit any text files. It takes your backup config, and simply inserts the Kea mappings in the correct spot and saves it to a new file that you just re-import into OPNsense and done!

https://github.com/EasyG0ing1/Migration
Logged

RamSense

  • Hero Member
  • *****
  • Posts: 595
  • Karma: 11
    • View Profile
Re: Created a migration tool for DHCP Static Reservations to Kea DHCP Server
« Reply #3 on: March 20, 2024, 07:28:41 am »
thanks! I will check your tool when I migrate to Kea.
Logged

nikkon

  • Full Member
  • ***
  • Posts: 124
  • Karma: 3
    • View Profile
Re: Created a migration tool for DHCP Static Reservations to Kea DHCP Server
« Reply #4 on: April 02, 2024, 02:59:43 pm »
great to see this tool. thank you. planning to use it now.
Logged
DEC750 Deciso

thorneo

  • Newbie
  • *
  • Posts: 20
  • Karma: 1
    • View Profile
Re: Created a migration tool for DHCP Static Reservations to Kea DHCP Server
« Reply #5 on: May 06, 2024, 11:56:38 am »
So how does one use the windows version on a config backup??
Logged

anilv26

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Created a migration tool for DHCP Static Reservations to Kea DHCP Server
« Reply #6 on: October 08, 2024, 01:24:05 pm »
From the command screen in Windows:

    Make sure you are in the correct folder and that both the config.xml file and the migrate
    program are in that folder, then try again.

    For instructions: migrate how
Logged

AlvertaCrona

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Created a migration tool for DHCP Static Reservations to Kea DHCP Server
« Reply #7 on: November 04, 2024, 03:13:40 am »
Quote from: thorneo on May 06, 2024, 11:56:38 am
So how does one use the windows version on a config backup??
I'm also having the same problem as you but don't know how to solve it.
Logged
Raft Wars

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • Created a migration tool for DHCP Static Reservations to Kea DHCP Server
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2