Sunday, 18 March 2018

DHCP

Overview
  • Dynamic Host Configuration Protocol
  • Uses UDP 67 (server) / 68 (client)

Protocol
  • Discovery: client broadcast 0.0.0.0 -> 255.255.255.255
  • Offer:  server response 10.0.0.1 -> 255.255.255.255 ("your IP is 10.0.0.4")
  • Request: client "which server selected" broadcast 0.0.0.0 -> 255.255.255.255 (others see it and withdraw)
  • Acknowledgement:  server->client lease duration, subnet mask, DNS servers, default gateway
  • From now on client uses 10.0.0.4 for communication

No comments:

Post a Comment