An interface identifier is the 64-bit host portion of an IPv6 address. It identifies a network interface within an IPv6 /64 prefix. In a typical global unicast address, the first 48 bits are the global routing prefix, the next 16 bits identify a subnet, and the final 64 bits identify the interface. section 20.5.1
Modified EUI-64 automatically derives an interface identifier from a 48-bit MAC address:
- Divide the MAC address into two 24-bit halves. section 20.4.2
- Insert the reserved value fffe between the halves, producing 64 bits. section 20.4.2
- Invert the seventh bit, represented by the third bit of the second hexadecimal digit. section 20.4.2
Cisco IOS configuration
Applying `ipv6 address 2001:db8:0:2::/64 eui-64` to R1 G0/2 lets IOS generate the interface identifier. For MAC address 0060.2f62.b803, the result is 0260:2fff:fe62:b803, producing 2001:db8:0:2:260:2fff:fe62:b803. The same identifier can appear in the interface's automatically generated link-local address. section 20.4.2
