How IPv6 EUI-64 Format Works | CCNA 200-301 Guide
EUI-64 is a method where a device automatically generates a 64-bit IPv6 interface ID from its 48-bit MAC address by inserting 'fffe' in the middle and flipping the 7th bit of the first byte.
What is EUI-64?
When configuring an IPv6 address, the host portion (Interface ID) is typically 64 bits long. Instead of manually typing 64 bits or relying entirely on a DHCP server, a device can use the **Extended Unique Identifier (EUI-64)** process to automatically derive a unique Interface ID from its own burned-in MAC address.
The EUI-64 Conversion Process
A MAC address is 48 bits, but an IPv6 Interface ID needs 64 bits. EUI-64 bridges this gap in two steps:
1. **Split and Insert:** The 48-bit MAC address is split in half (24 bits and 24 bits). The 16-bit hex value `FFFE` is inserted directly into the middle. 2. **Flip the U/L Bit:** The 7th bit of the first byte of the original MAC address (the Universal/Local bit) is inverted (flipped). If it's a 0, it becomes 1; if it's 1, it becomes 0.
EUI-64 Example
Let's convert the MAC address `00:11:22:AA:BB:CC` to an EUI-64 Interface ID.
1. Split and insert `FFFE`: `0011:22FF:FEAA:BBCC` 2. The first byte is `00` (hex), which is `00000000` in binary. The 7th bit is 0. 3. Flip the 7th bit: `00000010` in binary, which is `02` in hex. 4. The final EUI-64 Interface ID is `0211:22FF:FEAA:BBCC`.
Appended to a `/64` prefix like `fe80::`, the full address is `fe80::211:22ff:feaa:bbcc`.
❓ Frequently Asked Questions
What does EUI-64 stand for?
EUI-64 stands for Extended Unique Identifier 64-bit.
What value is inserted into the middle of the MAC address during EUI-64 conversion?
The 16-bit hexadecimal value FFFE is inserted into the middle of the MAC address.
Which bit is flipped in the EUI-64 process?
The 7th bit of the first byte of the MAC address (the U/L bit) is flipped.