ITPEC FE Morning April 2018 Question 31

Topic: Networks

Which of the following TCP/IP protocols is used to assign IP addresses dynamically?

Explanation

DHCP — a server leases each client an IP address, together with settings such as the subnet mask, default gateway and DNS server.

When a device joins the network it broadcasts a request, and the DHCP server answers with an address from its pool, valid for a lease period. Addresses no longer in use return to the pool, so no one has to configure each host by hand.

Answer (b)

Why not others:

  • •(a) ARP — finds the MAC address that belongs to a known IP address on the local network; it does not assign addresses
  • •(c) RIP — a distance-vector routing protocol that routers use to exchange routes, counted in hops
  • •(d) SMTP — transfers email from clients to mail servers and between mail servers

Key rule: Match the protocol to its job: DHCP assigns addresses, ARP resolves IP to MAC, RIP exchanges routes, SMTP sends mail.

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.