Interview Prep/Networking/IP Addressing, CIDR, Subnetting & Routing

What is DHCP and what does a lease contain?

BeginnerConceptIP Addressing, CIDR, Subnetting & Routing
Answer

DHCP hands out network configuration automatically using the DORA exchange: Discover, Offer, Request, Acknowledge. A lease includes IP, mask, default gateway, DNS servers, lease time, and optionally domain search list and NTP servers.

In AWS the VPC DHCP option set provides DNS servers and domain name. Wrong search domains from DHCP are a quiet cause of slow name lookups.

All Networking questions Roadmap: Networking for DevOps

More on IP Addressing, CIDR, Subnetting & Routing