CompTIA A+ Core 1 (220-1201)NetworkingEasy
A new laptop joins a SOHO network and automatically receives an IP address, subnet mask, default gateway, and DNS server settings without any manual configuration. Which protocol is responsible for this?
- AARP
- BDHCP
- CSNMP
- DDNS
Show answer & explanationAnswer & explanation
Correct answer: B. DHCP
DHCP (Dynamic Host Configuration Protocol) automatically assigns IP configuration information to hosts on a network, eliminating the need for manual setup.
Why the other options are wrong
- A. ARP resolves IP addresses to MAC addresses on a local network.
- C. SNMP is used for monitoring and managing network devices.
- D. DNS resolves hostnames to IP addresses but does not assign IP configurations.
DHCP
DHCP automatically assigns IP addresses, subnet masks, default gateways, and DNS server addresses to devices joining a network.
- Uses UDP ports 67 (server) and 68 (client)
- Process: Discover, Offer, Request, Acknowledge (DORA)
- Leases can expire and be renewed
Memory trick: DORA the Explorer finds your IP address for you.