Got it

VXLAN Network Identifier(VNI)

Latest reply: Apr 18, 2022 02:36:05 645 48 18 0 0

An identifier is used to distinguish different VXLANs, similar to the VLAN ID for VLANs. Virtual machines on different VXLANs cannot communicate with each other over Layer 2.


What are VTEPs and VNIs in VXLAN?


Next, let's learn about the VXLAN network model and common concepts. 


VXLAN network model

Two servers communicate through a VXLAN network


A tunnel is established between two top-of-rack (TOR) switches to encapsulate the original data frames sent by the source server into VXLAN packets so that the original data frames can be transmitted on the bearer network (such as an IP network). When the VXLAN packets arrive at the TOR switch connected to the destination server, the TOR switch decapsulates these packets into the original data frames and forwards the frames to the destination server.


What is a VTEP?


VXLAN tunnel endpoints (VTEPs) are edge devices on a VXLAN network and are the start point and endpoint of a VXLAN tunnel. VXLAN encapsulates and decapsulates original user data frames on the VTEP.


A VTEP can be a network device (for example, Huawei CloudEngine series switches) or a virtual switch in a server. The original data frames sent by the source server are encapsulated into VXLAN packets on the VTEP, transmitted to another VTEP on the IP network, decapsulated, restored, and forwarded to the destination server.


If VMs connected to different VTEPs need to communicate with each other at Layer 2, a VXLAN tunnel needs to be established between the two VTEPs.


What is a VNI?


 A VNI is a user identifier similar to a VLAN ID. A VNI represents a tenant. VMs belonging to different VNIs cannot directly communicate with each other at Layer 2. When VXLAN packets are encapsulated, a length of 24 bits is allocated to the VNI to support the isolation of a large number of tenants.


VNIs can be classified into Layer 2 VNIs and Layer 3 VNIs, which have different functions:


Layer 2 VNIs are common VNIs and are mapped to BDs in 1:1 mode to forward VXLAN packets in the same subnet;


Layer 3 VNIs are associated with VPN instances to forward VXLAN packets across subnets;


VXLAN Packet Encapsulation Format;


A VXLAN header is added to the original packet and then encapsulated in the UDP header. The IP and MAC addresses of the bearer network are used as the outer headers for encapsulation.


VXLAN packet


Understand VXLAN in one sentence: move the original data link layer communication to the network layer.

  • x
  • convention:

Saqibaz
Saqibaz Created 2022-2-16 14:30 (1) (0)
 
wissal
wissal Created 2022-2-16 15:37 (0) (0)
Thank you, my friend  
andersoncf1
andersoncf1 Created 2022-2-17 01:39 (0) (0)
 
jason_hu
jason_hu Reply wissal  Created 2022-2-24 16:01 (0) (0)
Thank you!  
azkasaqib
azkasaqib Created 2022-4-6 03:06 (0) (0)
 
Thanks for sharing
View more
  • x
  • convention:

jason_hu
jason_hu Created 2022-2-24 16:02 (0) (0)
Thanks for the support.  
VTEPs use control plane learning/distribution via BGP of IP addresses (instead of MAC addresses). The virtual routing and forwarding instances are mapped to the VNI. The inner destination MAC address in the VXLAN header does not belong to the host but to the receiving VTEP that does the routing of the VXLAN payload.
View more
  • x
  • convention:

jason_hu
jason_hu Created 2022-2-24 16:02 (0) (0)
Yes  
Very Interesting information
View more
  • x
  • convention:

Good thanks for sharing
View more
  • x
  • convention:

jason_hu
jason_hu Created 2022-2-24 16:02 (0) (0)
Thanks for the support.  
Well done master! Thank you!
View more
  • x
  • convention:

jason_hu
jason_hu Created 2022-2-24 16:02 (0) (0)
Thank you!  
well defined, thanks for sharing.
View more
  • x
  • convention:

jason_hu
jason_hu Created 2022-2-24 16:02 (0) (0)
 
ulrichwandja
ulrichwandja Created 2022-3-24 12:47 (0) (0)
✌  
hemin88
Moderator Author Created 2022-2-19 00:42:39

Informative post on VTEPs and VNIs in VXLAN.

Thank you for sharing this knowledge
View more
  • x
  • convention:

jason_hu
jason_hu Created 2022-2-24 16:03 (0) (0)
Thanks for the support.  
Useful post on VXLAN Network Identifier
View more
  • x
  • convention:

jason_hu
jason_hu Created 2022-2-24 16:03 (0) (0)
Thanks for the support.  
123
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.