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.

Defining a static route on EAST

This task creates the static route for traffic destined for the far end of the GRE tunnel.

Note: Routing protocols can be used to specify how to get to the remote network. This method simply provides the minimal requirement to achieve this.
  • Send traffic destined for 192.168.40.0/24 to the far end of the GRE tunnel at 10.3.3.1.

To create the static route, perform the following steps on EAST in configuration mode.

Table 1. Defining a static route on EAST
Step Command

Create the static route.

vyatta@EAST# set protocols static route 192.168.40.0/24 next-hop 10.3.3.1

Commit the configuration.

vyatta@EAST# commit

View the modified configuration.

vyatta@EAST# show protocols static route

 192.168.40.0/24 {
    next-hop 10.3.3.1
 }