Vyatta NOS documentation

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

interfaces tunnel <tunx> address <address>

Assigns a primary or secondary IP address to a tunnel interface.

set interfaces tunnel tunx address { ipv4_address | ipv6_address }
delete interfaces tunnel tunx address [ ipv4_address | ipv6_address ]
show interfaces tunnel tunx address
tunx
The identifier of a tunnel interface. The identifier ranges from tun0 through tunx, where x is a nonnegative integer.
ipv4_address
An IPv4 address on the interface. The format of the address is ip_address/prefix (for example, 192.168.1.77/24).

You can define multiple IPv4 addresses for a single interface by creating multiple address configuration nodes.

ipv6_address
An IPv6 address on the interface. The format of the address is ipv6_address/prefix (for example, 2001:db8:1234::/48).

You can define multiple IPv6 addresses for a single interface by creating multiple address configuration nodes.

Configuration mode


interfaces {
	tunnel tunx {
		address 
			ipv4_address 
			ipv6_address
	}
}

Use this command to assign a primary or secondary IP address to a tunnel interface. At least one address must be configured for the tunnel interface to function.

Note that you cannot use the set form of this command to change an existing address; you must delete the address to be changed and create a new one.

Use the set form of this command to create an IP address for a tunnel interface.

Use the delete form of this command to delete an IP network address for a tunnel interface. At least one address must remain for the tunnel to function.

Use the show form of this command to display address configuration for a tunnel interface.