ITPEC FE Morning October 2023 Question 32
When a PC connected to a LAN is starting up, which of the following protocols is used to automatically assign an IP address to the PC?
Explanation
DHCP — the protocol that hands out an IP address and other settings to a PC as it starts up.
DHCP (Dynamic Host Configuration Protocol) lets a PC with no address broadcast a request; a DHCP server replies with an IP address from its pool, plus the subnet mask, default gateway and DNS server. The exchange is Discover, Offer, Request, Acknowledge.
Answer (a)
Why not others:
- •(b) DNS — translates host names into IP addresses; it assumes the PC already has an address
- •(c) FTP — transfers files between hosts
- •(d) PPP — a data link protocol for point-to-point links such as dial-up; it can negotiate an address on that link, but it is not how a LAN PC gets one
Key rule: DHCP assigns addresses, DNS resolves names, and both are needed before a PC can use a host name on the network.
Networks · AI-written, may contain errors
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.