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

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

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