Rebuild a Link-Local IPv6 Address
Rebuild a Link-Local IPv6 Address
Where does an omitted source address come from?
Address reconstructionBuild the interface identifier from the sender’s identity, then follow the receiver’s reconstruction.
Send
Identity may be extended or a valid short assignment.
Frame
Link-layer source and addressing context travel with the frame.
Receive
64-bit link-local prefix
64-bit interface identifier
Link-local prefix
fe80:0000:0000:0000
Interface identifier
Awaiting identity
For these link-local addresses, rebuild the 64-bit link-local prefix and the 64-bit interface identifier.
Send
Identity may be extended or a valid short assignment.
Frame
Link-layer source and addressing context travel with the frame.
Receive
64-bit link-local prefix
64-bit interface identifier
Link-local prefix
fe80:0000:0000:0000
Interface identifier
Awaiting identity
Send
Extended address · A B C D E F G H
A is the first octet in canonical EUI-64 order.
Frame
A A XOR 0x02· First canonical octet · Flip U/L bit only
Binary mask 00000010
Receive
Each letter is one octet. Juxtaposition joins adjacent octets.
Link-local prefix
fe80:0000:0000:0000
Interface identifier
[A XOR 0x02]B:CD:EF:GH
Combined IPv6 address
fe80:0000:0000:0000:[A XOR 0x02]B:CD:EF:GH
Send
Short address · XX YY
Assignment current · Uniqueness checked
Frame
Assigned short address provides the final two octets.
Receive
Join XX and YY in their original order at the end of the short-address pattern.
Link-local prefix
fe80:0000:0000:0000
Interface identifier
0000:00ff:fe00:XXYY
Combined IPv6 address
fe80:0000:0000:0000:0000:00ff:fe00:XXYY
Send
Short address · XX YY
Captured IEEE 802.15.4 source · XX YY
Frame
SAC = 0, SAM = 11 (binary) · Stateless, source fully elided
Single IEEE 802.15.4 hop · No mesh header
Reconstruct only when a permitted link-derived IID is available from this encapsulation under RFC 6282 §§3.1.1 and 3.2.2.
Receive
Join XX and YY in their original order at the end of the short-address pattern.
Link-local prefix
fe80:0000:0000:0000
Interface identifier
0000:00ff:fe00:XXYY
Combined IPv6 address
fe80:0000:0000:0000:0000:00ff:fe00:XXYY
IPHC source mode Source address· Implies the link-local prefix
IEEE 802.15.4 source XX YY Source address· Supplies the source IID
Destination context
Link-layer destination stays on its own reconstruction path.
Send
Short address · XX YY
Captured IEEE 802.15.4 source · XX YY
Frame
SAC = 0, SAM = 11 (binary) · Stateless, source fully elided
Single IEEE 802.15.4 hop · No mesh header
Reconstruct only when a permitted link-derived IID is available from this encapsulation under RFC 6282 §§3.1.1 and 3.2.2.
Receive
Join XX and YY in their original order at the end of the short-address pattern.
Link-local prefix
fe80:0000:0000:0000
Interface identifier
0000:00ff:fe00:XXYY
Combined IPv6 address
fe80:0000:0000:0000:0000:00ff:fe00:XXYY
IPHC source mode Source address· Implies the link-local prefix
IEEE 802.15.4 source XX YY Source address· Supplies the source IID
Destination context
Link-layer destination stays on its own reconstruction path.
Capture-time assignment log
Recorded PAN · XX YY → Original device
Current assignment log
Same PAN · XX YY → Different device
Evidence for attribution and rollout
- Capture-time assignment and PAN
- Prefix and compression context
- Owner
- Rollout and retest record
Technical boundaries. The compressed source example covers one IEEE 802.15.4 hop without a mesh header, in a mode that permits a link-derived source identifier. It assumes a valid short assignment. The capture-time PAN and assignment record are needed to attribute the decoded address to a device.