No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - VPN

AR650, AR1600, and AR6100 V300R003

This document describes VPN features on the device and provides configuration procedures and configuration examples.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Packet Encapsulation Format

Packet Encapsulation Format

During VXLAN encapsulation, a VXLAN header, UDP header, IP header, and Ethernet header are added in sequence to an original packet.

Figure 7-3 shows the packet encapsulation format.

Figure 7-3  VXLAN packet format

Table 7-2 describes headers added to an original packet during VXLAN encapsulation.

Table 7-2  Description of headers added to an original packet

Field

Description

VXLAN header

  • VXLAN Flags: specifies flags (8 bits). The value is 00001000.
  • VNI: specifies an identifier (24 bits) used to identify a VXLAN segment, with up to 16M tenants. Users in different VXLAN segments cannot directly communicate at Layer 2.
  • Reserved: The two reserved fields (24 and 8 bits respectively) are set to 0.

Outer UDP header

  • DestPort: specifies the destination UDP port number. The value is 4789.
  • Source Port: specifies the source port number. It is the hash value calculated using parameters in the inner Ethernet frame header.

Outer IP header

  • IP SA: specifies the source IP address, which is the IP address of the source VTEP.
  • IP DA: specifies the destination IP address, which is the IP address of the destination VTEP.

Outer Ethernet header

  • MAC DA: specifies the destination MAC address, which is the MAC address of the next-hop device on the route to the destination VTEP.
  • MAC SA: specifies the source MAC address, which is the MAC address of the source VTEP that sends the packet.
  • 802.1Q Tag (optional): specifies the VLAN tag in the packet.
  • Ethernet Type: specifies the type of the Ethernet frame. The value of this field is 0x0800 when an IP packet is transmitted.
Download
Updated: 2019-04-12

Document ID: EDOC1100041799

Views: 31422

Downloads: 43

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next