Computer Networks · M2 · mocks

Q1B · DHCP purpose and messages

M2 mock C

Q1(a)+Q1(b) compulsory; choose any two of Q2/Q3/Q4 · 10 marks attempted

Question. State the purpose of DHCP and list its four initial allocation messages in order. [2 practice marks]

Answer

  1. DHCPDISCOVER: client searches for a server.
  2. DHCPOFFER: server proposes an address/configuration.
  3. DHCPREQUEST: client requests the chosen allocation.
  4. DHCPACK: server confirms the lease.

DHCP reduces manual configuration and supports controlled address reuse through leases.