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.

Configure a VXLAN-GPE tunnel on the router R1

An example that shows you how to configure a VXLAN-CPE tunnel on a router (R1).

  1. Specify the interface for communications from Host1 to R1.
    vyatta@R1# set interfaces dataplane dp0p1s1 address 10.10.1.2/24
  2. Specify the interface for communications from R1 to the IP transport network.
    vyatta@R1# set interfaces dataplane dp0p1s2 address 10.10.2.2/24
  3. Specify the local IP address of the tunnel tun0.
    vyatta@R1# set interfaces tunnel tun0 address 10.5.5.2/24
  4. Specify that the tunnel tun0 is a VXLAN-GPE tunnel.
    vyatta@R1# set interfaces tunnel tun0 encapsulation vxlan-gpe
  5. Specifies the local IP address of R1 in its connection to the IP transport network.
    vyatta@R1# set interfaces tunnel tun0 local-ip 10.10.2.2
  6. Specify the IP address of R2 as its destination.
    vyatta@R1# set interfaces tunnel tun0 remote-ip 10.10.2.3
  7. Specify the VXLAN ID of the tunnel tun0.
    vyatta@R1# set interfaces tunnel tun0 vxlan-id 5000
  8. Specifies that the static route from R1 to R2 uses the tunnel tun0 as its next hop.
    vyatta@R1# set protocols static interface-route 10.10.3.0/24 next-hop-interface tun0