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> local-ip <address>

Specifies the IP address for the local endpoint of a tunnel.

set interfaces tunnel tunx local-ip { ipv4_address | ipv6_address }
delete interfaces tunnel tunx local-ip [ ipv4_address | ipv6_address ]
show interfaces tunnel tunx local-ip
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 to use as the tunnel endpoint on the local router. The IP address must already be configured for the interface.
ipv6_address
An IPv6 address to use as the tunnel endpoint on the local router. The IP address must already be configured for the interface.

Configuration mode


interfaces {
	tunnel tunx {
		local-ip 
			ipv4_address
			ipv6_address
	}
}

For a tunnel to function, both the local and remote endpoints must be configured.

Note: You must use different local-ip addresses when configuring two or more mGRE tunnels.

The tunnel configuration must include either the local IP address, specified by using this command, or a local physical interface, specified by using the interfaces tunnel tunx local-interface ifname command. You can use the local interface option only if NHRP map is configured by using the interfaces tunnel <tunx> nhrp map command.

Use the set form of this command to specify the IP address to use as the local endpoint of a tunnel.

Use the delete form of this command to delete the local endpoint of a tunnel.

Use the show form of this command to display the IP address for the local endpoint of a tunnel.