A DHCP packet can hand you a bootfile name that reads /diskle. A few fields later, it hands you ss/foo. Neither is a filename. Together they are /diskless/foo — and the rule that makes that true, RFC 3396, is one of the quietest acts of subversion in the DHCP canon.
Published on the Standards Track in November 2002, RFC 3396 answered a question the packet format had been dodging since BOOTP: when the same DHCPv4 option code shows up more than once, what is it? Not a list of separate objects. Not an error. Fragments of a single logical value, reassembled in an order that has nothing to do with where the bytes physically sit. That answer turned a one-byte length limit into a lesson in reading discipline — and into a warning that a standards-compliant sender still cannot prove a deployed receiver understood a word of it.
Two Kinds of Order in One Packet
An old packet format can make two kinds of order coexist. There is the order in which fields physically occupy the packet. Then there is the order in which their contents must be understood. RFC 3396 made DHCPv4 live with both, and told implementers not to confuse them.
Why a One-Byte Limit Needed a Rule
The constraint fit in a single octet. A variable-length DHCP option was a one-octet code, a one-octet length, and up to 255 octets of value. That carried plenty of useful configuration — until someone needed a value longer than 255 octets, at which point the format simply ran out of room.
RFC 2131 had already suggested that repeated options be concatenated, but it never fully specified the ordering, and it carried a general line saying options could appear only once unless another document said otherwise. RFC 3396 deleted that sentence and supplied a uniform reconstruction procedure. Repetition stopped being a collection of independent objects waiting for option-specific permission. It became input to concatenation.
The Fields DHCP Inherited From BOOTP
Length was not the only reason to split. A short option might not fit in the remaining space of one output area even though another option-bearing area still had room. The encoder could apply the same algorithm or drop the option — but it could not let a single encoded instance straddle the boundary between fields.
Those fields came from DHCP's BOOTP inheritance. The ordinary optional-parameters area was the expected home. Under DHCP option overload, the fixed file and sname fields could carry options too, displacing their older meanings. RFC 3396 described their contents through an aggregate option buffer: ordinary options first, then file, then sname.
Then came the sentence that has tripped up more parsers than any other in the document. That logical sequence is not the physical order of the fields in the packet. A parser that simply walks memory addresses and appends repeated codes as it meets them can reconstruct a different value entirely. The aggregate buffer is a concept, not a licence to rearrange the packet.
A Cut That Must Mean Nothing
Within that logical buffer, fragments had to stay sequential. Each was encoded like a normal variable-length option: same code, no more than 255 value octets, a length that contributed to the total. If an option occupied all three locations, its first part went in the ordinary options area, its second in file, its third in sname — wherever those fields happened to sit physically.
The encoder was free to cut at any octet boundary. That freedom came with a prohibition: the cut must not express semantic information. A boundary did not mark the end of a route, a domain name, a suboption or a record. It marked only where one container ran out of space, or where the size limit demanded another instance.
The RFC's small Bootfile Name example made the point without a long payload. /diskless/foo could be divided after seven value octets, producing two instances of option 67. Neither /diskle nor ss/foo was a bootfile name. Only concatenation restored the single value. The split was legal precisely because it meant nothing.
The Decoder's Discipline
The decoder therefore had to resist a tempting shortcut. On encountering two or more instances of one code, it had to treat them as split pieces, concatenate their value bytes in aggregate order, and process the result as one option. It could not validate, interpret or expose each fragment as a separate object. Meaning began after reconstruction.
Machine alignment belonged to the receiver as well. Nothing required a sender to place fragments on boundaries convenient for the decoder's CPU. Once the value was rebuilt, the implementation had to copy or access it in a way safe for its own architecture. A packet's legal cut could be a local machine's awkward address.
The Compatibility Problem Nobody Could Wish Away
The most revealing part of the document is not its algorithm. It is the compatibility warning. Many DHCP agents already deployed in 2002 did not implement concatenation. A sender could obey the new standard perfectly and still meet a receiver that read only one piece, treated the pieces separately, or threw the result away. Correct encoding was not evidence of successful decoding.
RFC 3396 responded with two categories. An option was "concatenation-requiring" only if its defining specification explicitly referenced the mechanism and required support. Everything else was non-concatenation-requiring. A sender should avoid splitting unless forced to, unless the peer had requested or supplied at least one option in the requiring category, or unless an administrator had explicitly configured the capability assumption.
That inference was deliberately narrow. It gave the sender a reason to believe the peer knew the mechanism — not proof that every length, overload path, parser and later consumer worked. Implementations could refuse to split non-requiring options. But any implementation claiming support for a requiring option had to concatenate received repeats in both categories. On reception, the object rule stayed general.
Security Code That Hashed the Wrong Thing
The authentication note showed how deeply the logical object mattered. RFC 3118's authentication option could itself be divided. Before generating or verifying the MAC, an implementation had to zero the authentication field even if that field crossed multiple option instances. Code that treated each instance as a self-contained record could hash the wrong representation while believing it was doing security work.
What Later Options Inherited
Later DHCP options made the generic mechanism carry varied payloads. RFC 3397 used it for a domain-search list; RFC 3361 depended on it for long SIP-proxy data; RFC 3442 applied it to classless routes; RFC 3925 used it in vendor-identifying structures. Those documents supplied application grammar. RFC 3396 supplied the prior act of turning repeated bytes into the object that grammar could parse.
What a Packet Capture Actually Proves
This division also limits what a capture file can claim. Seeing all the fragments proves that bytes traversed the observation point. It does not prove the receiver enabled option overload, walked the three areas in aggregate order, retained every duplicate, reassembled the correct length, handled alignment, authenticated the result, or applied the configuration. Each step needs its own running evidence.
The RFC Editor's current search reports no matching errata for RFC 3396. That is useful publication metadata, not an implementation certificate. The original text was itself repairing ambiguity in an older specification while accommodating software that had already diverged.
Lu Heng's Two Principles and the Final Test
Lu Heng's Minimum Initial Specification principle explains the shape of the repair. The document standardized the smallest reconstruction contract needed across implementations — identity by code, aggregate order, sequential pieces, no fragment semantics — without dictating the internal buffer, memory model or error interface of every client and server.
His Running-Code Primacy supplies the final test. A decoder should be challenged with fragments cut at inconvenient boundaries, spread across all enabled fields, and observed through the later application of the value. A standards claim without that path only shows that the implementation knows the rule's name.
RFC 3396 turned location into transport and preserved identity above it. The fields could be physically out of order; the pieces could be unequal; the cut could fall anywhere. What mattered was that the decoder knew when not to interpret. First make one object. Only then ask what it means.
Sources
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






