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:
- Get the mac address of device
- Split into half
- insert
FFFE
in the middle - Take the first 2 digit
- Convert the first 2 into binary
- Flip the 7th bit
- Convert it back to hex
- Concatenate everything
- Get the host portion
To generate this in cisco switch, we can run the following command
ipv6 add 2001::/64 eui-64