CN111404843A - Optimization method and system for processing ARP data packet under IASS network platform - Google Patents
Optimization method and system for processing ARP data packet under IASS network platform Download PDFInfo
- Publication number
- CN111404843A CN111404843A CN202010148473.1A CN202010148473A CN111404843A CN 111404843 A CN111404843 A CN 111404843A CN 202010148473 A CN202010148473 A CN 202010148473A CN 111404843 A CN111404843 A CN 111404843A
- Authority
- CN
- China
- Prior art keywords
- address
- arp
- virtual machine
- mac address
- relation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/70—Virtual switches
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/201—Multicast operation; Broadcast operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/10—Mapping addresses of different types
- H04L61/103—Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Abstract
The invention discloses an optimization method and a system for processing ARP data packets under an IASS network platform, wherein the optimization method comprises the following steps: the virtual router and the virtual machine VM are transmitted through the virtual switch for ARP data packet transmission; the maintenance module distributes and records the relation between the IP address and the MAC address of each virtual machine VM, and then calls the record in real time or in a certain period; the execution module acquires the relation between the IP address and the MAC address, executes an ARP static binding command and writes the ARP static binding command into an ARP table; the maintenance module updates the relation between the IP address and the MAC address; the maintenance module releases the failed IP address and the MAC address, then informs the execution module, and the execution module deletes the related ARP static binding and updates an ARP table; and setting a certain time period, and updating the ARP table by the execution module. According to the invention, the bandwidth occupied by the ARP request in the cloud computing environment broadcast packet is optimized, and the network analysis efficiency is improved.
Description
Technical Field
The invention relates to the technical field of ARP data packets of an IASS network platform, in particular to an optimization method and an optimization system for processing ARP data packets under the IASS network platform.
Background
With the development of the internet, cloud computing is also becoming more and more a trend. For a traditional cloud computing IASS service, the transmission of the network thereof is required to follow the network transmission protocol. Under the TCP/IP network architecture, the conversion of the IP address and the MAC address needs to use an ARP protocol. The traditional network architecture is a network situation under a physical device, wherein the traditional network architecture is as follows: the router is connected with the switch through the gateway, and the switch can be connected with a plurality of PC terminals. Under the traditional network architecture, the method has the following characteristics: 1. the device sends out broadcast packets (flooding the network link) continuously and periodically; 2. then the device receiving the broadcast unicasts (replies the data packet) if the device requests the device, and directly discards the data packet if the device does not request the device; 3. the ARP request packet, whether needed or not, is sent to the outside in the default 5 minutes (since the corresponding entry of the ARP table information is deleted by default for this period, it is sent to the outside).
The broadcast packet of the ARP request is always filled on a network link, and the birth of the protocol is the flow, so that with the development of cloud computing, more clients exist in a local area network in a virtual environment, and more network devices exist. Causing broadcast packets of ARP requests to ramp up. The method occupies part of network bandwidth, and simultaneously, broadcast packets can be captured during packet capture analysis, which affects analysis efficiency.
For a traditional ias service platform, virtualization is performed under a traditional network architecture, that is: the virtual router is connected with the virtual switch through the gateway, and the virtual switch can be connected with a plurality of virtual machines or virtual servers.
Disclosure of Invention
In order to overcome the defects and shortcomings of the prior art, the invention provides an optimization method and a system for processing an ARP data packet under an IASS network platform.
In order to solve the technical problems, the invention provides the following technical scheme: an optimization method for processing ARP data packets under an IASS network platform comprises the following steps:
the virtual router and the virtual machine VM are transmitted through the virtual switch for ARP data packet transmission;
the maintenance module distributes and records the relation between the IP address and the MAC address of each virtual machine VM, and then calls the record in real time or in a certain period; the execution module acquires the relation between the IP address and the MAC address, executes an ARP static binding command and writes the ARP static binding command into an ARP table;
in the calling process, if the virtual machine VM is destroyed or the IP address of the virtual machine VM is replaced or the MAC address of the virtual machine VM is replaced, the maintenance module is triggered to update the relation between the IP address and the MAC address and update the relation between the IP address and the MAC address of the latest on-line virtual machine VM;
the maintenance module releases the failed IP address and the MAC address, then informs the execution module, and the execution module deletes the related ARP static binding and updates an ARP table;
and setting a certain time period, and updating the ARP table by the execution module.
Further, the certain period is 3 minutes.
Further, the certain period of time is 5 minutes.
The invention also aims to provide an optimization system for processing ARP data packets under an IASS network platform, which comprises a virtual machine resource pool, a virtual switch and a virtual router which are sequentially connected; the optimization system also comprises a maintenance module, and the maintenance module is connected with the virtual machine resource pool; the virtual machine resource pool comprises a plurality of virtual machine VMs, and each virtual machine VM comprises an execution module;
the virtual router is used for transmitting ARP data packets with the virtual machine VM through the virtual switch;
the maintenance module is used for allocating and recording the relation between the IP address and the MAC address of each virtual machine VM, then calling the record in real time or in a certain period, and if the virtual machine VM is destroyed or the IP address of the virtual machine VM is replaced or the MAC address of the virtual machine VM is replaced in the calling process, the maintenance module is used for updating the relation between the IP address and the MAC address, updating the relation between the IP address and the MAC address of the latest on-line and releasing the invalid IP address and MAC address;
the execution module is used for acquiring the relation between the IP address and the MAC address, executing an ARP static binding command and writing the ARP static binding command into an ARP table;
the execution module is further to: when the maintenance module releases the failed IP address and MAC address, the execution module deletes the related ARP static binding and updates an ARP table; the execution module is used for updating the ARP table periodically.
After the technical scheme is adopted, the invention at least has the following beneficial effects: the maintenance module arranged in the invention can clearly know how many virtual machines are opened on the IASS platform and how many IP addresses and MAC addresses corresponding to the IP are allocated to the virtual machines; according to the maintenance module provided by the invention, the maintenance module does not send an ARP request broadcast packet to the outside through the ARP having related records, so that the bandwidth occupied by the ARP data packet request in the cloud computing environment broadcast packet is optimized; in the invention, under the cloud computing IASS framework, as the allocated IP address and the MAC address can be allocated and set by a manufacturer, the ARP table can be maintained in a controllable way greatly, and the ARP static binding and deletion are copied by a simple execution module, so that the impact of the virtual environment ARP broadcast packet on a network link is reduced greatly.
Drawings
FIG. 1 is a block diagram of an optimization system for processing ARP packets under an IASS network platform according to the present invention;
fig. 2 is a flowchart of an optimization method for processing ARP packets under an ias network platform according to the present invention.
Detailed Description
It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict, and the present application is further described in detail with reference to the drawings and specific embodiments.
Example 1
The invention provides an optimization system for processing ARP data packets under an IASS network platform, wherein a maintenance module and an execution module are added on the traditional IASS network platform, so that the virtual equipment and the IP addresses of the IASS platform can be clearly known, and the specific distribution condition of the MAC addresses corresponding to the IP addresses can be known.
As shown in fig. 1, an optimization system for processing ARP packets under an ias network platform includes a virtual machine resource pool, a virtual switch, and a virtual router, which are connected in sequence; the optimization system also comprises a maintenance module, wherein the maintenance module is connected with the virtual machine resource pool; the virtual machine resource pool comprises a plurality of virtual machines VM, such as a virtual machine VM1, a virtual machine VM2, a virtual machine VM3 and the like, wherein each virtual machine VM comprises an execution module, and a maintenance module is installed and executed when each virtual machine VM is connected to a network;
the virtual router is used for transmitting ARP data packets with the virtual machine VM through the virtual switch;
the maintenance module is used for allocating and recording the relation between the IP address and the MAC address of each virtual machine VM, then calling the record in real time or in a set period (the default period is 3 minutes), and if the virtual machine VM is destroyed or the IP address of the virtual machine VM is replaced or the MAC address of the virtual machine VM is replaced in the calling process, the maintenance module is used for updating the relation between the IP address and the MAC address, updating the relation between the IP address and the MAC address of the latest on-line and releasing the failed IP address and the MAC address;
the execution module is used for acquiring the relation between the IP address and the MAC address, executing an ARP static binding command and writing the ARP static binding command into an ARP table;
the execution module is further to: when the maintenance module releases the failed IP address and MAC address, the execution module deletes the related ARP static binding and updates an ARP table; the execution module is used for updating the ARP table periodically (periodically defaults to 5 minutes). And obtaining the relation between the latest IP address and the MAC address according to the maintenance module within the default time of 3 minutes, thereby ensuring that the execution module updates the executed ARP table information before the ARP static binding within the default time of 5 minutes disappears.
Example 2
As shown in fig. 2, this embodiment provides an optimization method for processing ARP packets under an ias network platform based on the optimization system in embodiment 1, including the following steps:
the virtual router and the virtual machine VM are transmitted through the virtual switch for ARP data packet transmission;
the maintenance module distributes and records the relation between the IP address and the MAC address of each virtual machine VM, and then calls the record in real time or in a certain period; the execution module acquires the relation between the IP address and the MAC address, executes an ARP static binding command and writes the ARP static binding command into an ARP table; in the embodiment, a certain period is preferably set to 3 minutes;
in the calling process, if the virtual machine VM is destroyed or the IP address of the virtual machine VM is replaced or the MAC address of the virtual machine VM is replaced, the maintenance module is triggered to update the relation between the IP address and the MAC address and update the relation between the IP address and the MAC address of the latest on-line virtual machine VM;
the maintenance module releases the failed IP address and the MAC address, then informs the execution module, and the execution module deletes the related ARP static binding and updates an ARP table;
and setting a certain time period, and updating the ARP table by the execution module. In the embodiment, a certain time period is preferably set to be 5 minutes;
2. the method as claimed in claim 1, wherein the certain period is 3 minutes.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various equivalent changes, modifications, substitutions and alterations can be made herein without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims (4)
1. An optimization method for processing ARP data packets under an IASS network platform is characterized by comprising the following steps:
the virtual router and the virtual machine VM are transmitted through the virtual switch for ARP data packet transmission;
the maintenance module distributes and records the relation between the IP address and the MAC address of each virtual machine VM, and then calls the record in real time or in a certain period; the execution module acquires the relation between the IP address and the MAC address, executes an ARP static binding command and writes the ARP static binding command into an ARP table;
in the calling process, if the virtual machine VM is destroyed or the IP address of the virtual machine VM is replaced or the MAC address of the virtual machine VM is replaced, the maintenance module is triggered to update the relation between the IP address and the MAC address and update the relation between the IP address and the MAC address of the latest on-line virtual machine VM;
the maintenance module releases the failed IP address and the MAC address, then informs the execution module, and the execution module deletes the related ARP static binding and updates an ARP table;
and setting a certain time period, and updating the ARP table by the execution module.
2. The method as claimed in claim 1, wherein the certain period is 3 minutes.
3. The method as claimed in claim 1, wherein the predetermined time period is 5 minutes.
4. An optimization system for processing ARP data packets under an IASS network platform comprises a virtual machine resource pool, a virtual switch and a virtual router which are sequentially connected, and is characterized by further comprising a maintenance module, wherein the maintenance module is connected with the virtual machine resource pool; the virtual machine resource pool comprises a plurality of virtual machine VMs, and each virtual machine VM comprises an execution module;
the virtual router is used for transmitting ARP data packets with the virtual machine VM through the virtual switch;
the maintenance module is used for allocating and recording the relation between the IP address and the MAC address of each virtual machine VM, then calling the record in real time or in a certain period, and if the virtual machine VM is destroyed or the IP address of the virtual machine VM is replaced or the MAC address of the virtual machine VM is replaced in the calling process, the maintenance module is used for updating the relation between the IP address and the MAC address, updating the relation between the IP address and the MAC address of the latest on-line and releasing the invalid IP address and MAC address;
the execution module is used for acquiring the relation between the IP address and the MAC address, executing an ARP static binding command and writing the ARP static binding command into an ARP table;
the execution module is further to: when the maintenance module releases the failed IP address and MAC address, the execution module deletes the related ARP static binding and updates an ARP table; the execution module is used for updating the ARP table periodically.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010148473.1A CN111404843A (en) | 2020-03-05 | 2020-03-05 | Optimization method and system for processing ARP data packet under IASS network platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010148473.1A CN111404843A (en) | 2020-03-05 | 2020-03-05 | Optimization method and system for processing ARP data packet under IASS network platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111404843A true CN111404843A (en) | 2020-07-10 |
Family
ID=71432184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010148473.1A Pending CN111404843A (en) | 2020-03-05 | 2020-03-05 | Optimization method and system for processing ARP data packet under IASS network platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111404843A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116708357A (en) * | 2023-06-08 | 2023-09-05 | 北京志凌海纳科技有限公司 | Method and system for discovering virtual network IP address based on OVS |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457586A (en) * | 2010-10-18 | 2012-05-16 | 中兴通讯股份有限公司 | Expanding method for realizing double-layer network and expanded double-layer network |
US20130315246A1 (en) * | 2011-04-19 | 2013-11-28 | Huawei Technologies Co., Ltd. | Address resolution method, apparatus, and system |
CN104092614A (en) * | 2014-07-30 | 2014-10-08 | 杭州华三通信技术有限公司 | Method and device for updating address resolution information |
CN108183919A (en) * | 2018-01-18 | 2018-06-19 | 华为技术有限公司 | Message forwarding method and VXLAN gateways |
CN109327557A (en) * | 2018-10-16 | 2019-02-12 | 郑州云海信息技术有限公司 | A kind of management method and device of virtual machine IP address |
CN109889623A (en) * | 2019-02-26 | 2019-06-14 | 湖南省星岳天璇科技有限公司 | Big two layer stackups Ethernet ARP broadcast removing method and device |
-
2020
- 2020-03-05 CN CN202010148473.1A patent/CN111404843A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457586A (en) * | 2010-10-18 | 2012-05-16 | 中兴通讯股份有限公司 | Expanding method for realizing double-layer network and expanded double-layer network |
US20130315246A1 (en) * | 2011-04-19 | 2013-11-28 | Huawei Technologies Co., Ltd. | Address resolution method, apparatus, and system |
CN104092614A (en) * | 2014-07-30 | 2014-10-08 | 杭州华三通信技术有限公司 | Method and device for updating address resolution information |
CN108183919A (en) * | 2018-01-18 | 2018-06-19 | 华为技术有限公司 | Message forwarding method and VXLAN gateways |
CN109327557A (en) * | 2018-10-16 | 2019-02-12 | 郑州云海信息技术有限公司 | A kind of management method and device of virtual machine IP address |
CN109889623A (en) * | 2019-02-26 | 2019-06-14 | 湖南省星岳天璇科技有限公司 | Big two layer stackups Ethernet ARP broadcast removing method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116708357A (en) * | 2023-06-08 | 2023-09-05 | 北京志凌海纳科技有限公司 | Method and system for discovering virtual network IP address based on OVS |
CN116708357B (en) * | 2023-06-08 | 2024-02-23 | 北京志凌海纳科技有限公司 | Method and system for discovering virtual network IP address based on OVS |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10574484B2 (en) | Method for implementing residential gateway service function, and server | |
EP2797295B1 (en) | Network address translation method, device and system | |
CN112910685B (en) | Method and device for realizing unified management of container network | |
WO2016169218A1 (en) | Gateway virtualization method and system, and computer storage medium | |
WO2009097776A1 (en) | System, device and method for achieving service upgrade | |
CN112583618B (en) | Method, device and computing equipment for providing network service for business | |
CN111431881B (en) | Method and device for trapping nodes based on windows operating system | |
US11671368B2 (en) | Congestion control method, apparatus, and system, and computer storage medium | |
CN103974380A (en) | Terminal access position keep-alive method and device | |
CN111464454B (en) | Load sharing method and system for virtual BRAS (broadband remote Access Server) equipment in data center | |
CN114070822A (en) | Kubernetes Overlay IP address management method | |
CN116204933B (en) | Method for isolating PCIe network card based on jailhouse under ARM64 architecture | |
CN106453690A (en) | IP address allocation method and apparatus | |
WO2020259438A1 (en) | Service expansion and migration method, device, system, apparatus and readable storage medium | |
CN112637332A (en) | Service registration discovery method and system | |
CN111404843A (en) | Optimization method and system for processing ARP data packet under IASS network platform | |
CN108540408B (en) | Openstack-based distributed virtual switch management method and system | |
CN113014680B (en) | Broadband access method, device, equipment and storage medium | |
US7613825B2 (en) | Hierarchical packet processing system and method, relay device and server | |
CN107948273B (en) | SDN-based load sharing and secure access method and system | |
CN108023774B (en) | Cross-gateway migration method and device | |
US10791088B1 (en) | Methods for disaggregating subscribers via DHCP address translation and devices thereof | |
US20170116016A1 (en) | Screen compression service method and virtual network apparatus for performing the method | |
CN112351089A (en) | Data transmission method, system and device between virtual machine and accelerator | |
CN112511440A (en) | Message forwarding method, system, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200710 |