Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Import dhcpd.lease config data to pfsense #1

Open
bobdvb opened this issue Mar 31, 2022 · 1 comment
Open

Feature: Import dhcpd.lease config data to pfsense #1

bobdvb opened this issue Mar 31, 2022 · 1 comment

Comments

@bobdvb
Copy link

bobdvb commented Mar 31, 2022

This looks like a good tool, I found it while I was looking for an answer to importing an existing dhcpd.lease file extracted from a Ubiquiti EdgeRouter during a migration from an ER-X to pfSense. If you find it an interesting addition, it might be useful to add an extra feature to parse an existing lease configuration to import data.

lease 192.168.1.104 {
starts 4 2022/03/31 07:49:46;
ends 5 2022/04/01 07:49:46;
#shared-network: LAN
cltt 4 2022/03/31 07:49:46;
binding state active;
next binding state free;
hardware ethernet xx:xx:xx:xx:xx:xx;
uid "\001>\001\313a\015U";
client-hostname "Pixel-4";
}

Just a suggestion, it's your project, you do as you like, others might find it useful.

@cjnaz
Copy link
Owner

cjnaz commented Apr 5, 2022

Hi @bobdvb , thanks much for your input. I've thought about this for a few days (while traveling). This tool uses a .csv file as the master for the definitions. It doesn't support translating lease assignments directly from other platforms. I would suggest a tool that does a 1-time extract from a given platform backup file and outputs a preliminary .csv file that can be managed in Excel, then fed to dhcpcsv2pfsense. Since I don't have any of those platforms, I can't really write these extract tools. I would welcome your contribution of such a tool though. :>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants