DHCP
Dynamic Host Configuration Protocol, the network service that automatically gives each device joining a network an IP address and other settings.
In more detail
A device broadcasts a request when it connects, and a server replies with an address, subnet mask, default gateway and DNS servers, lent for a limited time called a lease. Because almost every device must ask, the server's lease records are good evidence of what is really on the network. A rogue server on the same network can hand out a malicious gateway or DNS server and redirect victims' traffic.
Example
lease 192.0.2.41 { binding state active; hardware ethernet 3c:22:fb:10:4a:01; client-hostname "LT-0412"; }Related terms
- DHCP lease — A record that a DHCP server has lent a particular IP address to a particular device for a set length of time.
- IP address — The numeric address, such as 192.168.1.10, that identifies a machine or container on a network.
- MAC address — A hardware address, usually written as six pairs of hexadecimal digits, that identifies a network interface on its local network.
- dhcpd — The DHCP server program from the Internet Systems Consortium that hands out IP addresses and records each one in a plain-text leases file.
Taught in
- The Range That Already Belonged To Someone — CompTIA Cloud+ (CV0-004) Exam Prep
- Fine From Home, Broken At The Office: Network Troubleshooting — CompTIA Cloud+ (CV0-004) Exam Prep
- Troubleshooting Sprint: Three Tickets, One Morning — CompTIA Cloud+ (CV0-004) Exam Prep
- Sixty Six Of Eighty Five: The Mock And Its Report — CompTIA Cloud+ (CV0-004) Exam Prep
- Asset Lifecycle Management & Media Sanitization — Cybersecurity Fundamentals, GRC & Cryptography
- The Reboot That Fails You — Red Hat Certified System Administrator (EX200) Exam Prep
- Host Names And Name Resolution — Red Hat Certified System Administrator (EX200) Exam Prep
- Simulation: Attacks In The Logs — CompTIA Security+ (SY0-801) Exam Prep
- Four Minutes To Boot: Firmware, GRUB, Kernel And Targets — CompTIA Linux+ (XK0-006) Exam Prep
- A Server Nobody Can Find: Addresses, Routes And Names On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Clocks, Names, Addresses And Pages: The Services Every Depot Runs — CompTIA Linux+ (XK0-006) Exam Prep
- One Rule, Four Firewalls: firewalld, ufw, nftables And iptables — CompTIA Linux+ (XK0-006) Exam Prep
- The Tracker Is Down, For Some People: Link, Address, Route, Name And Port — CompTIA Linux+ (XK0-006) Exam Prep
- Addresses, Gateways And Names On Both Stacks — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Drill: A Gateway That Survives The Reboot — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Linux As A Guest: Clones, Clouds And Containers — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep
References
- RFC 2131: Dynamic Host Configuration Protocol
- NIST CSRC Glossary: Dynamic Host Configuration Protocol
Certification courses
- CompTIA Cloud+ course and practice exam: CV0-004
- RHCSA course and practice exam: Red Hat Certified System Administrator (EX200)
- CompTIA Security+ course and practice exam: SY0-801
- CompTIA Linux+ course and practice exam: XK0-006
- LFCS course and practice exam: Linux Foundation Certified System Administrator
- LPIC-1 course and practice exam: Linux Administrator (101-500 and 102-500)