Posted on December 15, 2020 8:00 am
 |  Asked by saverio giuntini
Print Friendly, PDF & Email


I’m testing vEOS with basic flood-and-learn VXLAN topology. Is it possible to assign multiple VXLAN to a single interface?


int Et1:

untagged frames are mapped to VNI xxxx

tagged frames (vlan 123) are mapped to VNI yyyy

tagged frames (vlan 456) are mapped to VNI zzzz



so that on the linux end host, the configuration will be something like:

eth0: public_ip/32 gw: virtual_gw

Vlan.123: private_subnet

Vlan.456: private_subnet

Posted by Aniket Bhowmick
Answered on December 15, 2020 8:16 am

Hello Saverio

Thank you for posting your question.

Please find your answers below:

  1. A VLAN to VNI mapping is a configuration under "interface vxlan 1" and it is independent of whether you configure "tagged" or "untagged" Vlan on an interface. A VNI is just the representative of the VLAN ID in the Vxlan Fabric.
  2. You can configure multiple Vlans (Tagged or untagged) on an interface, by making the interface as a Trunk port. Below are the steps:
    1. (confg)interface Ethernet1/4
      switchport trunk native vlan 100
      switchport trunk allowed vlan 100,123,456
      switchport mode trunk
  3. In above configuration, Vlan 123, 456 and 100 are allowed. Vlan 123 and 456 will exchange Tagged packets while Vlan 100 (Native Vlan) will exchange untagged packets.
  4. Now, we will map all the three Vlans to a unique VNI under "interface vxlan 1"
    1. interface Vxlan1
      vxlan source-interface Loopback1
      vxlan udp-port 4789
      vxlan vlan 100 vni 1000
      vxlan vlan 123 vni 1230
      vxlan vlan 456 vni 4560
      vxlan flood vtep
  5. If you want, you can avoid configuring the native Vlan 100 (for untagged packets) and just use the default Vlan (Vlan-1) for exchanging untagged packets and give a VNI for Vlan-1.

Let us know if this meets your requirement or if you are looking for something else.


Post your Answer

You must be logged in to post an answer.