What Is DHCP?

by Priya Nakamura Updated Apr 24, 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.

What Is DHCP?
Figure 1 — What Is DHCP?

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

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.

Priya Nakamura

About Priya Nakamura

Priya Nakamura is a telecommunications engineer and networking educator with a Master degree in Computer Networks and a background in ISP infrastructure design and management. Her experience spans both the technical architecture of broadband networks and the practical challenges home users face when configuring routers, managing wireless coverage, and understanding connectivity standards. At RouterHax, she covers WiFi standards and protocols, networking concepts, IP addressing, and network configuration guides.

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

Once done, hit any button as below