Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DUID / IAID

Direct answer

DHCPv6 identifies a client by its DUID (DHCP Unique Identifier, per device) and each interface's addresses by an IAID; reservations and troubleshooting use these instead of the MAC address.

When to use this

Use it when a DHCPv6 server gives a client the wrong address or reservations do not match.

First 30 seconds

1. DHCPv6 identifies clients by DUID (device) and IAID (interface).

2. Reservations use DUID.

3. Cloned VMs may share DUIDs.

4. DUID types: LLT, EN, LL, UUID.

5. Duplicate DUIDs cause address conflicts.

Operational verification

client DUID + IAID → server binding → address

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · IOS/IOS XE
Scope / prerequisiteUse it when a DHCPv6 server gives a client the wrong address or reservations do not match.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Finding DUIDs Verify boundary
OSCommand
Windowsipconfig /all (DHCPv6 Client DUID)
Linux (NetworkManager)nmcli -f DHCP6 device show eth0
systemd-networkdnetworkctl status eth0
Server (IOS)show ipv6 dhcp binding
Step 2 Verification & troubleshooting Narrow the fault

1. Capture RA prefix, A/M/O flags and lifetime.

2. Verify host address construction and DAD.

4. Check DNS and default route.

5. Confirm renewal and relay behavior.

Step 3 Common mistakes Narrow the fault
  • Reserving by MAC address instead of DUID.
  • Re-imaged hosts keeping or changing DUIDs unexpectedly.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • RA supplies prefix and default-router information
  • M/O flags signal DHCPv6 expectations but do not themselves lease data
  • Stateless DHCPv6 supplies options; stateful DHCPv6 can lease addresses
  • DHCPv6 does not supply the default gateway
  • DUID/IAID, relay context, lifetimes, privacy addresses and DAD affect observed state.
Key checks
  • show ipv6 dhcp binding — client DUID and IAID
  • Client: ipconfig /all (DHCPv6 Client DUID) / cat /var/lib/dhcp/dhclient6.leases — client side
ReferenceWhat it is1 section · depth on demand

Why DUID matters

DHCPv6 reservations and logs use the DUID, not the MAC address (unlike DHCPv4). DUID types: DUID-LLT (link-layer + time), DUID-EN (enterprise), DUID-LL, DUID-UUID. Cloned VMs can share a DUID and fight over addresses; regenerate it after cloning. Windows: ipconfig /all shows "DHCPv6 Client DUID"; Linux: in /var/lib/dhcp or NetworkManager state.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

DUID and IAID: how DHCPv6 identifies clients and their requests

DHCPv6 doesn't identify clients by MAC address. RFC 8415 has each client and server use a DHCP Unique Identifier (DUID), and each client use an Identity Association ID (IAID) for every group of addresses or prefixes it requests.

DUID types (RFC 8415)

TypeNameBuilt from
1DUID-LLTHardware type, time, link-layer address
2DUID-ENEnterprise number plus a vendor-assigned identifier
3DUID-LLHardware type and link-layer address
4DUID-UUIDA UUID

RFC 8415 says the DUID should not change over time if at all possible. One device keeps the same DUID across all its interfaces.

IAID

The client chooses an IAID for each identity association (IA_NA for addresses, IA_PD for delegated prefixes). It must be unique among IAs of the same type for that client. Clients usually derive it from the interface, so each interface gets its own lease.

R1# show ipv6 dhcp binding
Client: FE80::5054:FF:FE1A:2B3C
  DUID: 000100012D4F8A1C5054001A2B3C
  Username : unassigned
  VRF : default
  IA NA: IA ID 0x0E1A2B3C, T1 43200, T2 69120
    Address: 2001:DB8:20::1A2B
            preferred lifetime 86400, valid lifetime 172800
            expires at Nov 30 2026 09:12 AM (172751 seconds)
host$ cat /var/lib/dhcp/dhclient6.eth0.leases | grep -E "default-duid|iaaddr"
default-duid "\000\001\000\001-O\212\034PT\000\032+<";
    iaaddr 2001:db8:20::1a2b {
C:\> ipconfig /all | findstr /i "DUID IAID"
   DHCPv6 IAID . . . . . . . . . . . : 106978108
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-2D-4F-8A-1C-50-54-00-1A-2B-3C

The DUID above starts with 0001 (DUID-LLT) and ends with the MAC 5054.001a.2b3c.

Practical consequences

SituationEffect
ReservationsMust use the DUID (and IAID), not the MAC
Cloned virtual machines or imagesCan share a DUID, so two hosts collide on one lease; regenerate the DUID after cloning
OS reinstallNew DUID, new lease
Correlating with IPv4DUID-LLT and DUID-LL contain a MAC, but not necessarily the interface the request came from

Relay agents can add the client's link-layer address option (RFC 6939) so the server knows the MAC as well.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

IPv6 changed how DHCP identifies clients. Instead of the MAC address used in IPv4, a DHCPv6 client presents a DUID, which identifies the device, and an IAID, which identifies one of its interfaces. The DUID is generated by the operating system and can change when a machine is reinstalled or imaged, so reservations and address tracking need to account for it. Knowing where to read the DUID on each platform saves time when a reservation does not match.

DHCPv6 identifies clients by DUID (DHCP Unique Identifier, per device, e.g. DUID-LLT from link-layer address + time) and IAID (Identity Association ID, per interface). Reservations in DHCPv6 use DUID (+IAID), not MAC addresses, which complicates migrations from IPv4 MAC-based reservations; RFC 6939 lets relays insert the client MAC.

show ipv6 dhcp binding
Get-NetIPv6Protocol; Get-DhcpServerv6Lease        ! Windows
cat /var/lib/dhcp/dhclient6.leases                   ! Linux
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 8200

Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv6 → IPv6 SLAAC / DHCPv6 → DUID / IAID. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%
Confirmation

Confirm action

Continue?