Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Modified EUI-64

Direct answer

Modified EUI-64 builds a 64-bit IPv6 interface ID from a 48-bit MAC address by inserting FFFE in the middle and flipping the seventh bit (universal/local) of the first byte.

When to use this

Use it to work out an IPv6 interface ID from a MAC address, or recognise EUI-64 addresses.

First 30 seconds

1. Modified EUI-64 builds a 64-bit interface ID from the MAC: insert FFFE in the middle and flip the U/L bit.

2. Used for link-local and SLAAC.

3. Exposes MAC (privacy concerns).

4. ipv6 address <prefix>/64 eui-64 on Cisco.

5. Calculate to verify.

Operational verification

MAC → split + FFFE → flip U/L bit → interface ID

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 to work out an IPv6 interface ID from a MAC address, or recognise EUI-64 addresses.
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.

1 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 Verification and output interpretation Verify boundary

Compare the interface identifier with the source MAC using the FFFE insertion and universal/local-bit inversion rules, then verify the address is actually assigned and has passed Duplicate Address Detection. Check the prefix source separately: a correctly derived interface identifier under the wrong prefix is still the wrong address for the link. If the host uses privacy/stable-random addressing, absence of the EUI-64 pattern is expected rather than a fault.

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
  • Compress one longest zero run once; never remove meaningful hextets
  • /64 is the normal LAN prefix for SLAAC-compatible subnets
  • Link-local addresses support neighbor/router communication but are interface scoped
  • IPv6 has no broadcast; multicast and anycast serve distinct roles.
Key checks
  • show ipv6 interface <interface> — EUI-64 address
  • Method: split MAC, insert FFFE, flip 7th bit — calculation
ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

Modified EUI-64: building an interface ID from a MAC address

RFC 4291 defines how a 64-bit interface ID is derived from a 48-bit MAC address: insert the bytes FF FE between the first three bytes (company ID) and the last three, then invert the universal/local bit (the second-lowest bit of the first byte).

Worked example: MAC 50:54:00:1a:2b:3c

StepResult
Split the MAC50:54:00 and 1a:2b:3c
Insert FF:FE50:54:00:ff:fe:1a:2b:3c
Invert the u bit in the first byte: 0x50 = 0101 0000 → 0101 0010 = 0x5252:54:00:ff:fe:1a:2b:3c
Write as an interface ID5254:00ff:fe1a:2b3c
With prefix 2001:db8:20::/642001:db8:20:0:5254:ff:fe1a:2b3c

The ff:fe in the middle of an address is the sign of an EUI-64 interface ID.

R1(config)# interface Vlan20
R1(config-if)# ipv6 address 2001:db8:20::/64 eui-64
R1# show ipv6 interface Vlan20 | include FE80|subnet
  IPv6 is enabled, link-local address is FE80::A6BB:6DFF:FE33:4444
    2001:DB8:20::A6BB:6DFF:FE33:4444, subnet is 2001:DB8:20::/64 [EUI]
R1# show interfaces Vlan20 | include address is
  Hardware is Ethernet SVI, address is a4bb.6d33.4444 (bia a4bb.6d33.4444)

MAC a4bb.6d33.4444 → first byte 0xA4 with the u bit inverted is 0xA6 → interface ID A6BB:6DFF:FE33:4444.

Where EUI-64 is used today

UseStatus
Router link-local addresses on Cisco IOSDefault
Router global addressesOptional (eui-64 keyword); fixed addresses are usually preferred
Host SLAAC addressesMostly replaced by stable random IDs (RFC 7217) and temporary addresses (RFC 8981) for privacy

Privacy

An EUI-64 address carries the device's MAC, so the device can be recognised across networks. Modern operating systems therefore generate random interface IDs by default, which is why host addresses seldom show ff:fe any more.

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

Modified EUI-64 creates a 64-bit interface identifier from a 48-bit MAC address: split the MAC in half, insert fffe in the middle, and flip the seventh bit (universal/local bit) of the first byte.

MAC:          00:1a:2b:3c:4d:5e
Insert fffe:  00:1a:2b:ff:fe:3c:4d:5e
Flip 7th bit: 02:1a:2b:ff:fe:3c:4d:5e
Interface ID: 021a:2bff:fe3c:4d5e

Documented example, not captured output.

interface Gi0/1
 ipv6 address 2001:db8:10::/64 eui-64

Documented example, not captured output.

Because the MAC is visible in the address, many hosts use random or privacy addresses (RFC 7217/8981) instead of EUI-64 for SLAAC.

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

State model and technical mechanics

For the classic modified EUI-64 construction, split the 48-bit MAC into two 24-bit halves, insert ff:fe between them, and invert the universal/local bit in the first octet. Combined with a /64 prefix, the result forms a 128-bit IPv6 address. The method historically allowed deterministic interface identifiers without a separate stateful address service, but many modern operating systems prefer stable-random or privacy-oriented identifiers for host addressing. The calculation describes interface-identifier construction only; Duplicate Address Detection, prefix validity and router/default-route information are separate IPv6 mechanisms. Read the mechanism as a chain of dependent state rather than a single boolean. The same configured object can be healthy locally while an adjacent interface, policy, route, neighbor or endpoint prevents the intended service, so the reference keeps those state boundaries explicit.

Limits and common misconceptions

EUI-64 does not guarantee global uniqueness, security or reachability, and the embedded pattern should not be treated as authoritative device identity. Modern systems can deliberately avoid MAC-derived identifiers. Likewise, deriving the arithmetic correctly says nothing about whether RA, routing, ND or application state is operational.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Use EUI-64 only when deterministic MAC-derived addressing matches the device/platform design. For servers, infrastructure or privacy-sensitive clients, static, DHCPv6, stable-random or temporary addressing may be more appropriate. Do not build access control or identity assumptions around the idea that every IPv6 host exposes a MAC-derived interface identifier. When an address is expected to be EUI-64-derived, record the prefix and source MAC so the derivation can be verified rather than guessed from visual similarity.

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 → Modified EUI-64. Documentation verification only; this is not observed lab or production Evidence.

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

Quick lookup tables

Modified EUI-64 · technical reference

Compact mechanics, configuration and evidence boundaries for fast lookup.

StepOperation
1Split 48-bit MAC
2Insert FFFE
3Flip U/L bit
4Combine with /64 prefix
Confirmation

Confirm action

Continue?