OS10 Enterprise Edition User Guide Release 10.4.0E(R3)


IPv6 addresses

An IPv6 address consists of a 48-bit global routing prefix, optional 16-bit subnet ID, and a 64-bit interface identifier in the extended universal identifier (EUI)-64 format.

IPv6 128-bit addresses are represented as a series of eight 16-bit hexadecimal fields separated by colons: x:x:x:x:x:x:x:x.
Leading zeros in each field are optional. You can also use two colons (::) to represent successive hexadecimal fields of zeros, but you can use this short version only once in each address:
In the following example, all the addresses are valid and equivalent:
  • 2001:0db8:0000:0000:0000:0000:1428:57ab
  • 2001:0db8:0000:0000:0000::1428:57ab
  • 2001:0db8:0:0:0:0:1428:57ab
  • 2001:0db8:0:0::1428:57ab
  • 2001:0db8::1428:57ab
  • 2001:db8::1428:57ab

IPv6 networks are written using CIDR notation. An IPv6 network (or subnet) is a contiguous group of IPv6 addresses the size of which must be a power of two. The initial bits of addresses, which are identical for all hosts in the network, are the network's prefix.

A network is denoted by the first address in the network and the size in bits of the prefix (in decimal), separated with a slash. Because a single host is seen as a network with a 128-bit prefix, host addresses may be written with a following /128.

For example, 2001:0db8:1234::/48 stands for the network with addresses 2001:0db8:1234:0000:0000:0000:0000:0000 through 2001:0db8:1234:ffff:ffff:ffff:ffff:ffff.

As soon as an IPv6 address is assigned, IPv6 packet processing is enabled on an interface. You can manually disable and re-enable IPv6 processing on an interface configured with an IPv6 address using the no ipv6 enable and ipv6 enable commands.

To remove all IPv6 addresses from an interface, use the no ipv6 address command. To remove a specific IPv6 address, use the ipv6 address ipv6-address/mask command.

Link-local addresses

When an OS10 switch boots up, an IPv6 unicast link-local address is automatically assigned to an interface using stateless configuration. A link-local address allows IPv6 devices on a local link to communicate without requiring a globally unique address. IPv6 reserves the address block FE80::/10 for link-local unicast addressing.

Global addresses

To enable stateless autoconfiguration of an IPv6 global address and set the interface to Host mode, use the ipv6 address autoconfig command. The router receives network prefixes in IPv6 router advertisements (RAs). An interface ID is appended to the prefix. In Host mode, IPv6 forwarding is disabled.

The no ipv6 address autoconfig command disables IPv6 global address autoconfiguration, and sets the interface to Router mode with IPv6 forwarding enabled.

DHCP-assigned addresses

As an alternative to stateless autoconfiguration, you can enable a network host to obtain IPv6 addresses using a DHCP server via stateful autoconfiguration using the ipv6 address dhcp command. A DHCPv6 server uses a prefix pool to configure a network address on an interface. The interface ID is automatically generated.

Manally configured addresses

An interface can have multiple IPv6 addresses. To configure an IPv6 address in addition to the link-local address, use the ipv6 address ipv6-address/mask command. Enter the full 128-bit IPv6 address, including the network prefix and a 64-bit interface ID.

You can also manually configure an IPv6 address by assigning:
  • A network prefix with the EUI-64 parameter using the ipv6 address ipv6-prefix eui64 command. A 64-bit interface ID is automatically generated based on the MAC address.
  • A link-local address to use instead of the link-local address that is automatically configured when you enable IPv6 using the ipv6 address link-local command.

Configure IPv6 address

OS10(config)# interface ethernet 1/1/8
                                 OS10(conf-if-eth1/1/8)# ipv6 address 2001:dddd:0eee::4/64

Configure network prefix

OS10(config)# interface ethernet 1/1/8
                                 OS10(conf-if-eth1/1/8)# ipv6 address 2001:FF21:1:1::/64 eui64

Configure link-local address

OS10(config)# interface ethernet 1/1/8
                                 OS10(conf-if-eth1/1/8)# ipv6 address FE80::1/64 link-local

Rate this content

Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\