What Is DHCP?

by Priya Nakamura Updated Apr 12, 2026

DHCP (Dynamic Host Configuration Protocol) is a network protocol that automatically assigns IP addresses to devices when they connect to your network. Without DHCP, you'd have to manually configure the IP address on every device.

How DHCP Works

When a device connects to your network, it sends a DHCP request. Your router's DHCP server responds with an available IP address, subnet mask, gateway, and DNS server. The device uses these settings to communicate on the network.

DHCP vs Static IP

DHCP assigns IPs automatically and is ideal for most devices. Static IPs are manually configured and best for servers, printers, and devices that need port forwarding.

Related Guides

what-is-dhcp guide

Video Tutorial

For more information, see RFC 791 — Internet Protocol.

Pro Tip: Every device on the internet has an IP address, but thanks to NAT, hundreds of devices can share a single public IP.

Key Takeaways

  • Private IPs (192.168.x.x, 10.x.x.x) are used inside your home network
  • DNS translates domain names to IP addresses
  • DHCP automatically assigns IPs so you don't have to
  • Your default gateway is your router's IP address

Frequently Asked Questions

What does DHCP do?

DHCP automatically assigns IP addresses to devices on your network so you don't have to manually configure each one.

Should I enable DHCP on my router?

Yes. DHCP should be enabled on your main router. Only disable it on secondary routers used as access points to avoid IP conflicts.

About Priya Nakamura

Priya is a telecommunications engineer and networking educator at RouterHax. With a background in ISP infrastructure and a Master's in Computer Networks, she explains complex networking concepts in plain English. Priya covers WiFi standards, protocols, IP addressing, and network architecture.

Promotion for FREE Gifts. Moreover, Free Items here. Disable Ad Blocker to get them all.

Once done, hit any button as below