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> local-interface <interface-name>

Allows tunnel support if the local physical interface designated for a tunnel endpoint is configured using DHCP.

set interfaces tunnel tunx local-interface interface-name
delete interfaces tunnel tunx local-interface interface-name
show interfaces tunnel tunx local-interface
tunx
The identifier of a tunnel interface. The identifier ranges from tun0 through tunx, where x is a nonnegative integer.
interface-name
The identifier of a physical interface.

Configuration mode


interfaces {
    tunnel tunx {
        local-interface interface-name 
    }
}

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

This feature is intended for use on NHRP spoke routes. You can use this command only if NHRP map is configured by using the interfaces tunnel <tunx> nhrp map command.

The encapsulation type must be GRE multipoint.

It cannot be used with NHRP hub configurations. The hub end of the NHRP tunnel must be able to reach the DHCP subnet from which the spoke is assigned a local DHCP address.

The tunnel configuration must include either a local physical interface that is configured using DHCP, as specified in this command, or a local IP address, specified by using the interfaces tunnel tunx local-ip address command.

The local interface specified in this command must be configured for DHCP.

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.