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 WEST

Defining a static route on WEST 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.60.0/24 to the far end of the GRE tunnel at 10.3.3.2.

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

Table 1. Defining a static route on WEST
Step Command

Create the static route.

vyatta@WEST# set protocols static route 192.168.60.0/24 next-hop 10.3.3.2

Commit the configuration.

vyatta@WEST# commit

View the modified configuration.

vyatta@WEST# show protocols static route

 192.168.60.0/24 {
    next-hop 10.3.3.2
 }