Computer Networks · Question 19 · Easy
Which protocol automatically assigns an IP address, subnet mask and default gateway to a computer that joins a network?
- DNS
- ARP
- DHCP
- 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
- What is the main job of DNS (Domain Name System)?
- What is the default port number of SMTP, the protocol used to send email…
- Which OSI layer is responsible for data representation tasks such as…
- How many bits long is an IPv6 address?
- What is the subnet mask, in dotted-decimal form, for a /28 prefix?
- What is the network address of the host 172.16.45.200/20?
- A Selective Repeat ARQ protocol uses 4-bit sequence numbers. What is the…
- How long does it take to transmit (put on the wire) a 1,500-byte packet on a…
- What is the maximum throughput (channel efficiency) of slotted ALOHA?
- The network 192.168.5.0/24 must be divided into equal-sized subnets, each with…
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