
Assigning IPv6 Addresses
Configuring IPv6
page 17-16
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
Assigning IPv6 Addresses
As was previously mentioned, when an IPv6 interface is created for a VLAN or a configured tunnel, an
IPv6 link-local address is automatically created for that interface. This is also true when a device, such as a
workstation, is connected to the switch.
Link-local addresses, although private and non-routable, enable interfaces and workstations to communi-
cate with other interfaces and workstations that are connected to the same link. This simplifies getting
devices up and running on the local network. If this level of communication is sufficient, assigning addi-
tional addresses is not required.
If it is necessary to identify an interface or device to the entire network, or as a member of a particular
group, or enable an interface to perform routing functions, then configuring additional addresses (e.g.,
global unicast or anycast) is required.
command to manually assign addresses to an existing interface (VLAN or tunnel) or
device. For example, the following command assigns a global unicast address to the VLAN interface
v6if-v200
:
-> ipv6 address 2001:db8:4100:1000::20/64 v6if-v200
In the above example, 2001:db8:4100:1000:: is specified as the subnet prefix and 20 is the interface identi-
fier. Note that the IPv6 address is expressed using CIDR notation to specify the prefix length. In the above
example,
/64
indicates a subnet prefix length of 64 bits.
To use the MAC address of an interface or device as the interface ID, specify the
eui-64
option with this
command. For example:
-> ipv6 address 2001:db8:4100:1000::/64 eui-64 v6if-v200
The above command example creates address 2001:db8:4100:1000::2d0:95ff:fe12:fab2/64 for interface
v6if-v200
.
Note the following when configuring IPv6 addresses:
•
It is possible to assign more than one address to a single interface.
•
Any field of an address may contain all zeros or all ones. The exception to this is the interface identi-
fier portion of the address, which cannot be all zeros. If the
eui-64
option is specified with the
ipv6
address
command, this is not an issue.
•
The EUI-64 interface identifier takes up the last 64 bits of the 128-bit IPv6 address. If the subnet prefix
combined with the EUI-64 interface ID is longer than 128 bits, an error occurs and the address is not
created.
A subnet router anycast address is automatically created when a global unicast address is assigned to an
interface. The anycast address is derived from the global address by adding an interface ID of all zeros to
the prefix of the global address. For example, the global address 2001:db8:4100:1000::20/64 generates the
anycast address 2001:db8
:
4100:1000::/64.
•
Devices, such as a PC, are eligible for stateless autoconfiguration of unicast addresses in addition to the
link-local address. If this type of configuration is in use on the network, manual configuration of
addresses on the PC is not required.
•
IPv6 VLAN or tunnel interfaces are only eligible for stateless autoconfiguration of their link-local
addresses. Manual configuration of addresses is required for all additional addresses.