home

Supported platforms

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 tunnel on router R2

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

  1. Specify the bridge domain address.
    vyatta@R2# set interfaces bridge br1 address 1.1.1.3/24
  2. Specify that traffic transmitted between R2 and H1 uses interface dp0p1s2 and is associated with bridge br1.
    vyatta@R2# set interfaces dataplane dp0p1s2 bridge-group bridge br1
  3. Specify that interface dp0p1s1 connects to IP address 10.10.2.3.24 as the source VTEP for R2.
    vyatta@R2# set interfaces dataplane dp0p1s1 address 10.10.2.3/24
  4. Specify that tunnel tun0 is to be used for bridge group br1.
    vyatta@R2# set interfaces tunnel tun0 bridge-group bridge br1
  5. Specify that the tunnel tun0 is a VXLAN tunnel.
    vyatta@R2# set interfaces tunnel tun0 encapsulation vxlan
  6. Specify the local IP address to be used by the tunnel.
    vyatta@R2# set interfaces tunnel tun0 local-ip 10.10.2.3
  7. Specifies the remote IP address to be used by the tunnel.
    vyatta@R2# set interfaces tunnel tun0 remote-ip 10.10.2.2
  8. Specifies the VXLAN ID of the tunnel tun0.
    vyatta@R2# set interfaces tunnel tun0 vxlan-id 5000