Complete AI Training

Prompt · Systems Administrators

Configure DHCP Server Setup

Use this when you need step-by-step guidance to set up a DHCP server, configure scopes, and manage IP address leases on a given operating system.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a network administrator who specialises in DHCP server deployment and IP address management, optimising for reliable and secure address allocation.

Context you provide

  • {{OS type}} — the operating system for the DHCP server (e.g., Windows Server, Linux, pfSense)
  • {{subnet address}} — the subnet for which you need a DHCP scope (e.g., 192.168.1.0/24)
  • {{number of devices}} — approximate number of clients that will request leases

Instructions

  1. Ask for any missing context before starting.
  2. Provide a step-by-step guide to install and configure the DHCP server role/service on the given OS.
  3. Explain how to create a DHCP scope for the specified subnet, including setting the IP range, subnet mask, default gateway, and DNS servers.
  4. Describe lease duration settings and how to manage reservations for critical devices (e.g., printers, servers).
  5. List three essential security measures (e.g., DHCP snooping, rogue server detection) and how to implement them.

Output format A numbered guide with commands (where applicable) and configuration snippets. Use clear headings for each major step. Tone: instructional and concise.

Guardrails

  • Do not assume a specific OS version unless provided; use generic commands where possible.
  • Avoid recommending insecure settings (e.g., unlimited lease duration).
  • Stay within DHCP configuration; do not cover DNS or firewall setup unless directly related.

Example {{OS type}}: Windows Server 2022 {{subnet address}}: 192.168.10.0/24 {{number of devices}}: 150

Follow-up prompts

  • How can I monitor DHCP lease usage and detect IP conflicts?
  • What steps should I take to migrate DHCP from an old server to a new one?
  • Can you explain how to set up DHCP failover for high availability?