EUI-64 (Extended Unique Identifier 64)

Used to generate the host part of IPv6 address. To perform EUI-64 (Extended Unique Identifier 64), we follow the following steps:

  1. Get the mac address of device
  2. Split into half
  3. insert FFFE in the middle
  4. Take the first 2 digit
  5. Convert the first 2 into binary
  6. Flip the 7th bit
  7. Convert it back to hex
  8. Concatenate everything
  9. Get the host portion

Pasted image 20240721204911.png

To generate this in cisco switch, we can run the following command

ipv6 add 2001::/64 eui-64