Vyatta Network OS Documentation

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

Configure a VXLAN-GPE tunnel on the router R2

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

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