Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Configure the interface and route on host Host2

An example of how to configure an interface on a host (Host2) to a router (R2) and a static route.

  1. Specify the interface that connects host Host2 to router R2.
    vyatta@Host2# set interfaces dataplane dp0p1s1 address 10.10.3.4/24
  2. Specify that the static route from host Host2 to host Host1 uses the tunnel tun0 as its next hop.
    vyatta@Host2# set protocols static route 10.10.1.0/24 next-hop 10.10.3.3