1

Everyone knows that there are 4 steps to a DHCP handshake.

Everyone talks about DORA (Discover, Offer, Request, Ack) and the "happy path" to getting an address, and this is the most common and important information.

However, there are DHCP options to be considered too. Lots of places talk about the options, their numbers (if relevant), their names, etc., but I am having a hard time finding when they are sent. Some (client options) are clearly sent TO the server, and thus must either be in the Discover or Request cycles, while some are sent FROM the server (service options), and thus must be in the Offer or Ack cycles - but which ones are where?

An example of why this is relevant: I am trying to get a client, that already has an IP address, option 119 (domain-search), and I need to know if I can just add the option and it will work on the next [existing] Request-Ack cycle, or do I need to force that client through a full DORA again? RFC3397 doesn't seem to say anything on it.

This may seem silly for just one client, but when there are loaded networks of production clients, and lots of options to choose from and figure out, it gets messy. Is it always the same for all options? If so, where does it happen? and if not, is there a listing of which options are sent when?

Watki02
  • 537
  • 2
  • 12
  • 21

1 Answers1

1

DHCP options can be explicitly requested by the client (in DISCOVER), but most often they're just sent in the server's OFFER. Subsequently, they're also REQUESTed and ACKNOWLEDGEd.

Options are detailed in RFC 2132.

Zac67
  • 8,639
  • 2
  • 10
  • 28
  • So there is no map of what options are sent (or are possibly sent) when? Your RFC(2132) seems to suggest there are some options that can be sent on a DISCOVER or REQUEST, however it is not clear how the server should (or does) respond with that info. You also make no distinction between server-sent and client-sent options... – Watki02 Jan 25 '22 at 20:57
  • A client may request any option. If they're valid the server returns them unchanged in its offer - or it may change or delete them. – Zac67 Jan 25 '22 at 21:00