Computer Networks · Question 19 · Easy

Which protocol automatically assigns an IP address, subnet mask and default gateway to a computer that joins a network?

  1. DNS
  2. ARP
  3. DHCP
  4. ICMP
Answer and explanation

Answer: C. DHCP

Explanation: DHCP (Dynamic Host Configuration Protocol) leases IP configuration to hosts automatically. ICMP is used for error and diagnostic messages such as ping.

Previous: Which OSI layer is responsible for data representation tasks such as… · Next: How many bits long is an IPv6 address?

Practise computer networks

Try a fresh set of computer networks questions with an explanation after every answer, free and without signing up: Computer Networks practice. Or sit a full placement mock test.

More computer networks questions

More technical & programming practice

Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge