Global unicast addresses, equivalent to public IPv4 addresses, are used for data forwarding on a public network and are necessary for the communication between users.
EUI-64 addresses function the same as global unicast addresses. The difference is that only the network bits need to be specified for an EUI-64 address, and the host bits are derived from the interface MAC address; for a global unicast address, all 128 bits must be specified. The prefix length of the network bits in an EUI-64 address must not be longer than 64 bits.
EUI-64 addresses, global unicast addresses, or both can be configured on an interface to enable communication. Those configured on the same interface, however, must belong to different network segments.
interface interface-type interface-number
ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } [ eui-64 ]
A maximum of 16 global unicast addresses can be configured for each interface.
A global unicast address cannot be the same as its network prefix, because this type of address is a subnet-router anycast address reserved for a device. However, this rule does not apply to an IPv6 address with a 127-bit network prefix.
quit