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.

security vpn ipsec site-to-site peer <peer> dhcp-interface <interface>

Specifies a DHCP client interface to use for the connection.

set security vpn ipsec site-to-site peer peer dhcp-interface interface
delete security vpn ipsec site-to-site peer peer dhcp-interface
show security vpn ipsec site-to-site peer peer dhcp-interface
peer
Mandatory. The address of the far-end VPN gateway. The format is an IPv4 address, an IPv6 address, a hostname (IPv4 networks only), an authentication ID, or 0.0.0.0.
interface
The interface to use for the VPN connection (e.g. dp0p1p1). Note that the interface must be configured as a DHCP client.

Configuration mode


security {
        vpn {
            ipsec {
                site-to-site {
                    peer peer{
                        dhcp-interface interface
                }
            }
        }
    }
}

Use this command to specify a DHCP client interface to use for the connection. The connection will be automatically restarted if the IP address changes.

Note: This option cannot be used if security vpn ipsec site-to-site peer <peer> local-address <address> is also set.

Use the set form of this command to specify a DHCP interface to use for the connection.

Use the delete form of this command to remove the configuration.

Use the show form of this command to view the configuration.