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.

Defining the GRE tunnel on EAST

For details on GRE tunnels, refer to Ciena Vyatta Network OS Tunnels Configuration Guide.

This task defines EAST's end of the GRE tunnel. In this example:

  • The tunnel interface tun0 on router EAST is assigned the IP address 10.3.3.2/30.
  • The encapsulation type is set to GRE.
  • The IP address on the local side of the GRE tunnel (local-ip) is set to that of the local data plane interface (192.0.2.33).
  • The IP address of the other end of the GRE tunnel (remote-ip) is set to the address of the remote system (192.0.2.1).

To create the tunnel interface and the tunnel endpoint on EAST, perform the following steps in configuration mode.

Table 1. Defining the GRE tunnel from EAST to WEST
Step Command

Create the GRE tunnel interface, and specify the IP address to be associated with it.

vyatta@EAST# set interfaces tunnel tun0 address 10.3.3.2/30

Assign a brief description for the GRE tunnel interface.

vyatta@EAST# set interfaces tunnel tun0 description “GRE tunnel to router WEST”

Specify the encapsulation mode for the tunnel.

vyatta@EAST# set interfaces tunnel tun0 encapsulation gre

Allow multicast protocols (e.g., routing protocols) to be carried over the tunnel.

vyatta@EAST# set interfaces tunnel tun0 multicast enable

Specify the local IP address for the GRE tunnel.

vyatta@EAST# set interfaces tunnel tun0 local-ip 192.0.2.33

Specify the remote IP address for the GRE tunnel.

vyatta@EAST# set interfaces tunnel tun0 remote-ip 192.0.2.1

Commit the configuration.

vyatta@EAST# commit

View the modified configuration.

vyatta@EAST# show interfaces tunnel tun0

 address 10.3.3.2/30
 description “GRE tunnel to router WEST”
 encapsulation gre
 local-ip 192.0.2.33
 multicast enable
 remote-ip 192.0.2.1