Unlock instant, AI-driven research and patent intelligence for your innovation.

ARP proxy method, device and apparatus

A technology of ARP proxy and ARP table, applied in the field of equipment and devices, and ARP proxy method, can solve the problem of ARP broadcast traffic consuming network resources, etc.

Pending Publication Date: 2021-02-19
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide an ARP proxy method, device and device for the above-mentioned deficiencies in the prior art, which can solve the problem of broadcasting an ARP request when communicating with a VM not in the ARP cache in a VXLAN network, causing ARP Broadcast traffic consumes network resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • ARP proxy method, device and apparatus
  • ARP proxy method, device and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] Such as figure 1 As shown, this embodiment provides an ARP proxy method, which is applied to an ARP proxy gateway or an ARP backup proxy gateway, wherein the first VM is uplinked to the second VTEP, and the second VM is uplinked to the first VTEP, and the ARP proxy method includes :

[0021] Step 101, receiving an ARP request from the first VM forwarded by the second VTEP, wherein the ARP request includes the IP address of the second VM.

[0022] In this embodiment, when the first VM communicates with the second VM in the same subnet, if the MAC address of the second VM is not found in the local ARP cache of the first VM, the first VM sends an An ARP request, wherein the ARP request includes the IP address of the second VM. The second VTEP forwards the ARP request sent by the first VM to the ARP proxy gateway or the ARP backup proxy gateway.

[0023] Optionally, before receiving the ARP request of the first VM forwarded by the second VTEP, the ARP proxy method furthe...

Embodiment 2

[0031] This embodiment provides an ARP proxy method applied to the first VTEP, wherein the first VM is uplinked to the second VTEP, and the second VM is uplinked to the first VTEP. The ARP proxy method includes:

[0032] Step 201, receiving a gratuitous ARP request sent by a second VM, wherein the gratuitous ARP request includes the IP address of the second VM and the MAC address of the second VM.

[0033] Step 202, learn the MAC address, packet incoming interface, VNI and mapping information among the second VM according to the gratuitous ARP request, and save it in the local MAC address table.

[0034] Step 203, forward the gratuitous ARP request sent by the second VM to the ARP proxy gateway or the ARP backup proxy gateway.

[0035] In this embodiment, the first VTEP forwards the free ARP request of the second VM that is downlinked and online to the ARP proxy gateway or the ARP backup proxy gateway, so that the ARP proxy gateway or the ARP backup proxy gateway builds an ARP...

Embodiment 3

[0037] This embodiment provides an ARP proxy method, which is applied to the second VTEP, wherein the first VM is uplinked to the second VTEP, and the second VM is uplinked to the first VTEP, and the ARP proxy method includes:

[0038] Step 301, receiving an ARP request sent by the first VM, wherein the ARP request includes the IP address of the second VM.

[0039] In this embodiment, when the first VM communicates with the second VM in the same subnet, the MAC address of the second VM is not found in the local ARP cache of the first VM, and the first VM sends an ARP requests.

[0040] Optionally, before receiving the ARP request sent by the first VM, the ARP proxy method further includes: receiving a gratuitous ARP request sent by the first VM, wherein the gratuitous ARP request includes the IP address of the first VM, the MAC address of the first VM ; According to the gratuitous ARP request, learn the first VM's MAC address, packet incoming interface, VNI and mapping inform...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an ARP (Address Resolution Protocol) proxy method, which is applied to an ARP proxy gateway or an ARP backup proxy gateway, a first VM (Virtual Machine) is connected with a second VTEP, and the second VM is connected with a first VTEP, and comprises the following steps: receiving an ARP request forwarded by the second VTEP from the first VM; obtaining an MAC address of a second VM according to a preset ARP table and the IP address of the second VM in the ARP request; and sending an ARP extension response to the second VTEP, the ARP extension response comprising the MAC address of the second VM and the IP address of the first VTEP, so that the first VM sends the VXLAN message according to the MAC address of the second VM. Correspondingly, the invention further provides an ARP proxy device and apparatus. According to the method, the ARP request does not need to be broadcasted when the VXLAN communicates with the VM which is not in the ARP cache, and the problem that network resource consumption is large due to ARP broadcast flow caused by broadcasting of the ARP request is avoided.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to an ARP proxy method, equipment and device. Background technique [0002] In VXLAN (Virtual eXtensible LAN, scalable virtual local area network), when communicating between different VMs (Virtual Machine, virtual machine) belonging to the same VNI (VXLAN Network Identifier, VXLAN Network Identifier) ​​in the same network segment, must First obtain the MAC address of the destination VM. If there is no MAC address of the destination VM in the ARP (Address Resolution Protocol) cache of the source VM, the source VM sends an ARP request, and the uplink VTEP (VXLAN Tunnel End Point, VXLAN Tunnel End Point) receives After receiving the ARP request, send the ARP request to all other VTEPs belonging to the VNI. After receiving the ARP request, other VTEPs broadcast it within the range of the downlink VNI. After receiving the ARP request, the requested destination VM sends an ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/12H04L12/46H04L29/08H04L12/741H04L45/74
CPCH04L61/103H04L12/4641H04L12/4633H04L45/745H04L67/56
Inventor 张余
Owner CHINA UNITED NETWORK COMM GRP CO LTD