- Home
- Skills
- DevOps & Cloud
- DHCP Scope Planner
Works with the AI Agents you already use
DHCP Scope Planner
Generate, validate, and audit Kea and ISC DHCP configurations to prevent IP conflicts and monitor utilization.
$1.99
DHCP Scope Planner
Example session with this skill installed
Generate a Kea DHCPv4 config from my scopes.yaml which has a 10.0.10.0/24 subnet, a pool from .50 to .200, gateway at .1, and two static reservations for printers.
- Read your context and instructions
- Compiled the dhcp scope planner
I have processed scopes.yaml and generated a validated Kea DHCPv4 configuration. The configuration includes the 10.0.10.0/24 subnet with the specified dynamic pool and two host reservations. I also ran kea-dhcp4 -t which confirmed the configuration syntax is valid.
Kea DHCPv4 Configuration
{
"Dhcp4": {
"interfaces-config": {
"interfaces": [ "*" ]
},
"lease-database": {
"type": "memfile",
"persist": true,
"name": "/var/lib/kea/kea-leases4.csv"
},
"subnet4": [
{
"id": 1,
"subnet": "10.0.10.0/24",
"pools": [
{
"pool": "10.0.10.50 - 10.0.10.200"
}
],
"option-data": [
{
"name": "routers",
"data": "10.0.10.1"
},
{
"name": "domain-name-servers",
"data": "8.8.8.8, 8.8.4.4"
}
],
"reservations": [
{
"hw-address": "00:11:22:33:44:55",
"ip-address": "10.0.10.10",
"hostname": "printer-01"
},
{
"hw-address": "00:11:22:33:44:66",
"ip-address": "10.0.10.11",
"hostname": "printer-02"
}
]
}
]
}
}
Next steps
- Copy this JSON content into your
/etc/kea/kea-dhcp4.conffile. - Verify the
interfaces-configmatches your specific network interface names. - Restart the Kea service using
systemctl restart kea-dhcp4-server.
Connects securely to your tools. The creator never sees your data.
About this skill
Manual DHCP configuration often leads to overlapping pools, IP collisions, and unexpected outages. This skill automates the generation and validation of DHCP configurations to ensure network stability.
What it does
- Config Generation produces valid Kea DHCPv4 JSON or legacy ISC
dhcpd.conffiles from a single YAML specification. - Collision Detection validates that dynamic pools and gateways reside within their subnets and do not overlap.
- Reservation Auditing checks for duplicate MAC addresses or IP assignments across the entire configuration.
- Utilization Analysis parses active lease files to identify scopes nearing exhaustion or stagnant leases.
- Syntax Validation runs native daemon test commands like
kea-dhcp4 -tto confirm the output is deployable.
How it works
- Define Scopes by providing a YAML file containing subnets, pool ranges, gateways, and static reservations.
- Generate Configs by selecting the desired format, Kea or ISC, to produce the configuration file.
- Analyze Leases by providing an existing lease file to check current pool capacity and device behavior.
Frameworks & tools
This tool works with Kea DHCPv4, legacy ISC DHCP server, and YAML for configuration sourcing. It uses Python for the core logic and requires the respective DHCP binaries for syntax testing.
Why this beats prompting it yourself
Writing DHCP configs by hand is error-prone, especially with CIDR math and MAC address validation. This skill performs rigorous collision checks and syntax verification that a standard LLM prompt might overlook or miscalculate.
Use cases
- Network Migration when moving from legacy ISC DHCP to modern Kea setups.
- Capacity Planning to identify which subnets need expansion before they run out of IPs.
- Standardization to maintain a single source of truth for multi-subnet office or lab environments.
Known limitations
Does not support DHCPv6. Generated configurations are validated but not automatically deployed to production servers. Requires local installation of DHCP daemons for syntax testing.
Supports DHCPv4 only. Does not automate the deployment or service restart. Requires kea-dhcp4 or dhcpd binaries for syntax validation.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago