home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

interfaces tunnel <tunx> ipv6 address

Assigns an IPv6 address to a tunnel interface.

set interfaces tunnel tunx ipv6 address [ autoconf | eui64 ipv6prefix | link-local ipv6-address ]
delete interfaces tunnel tunx ipv6 address [ autoconf | eui64 ipv6prefix | link-local ipv6-address ]
show interfaces tunnel tunx ipv6 address [ autoconf | eui64 | link-local ]
tunx
The identifier of a tunnel interface. The identifier ranges from tun0 through tunx, where x is a nonnegative integer.
autoconf
Generates an IPv6 address by using the SLAAC protocol. Use this option if the interface is performing a “host” function rather than a “router” function. This option can be specified in addition to static IPv6, static IPv4, and IPv4 DHCP addresses on the interface.
eui64 ipv6prefix
Specifies a 64-bit IPv6 address prefix that is used to configure an IPv6 address, in EUI-64 format. The system concatenates this prefix with a 64-bit EUI-64 value that is derived from the 48-bit MAC address of the interface.
link-local ipv6-address
Sets the link-local IPv6 address.

Configuration mode


interfaces {
	tunnel tunx {
		ipv6 {
			address {
				autoconf
				eui64 ipv6prefix
				link-local ipv6-address
			}
		}
	}	
}

You can use the autoconf keyword to direct the system to automatically configure (autoconfigure) the address by using the Stateless Address Autoconfiguration (SLAAC) protocol that is defined in RFC 4862. Alternatively, you can provide an EUI-64 IPv6 address prefix so that the system constructs the IPv6 address.

If you want the system to use SLAAC to acquire addresses on this interface, then in addition to setting this parameter, you must also disable IPv6 forwarding, either globally (by using the system ipv6 disable-forwarding command) or specifically on this interface (by using interfaces tunnel <tunx> ipv6 disable-forwarding).

Use the set form of this command to assign an IPv6 address to a tunnel interface.

Use the delete form of this command to delete an IPv6 address from a tunnel interface.

Use the show form of this command to display the current IPv6 addresses for an interface.