CN112532501B - Host physical address processing method and device and computer readable storage medium - Google Patents

Host physical address processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN112532501B
CN112532501B CN201910880817.5A CN201910880817A CN112532501B CN 112532501 B CN112532501 B CN 112532501B CN 201910880817 A CN201910880817 A CN 201910880817A CN 112532501 B CN112532501 B CN 112532501B
Authority
CN
China
Prior art keywords
physical address
host
processing method
field
mask
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.)
Active
Application number
CN201910880817.5A
Other languages
Chinese (zh)
Other versions
CN112532501A (en
Inventor
王爱俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201910880817.5A priority Critical patent/CN112532501B/en
Publication of CN112532501A publication Critical patent/CN112532501A/en
Application granted granted Critical
Publication of CN112532501B publication Critical patent/CN112532501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure relates to a host physical address processing method and apparatus, and a computer readable storage medium. The host physical address processing method comprises the following steps: carrying out convergence processing on a host physical address mapping table; and broadcasting the converged physical address field information through the physical address aggregation routing message. According to the method, the host MAC address interval can be broadcasted by expanding the EVPN protocol under a large-scale cloud computing environment, and a large amount of traditional EVPN unicast MAC signaling is reduced.

Description

Host physical address processing method and device and computer readable storage medium
Technical Field
The present disclosure relates to the field of IP network intelligence, and in particular, to a method and an apparatus for processing a physical address of a host, and a computer-readable storage medium.
Background
In the EVPN (Ethernet Virtual Private Network) protocol, broadcasting of a host MAC (Media Access Control Address, also called a physical Address) Address is implemented based on EVPN Route Type. In the current manner, the MAC addresses of the individual hosts form a single EVPN NLRI (Network Layer accessibility Information) that is distributed via BGP (Border Gateway Protocol).
Disclosure of Invention
The inventor discovers through research that: when there are large blocks of spatially continuous MAC addresses under a single VTEP (VXLAN Tunnel End Point, virtual extended Local Area Network Tunnel End Point), a large number of EVPN NLRI broadcasts are formed.
In view of at least one of the above technical problems, the present disclosure provides a host physical address processing method and apparatus, and a computer-readable storage medium, which can broadcast a host MAC address interval by extending an EVPN protocol.
According to an aspect of the present disclosure, there is provided a host physical address processing method, including:
carrying out convergence processing on a host physical address mapping table;
and broadcasting the converged physical address field information through the physical address aggregation routing message.
In some embodiments of the present disclosure, the physical address field information includes a virtual extended local area network tunnel endpoint address, a starting physical address in the aggregated consecutive physical address field, and a physical address mask after aggregation of the consecutive physical addresses.
In some embodiments of the present disclosure, the host physical address processing method further includes:
and filling the converged physical address field information into a corresponding field of the physical address aggregation routing message, and then executing a step of broadcasting the converged physical address field information through the physical address aggregation routing message.
In some embodiments of the disclosure, the physical address aggregation routing message comprises:
a routing identifier field for distinguishing Ethernet virtual private network instances;
an Ethernet segment identifier field for identifying a variable of an Ethernet segment;
the Ethernet identification field is used for storing a two-layer network broadcast identification;
a starting physical address length field for storing the length of the starting physical address in the aggregated consecutive physical address field;
a starting physical address field for storing a starting physical address in the aggregated consecutive physical address field;
a physical address mask length field, configured to store a length of a physical address mask after aggregation of consecutive physical addresses;
a physical address mask field for storing a physical address mask after the aggregation of the continuous physical addresses;
a multi-protocol label switching label field for storing multi-protocol label switching labels assigned to consecutive physical addresses.
In some embodiments of the present disclosure, the host physical address processing method further includes:
and for scattered physical addresses which cannot be converged, broadcasting by adopting a physical address aggregation routing message or an Ethernet virtual private network routing type message.
In some embodiments of the present disclosure, the host physical address processing method further includes:
in the event of a host moving within a contiguous segment of physical addresses, an ethernet virtual private network routing type message associated with the host is broadcast by the virtual extended local area network tunnel endpoint address to which the host is newly attached.
In some embodiments of the present disclosure, the host physical address processing method further includes:
preferentially matching entries without physical address masks under the condition of data forwarding;
and matching the entry with the physical address mask under the condition that the physical address corresponding to the entry without the physical address mask is not matched.
In some embodiments of the present disclosure, the host physical address processing method further includes:
and under the condition that the physical address corresponding to the entry without the physical address mask is not matched, processing according to the processing rules of the broadcast message, the unknown unicast message and the multicast message packet.
According to another aspect of the present disclosure, there is provided a host physical address processing apparatus including:
the convergence module is used for converging the host physical address mapping table;
and the broadcast module is used for broadcasting the converged physical address field information through the physical address aggregation routing message.
In some embodiments of the present disclosure, the host physical address processing apparatus is configured to perform operations for implementing the host physical address processing method according to any of the embodiments.
In some embodiments of the present disclosure, a host physical address processing apparatus includes:
a memory to store instructions;
a processor configured to execute the instructions to cause the host physical address processing apparatus to perform operations to implement the host physical address processing method according to any of the embodiments.
According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when executed by a processor, the computer-readable storage medium implements the host physical address processing method according to any one of the above embodiments.
According to the method, the host MAC address interval can be broadcasted by expanding the EVPN protocol under a large-scale cloud computing environment, and a large amount of traditional EVPN unicast MAC signaling is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a diagram illustrating a related art ethernet virtual private network routing type message.
FIG. 2 is a diagram of some embodiments of a host physical address processing method according to the disclosure.
FIG. 3 is a diagram illustrating an aggregation process performed on a host physical address mapping table according to some embodiments of the present disclosure.
Fig. 4 is a schematic diagram of aggregating routing messages for physical addresses in some embodiments of the present disclosure.
FIG. 5 is a schematic diagram of some embodiments of a host physical address processing apparatus according to the present disclosure.
FIG. 6 is a diagram illustrating additional embodiments of a host physical address processing apparatus according to the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be discussed further in subsequent figures.
The inventor discovers through research that: in the EVPN protocol, broadcasting of the host MAC address is implemented based on the EVPN Route Type (ethernet virtual private network Route Type message) in fig. 1. Fig. 1 is a diagram illustrating a related art ethernet virtual private network routing type message. When large-block spatially continuous MAC addresses exist under a single VTEP, a large number of EVPN NLRI broadcasts can be formed; on the other hand, other VTEPs located in the same BD (Bridge Domain) also need to store a large number of VTEP/MAC mapping tables, which puts a great strain on the devices.
In view of at least one of the above technical problems, the present disclosure provides a host physical address processing method and apparatus, and a computer readable storage medium, and the present disclosure is described below by specific embodiments.
FIG. 2 is a diagram illustrating some embodiments of a host physical address processing method according to the disclosure. Preferably, the present embodiment may be executed by the host physical address processing apparatus of the present disclosure. The method comprises the following steps:
and step 21, carrying out convergence processing on the host physical address mapping table.
In some embodiments of the present disclosure, step 21 may comprise: the VTEP detects the network under the VTEP and gathers the physical address mapping table of the host computer according to the received Ethernet MAC response.
FIG. 3 is a diagram illustrating a process for aggregating host physical address mapping tables, according to some embodiments of the present disclosure. As shown in fig. 3, step 21 of the embodiment of fig. 2 may include:
and step 211, sequencing the MAC addresses under the same VTEP. For example: in the embodiment of fig. 3, the first three entries may be determined to be a segment of consecutive MAC addresses.
And step 212, performing exclusive-or operation on a continuous section of MAC addresses to obtain the MacMask. For example: in the specific embodiment of fig. 3, the exclusive or operation is performed on the first three entries, so that a mac mask of 00.
And step 213, deleting other mapping table entries in the range of the [ basic MAC + MacMask ]. For example: in the embodiment of fig. 3, two other entries of the basic MAC (11.
And step 214, reserving discrete items (the MacMask of each discrete item defaults to all zeros), sorting the aggregated mapping table, and issuing the mapping table to each VTEP.
And step 22, broadcasting the converged physical address field information through the physical address aggregation routing message.
In some embodiments of the present disclosure, the physical address field information may include a virtual extended local area network tunnel endpoint address, a starting physical address in the aggregated consecutive physical address field, and a physical address mask after aggregation of the consecutive physical addresses.
In some embodiments of the present disclosure, step 22 may comprise:
step 221, filling the converged physical address field information into the corresponding field of the physical address aggregation routing message.
Fig. 4 is a schematic diagram of aggregating routing messages for physical addresses in some embodiments of the present disclosure. As shown in fig. 4, the newly defined physical address aggregation routing message (Aggregate _ MAC _ Route) or the newly defined EVPN Route Type (ethernet virtual private network routing Type message) may include some fields as follows:
RD (Route Distinguisher) field for distinguishing EVPN Instance (ethernet virtual private network Instance).
An Ethernet Segment Identifier field for identifying a variable of the Ethernet Segment.
An Ethernet Tag ID (Ethernet identification) field for storing a two-tier network broadcast identification.
A Start _ MAC _ Address Length field for storing the Length of the starting physical Address in the aggregated consecutive physical Address field.
A Start _ MAC _ Address field for storing a starting physical Address in the aggregated consecutive physical Address field.
A MAC _ Mask _ Length field for storing the Length of the physical address Mask after the aggregation of the consecutive physical addresses.
And a MAC _ Mask (physical address Mask) field for storing a physical address Mask after the aggregation of the consecutive physical addresses.
An MPLS Label (multi-protocol Label switching Label) field for storing multi-protocol Label switching labels assigned to consecutive physical addresses.
Step 222, broadcasting the aggregated physical address field information through the physical address aggregation routing message.
The method for processing the physical address of the host based on the embodiment of the disclosure is a scheme for carrying the MAC mask in the EVPN, and the embodiment of the disclosure can broadcast the MAC address interval of the host by expanding the EVPN protocol in a large-scale cloud computing environment, thereby reducing a large amount of traditional EVPN unicast MAC signaling, and greatly improving the storage capacity of the MAC table of the related VTEP under the same VPN (Virtual Private Network), so that the large-layer two-layer rapidness under the cloud computing environment can be more flexibly realized.
In some embodiments of the present disclosure, the host physical address processing method may further include: for the scattered physical addresses which cannot be aggregated, a physical address aggregation routing message (for example, a physical address aggregation routing message newly defined in the embodiment of fig. 4) or an ethernet virtual private network routing Type message (for example, an ethernet virtual private network routing Type message Route Type 2 in the embodiment of fig. 1) is adopted for broadcasting.
In some embodiments of the present disclosure, the host physical address processing method may further include: in the event of a host moving within a contiguous segment of physical addresses, an ethernet virtual private network routing type message (e.g., the ethernet virtual private network routing type message of the embodiment of fig. 1) associated with the host is broadcast via the virtual extended local area network tunnel endpoint address to which the host is newly attached.
In some embodiments of the present disclosure, the host physical address processing method may further include: preferentially matching entries without physical address masks under the conditions of data forwarding and MAC address query; under the condition that the physical address corresponding to the entry without the physical address mask is not matched, matching the entry with the physical address mask; and under the condition that the physical address corresponding to the entry without the physical address mask is not matched, processing according to the processing rule of a BUM (broadcast-multicast packet, unknown unicast packet and multicast packet).
In some embodiments of the present disclosure, based on the aggregated MAC mapping table, the table entry lookup method for each VTEP in data forwarding may include steps 1 to 3, where:
step 1, based on the destination MAC of the received data packet, performing the following logical operations: [ MAC (packet destination MAC) XOR (VTEP table MacMask ]
And 2, taking the VTEP value corresponding to the row with the operation result of all zeros.
And 3, if all zero rows do not exist, broadcasting the data in a flooding mode.
The above embodiments of the present disclosure propose a scheme for transmitting aggregated MAC information through EVPN. To achieve the objective, the above embodiments of the present disclosure propose new EVPN Route Type information and a processing flow thereof to transfer and process VTEP/MAC _ Mask key matching information. The above embodiments of the present disclosure may be very effective for reducing EVPN signaling and device memory space when the host MAC address space is continuous under a single VTEP.
Other VTEP devices in the same VNI (virtual extensible local area Network Identifier) domain in the above embodiment of the present disclosure only need to retain mapping information of the segment, and thus, the storage pressure of the devices can be greatly reduced.
The embodiment of the disclosure can effectively reduce the MAC table capacity of each VTEP device according to the distribution characteristics of the virtual machine MAC addresses; the embodiment of the disclosure can be intensively and flexibly scheduled, and has strong expandability; the above embodiments of the present disclosure may reduce a large number of unaggregated signaling messages in the EVPN; the above embodiments of the present disclosure are based on a distributed control architecture, and can effectively aggregate MAC mapping tables.
By using the embodiment of the disclosure, the rapid linkage and flexible deployment of the cloud network can be realized; the flexible networking of the tenants across two layers of the network can be realized; the method can flexibly cope with the scale expansion of a large two-layer network.
FIG. 5 is a schematic diagram of some embodiments of a host physical address processing apparatus according to the present disclosure. As shown in fig. 5, the host physical address processing apparatus of the present disclosure may include a convergence module 51 and a broadcast module 52, wherein:
and the aggregation module 51 is configured to perform aggregation processing on the host physical address mapping table.
In some embodiments of the present disclosure, the convergence module 51 may be configured to probe a network located thereunder, and perform convergence processing on the host physical address mapping table in response to the received Ethernet MAC.
In some embodiments of the present disclosure, the aggregation module 51 may be configured to order MAC addresses under the same VTEP; performing exclusive or operation on a continuous section of MAC addresses to obtain a MacMask; deleting other mapping table entries in the range of the [ basic MAC + MacMask ]; and reserving discrete items (the MacMask of each discrete item defaults to all zeros), sorting the aggregated mapping table, and issuing the mapping table to each VTEP.
The broadcasting module 52 is configured to broadcast the aggregated physical address segment information through the physical address aggregation routing message.
In some embodiments of the present disclosure, the physical address aggregation routing message may be the physical address aggregation routing message of the fig. 4 embodiment.
In some embodiments of the present disclosure, the physical address field information may include a virtual extended local area network tunnel endpoint address, a starting physical address in the aggregated consecutive physical address field, and a physical address mask after aggregation of the consecutive physical addresses.
In some embodiments of the present disclosure, the broadcast module 52 may be configured to fill the aggregated physical address segment information into a corresponding field of the physical address aggregation routing message; and broadcasting the converged physical address field information through the physical address aggregation routing message.
In some embodiments of the present disclosure, the host physical address processing apparatus may be configured to perform operations for implementing the host physical address processing method according to any of the embodiments (for example, any of fig. 2 to fig. 4).
In some embodiments of the present disclosure, the host physical address processing apparatus may be implemented as a virtual extended local area network tunnel endpoint device, or a controller.
Based on the host physical address processing device provided by the embodiment of the disclosure, the host MAC address interval can be broadcasted by expanding the EVPN protocol in a large-scale cloud computing environment, a large amount of traditional EVPN unicast MAC signaling is reduced, the MAC table storage capacity of related VTEPs under the same VPN is greatly improved, and therefore large-layer two-layer fast networking in the cloud computing environment can be more flexibly realized.
In some embodiments of the present disclosure, the host physical address processing apparatus may be configured to broadcast a physical address aggregation routing message (e.g., the physical address aggregation routing message in the embodiment of fig. 4) or an ethernet virtual private network routing type message (e.g., the ethernet virtual private network routing type message in the embodiment of fig. 1) for a scattered physical address that cannot be aggregated.
In some embodiments of the present disclosure, the host physical address processing apparatus may be configured to broadcast an ethernet virtual private network routing type message (e.g., the ethernet virtual private network routing type message of the embodiment of fig. 1) associated with a host through a virtual extended local area network tunnel endpoint address to which the host is newly attached in case of a movement of the host within a physical address continuum.
In some embodiments of the present disclosure, the host physical address processing apparatus may be configured to preferentially match an entry without a physical address mask when data forwarding and MAC address querying are performed; under the condition that the physical address corresponding to the entry without the physical address mask is not matched, the entry with the physical address mask is matched; and if the physical address corresponding to the entry without the physical address mask is not matched, processing according to the processing rule of the BUM packet.
The above embodiments of the present disclosure propose a scheme for transmitting aggregated MAC information through EVPN. To achieve the objective, the above embodiments of the present disclosure propose new EVPN Route Type information and a processing flow thereof to transfer and process VTEP/MAC _ Mask key matching information. The above embodiments of the present disclosure may be very effective for reducing EVPN signaling and device memory space when the host MAC address space is continuous under a single VTEP.
FIG. 6 is a diagram illustrating additional embodiments of a host physical address processing apparatus according to the present disclosure. As shown in fig. 6, the host physical address processing apparatus of the present disclosure may include a memory 61 and a processor 62, wherein:
a memory 61 for storing instructions.
A processor 62 configured to execute the instructions, so that the host physical address processing apparatus performs the operations of implementing the host physical address processing method according to any of the above embodiments.
The embodiment of the disclosure can effectively reduce the MAC table capacity of each VTEP device according to the distribution characteristics of the virtual machine MAC addresses; the embodiment of the disclosure can be intensively and flexibly scheduled, and has strong expandability; the above embodiments of the present disclosure may reduce a large number of unaggregated signaling messages in the EVPN; the above embodiments of the present disclosure are based on a distributed control architecture, and can effectively aggregate MAC mapping tables.
By using the embodiment of the disclosure, the rapid linkage and flexible deployment of the cloud network can be realized; the flexible networking of a tenant across two layers of a network can be realized; the method can flexibly cope with the scale expansion of a large two-layer network.
According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the instructions, when executed by a processor, implement the host physical address processing method according to any one of the embodiments (for example, any one of the embodiments in fig. 2 to fig. 4).
Based on the computer-readable storage medium provided by the embodiment of the disclosure, in a large-scale cloud computing environment, the EVPN protocol is extended to broadcast the host MAC address interval, so that a large amount of traditional EVPN unicast MAC signaling is reduced, the MAC table storage capacity of the related VTEP under the same VPN is greatly improved, and thus, large-layer and two-layer fast networking under the cloud computing environment can be more flexibly realized.
The host physical address processing means described above may be implemented as a general purpose processor, a Programmable Logic Controller (PLC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any suitable combination thereof, for performing the functions described herein.
Thus far, the present disclosure has been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware to implement the steps.
The description of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (12)

1. A host physical address processing method, comprising:
carrying out convergence processing on a host physical address mapping table;
broadcasting the converged physical address field information through a physical address aggregation routing message;
wherein, the aggregating the host physical address mapping table comprises:
sequencing physical addresses under the same virtual extended local area network tunnel endpoint;
carrying out XOR operation on a continuous section of physical addresses to obtain a physical address mask;
deleting other mapping table entries except the basic physical address and the physical address mask code, which are positioned in the range of the basic physical address and the physical address mask code;
wherein, the physical address aggregation routing message comprises:
a physical address mask length field, configured to store a length of a physical address mask after aggregation of consecutive physical addresses;
and the physical address mask field is used for storing the physical address mask after the continuous physical addresses are gathered.
2. The host physical address processing method according to claim 1,
the physical address field information comprises virtual extended local area network tunnel endpoint addresses, initial physical addresses in the converged continuous physical address field and physical address masks after the continuous physical addresses are converged.
3. The host physical address processing method according to claim 1 or 2, further comprising:
filling the converged physical address field information into a corresponding field of the physical address aggregation routing message, and then executing a step of broadcasting the converged physical address field information through the physical address aggregation routing message.
4. The host physical address processing method according to claim 1 or 2, wherein the physical address aggregation routing message further includes:
a routing identifier field to distinguish Ethernet virtual private network instances;
an Ethernet segment identifier field for identifying a variable of an Ethernet segment;
the Ethernet identification field is used for storing a two-layer network broadcast identification;
a starting physical address length field for storing the length of the starting physical address in the aggregated consecutive physical address field;
a starting physical address field for storing a starting physical address in the aggregated consecutive physical address field;
a multi-protocol label switching tag field for storing multi-protocol label switching tags assigned to consecutive physical addresses.
5. The host physical address processing method according to claim 1 or 2, further comprising:
and for scattered physical addresses which cannot be converged, broadcasting by adopting a physical address aggregation routing message or an Ethernet virtual private network routing type message.
6. The host physical address processing method according to claim 1 or 2, further comprising:
in the event of a host moving within a contiguous segment of physical addresses, an ethernet virtual private network routing type message associated with the host is broadcast by the virtual extended local area network tunnel endpoint address to which the host is newly attached.
7. The host physical address processing method according to claim 1 or 2, further comprising:
preferentially matching entries without physical address masks under the condition of data forwarding;
and matching the entry with the physical address mask under the condition that the physical address corresponding to the entry without the physical address mask is not matched.
8. The host physical address processing method of claim 7, further comprising:
and under the condition that the physical address corresponding to the entry without the physical address mask is not matched, processing according to the processing rules of the broadcast message, the unknown unicast message and the multicast message packet.
9. A host physical address processing apparatus, comprising:
the convergence module is used for converging the host physical address mapping table;
the broadcast module is used for broadcasting the converged physical address field information through the physical address aggregation routing message;
the convergence module is used for sequencing physical addresses under the same virtual extensible local area network tunnel endpoint; carrying out XOR operation on a continuous section of physical addresses to obtain a physical address mask; deleting other mapping table entries except the basic physical address and the physical address mask code, which are positioned in the range of the basic physical address and the physical address mask code;
wherein the physical address aggregation routing message comprises:
a physical address mask length field, configured to store a length of a physical address mask after aggregation of consecutive physical addresses;
and the physical address mask field is used for storing the physical address mask after the continuous physical addresses are gathered.
10. The host physical address processing apparatus according to claim 9, wherein the host physical address processing apparatus is configured to perform an operation of implementing the host physical address processing method according to any one of claims 2 to 8.
11. A host physical address processing apparatus, comprising:
a memory to store instructions;
a processor configured to execute the instructions to cause the host physical address processing apparatus to perform operations to implement the host physical address processing method according to any one of claims 1 to 8.
12. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement a host physical address processing method according to any one of claims 1 to 8.
CN201910880817.5A 2019-09-18 2019-09-18 Host physical address processing method and device and computer readable storage medium Active CN112532501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910880817.5A CN112532501B (en) 2019-09-18 2019-09-18 Host physical address processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910880817.5A CN112532501B (en) 2019-09-18 2019-09-18 Host physical address processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112532501A CN112532501A (en) 2021-03-19
CN112532501B true CN112532501B (en) 2023-04-18

Family

ID=74975057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910880817.5A Active CN112532501B (en) 2019-09-18 2019-09-18 Host physical address processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112532501B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124803B (en) * 2021-11-23 2023-10-20 迈普通信技术股份有限公司 Device management method and device, electronic device and storage medium
CN114697291B (en) * 2022-03-30 2023-06-06 中国联合网络通信集团有限公司 Method, device, server and storage medium for acquiring available IP address field
CN115412528A (en) * 2022-08-08 2022-11-29 北京达佳互联信息技术有限公司 Host routing address storage method and device, electronic equipment and storage medium
CN116319545A (en) * 2022-11-16 2023-06-23 天翼云科技有限公司 Route aggregation processing method and device based on EVPN network

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047631A (en) * 2006-04-29 2007-10-03 华为技术有限公司 Customer position information transmitting method, MAC address automatic allocating method, network creating method and system
CN101409685A (en) * 2008-12-01 2009-04-15 杭州华三通信技术有限公司 Forwarding method based on virtual LAN mapping and access equipment
CN102668473A (en) * 2009-10-30 2012-09-12 卡尔克塞达公司 System and method for high-performance, low-power data center interconnect fabric
CN106559302A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 Single tunnel method for building up, device and system
CN107317752A (en) * 2016-04-27 2017-11-03 华为技术有限公司 A kind of method and device of forwarding data packets
CN107409083A (en) * 2015-03-26 2017-11-28 思科技术公司 Expansible processing to the bgp routing information in the VXLAN with EVPN control planes
CN107579900A (en) * 2017-10-13 2018-01-12 锐捷网络股份有限公司 From the method, apparatus and system of vlan network access VXLAN networks
CN107800625A (en) * 2016-08-30 2018-03-13 新华三技术有限公司 A kind of message forwarding method and device
CN108270878A (en) * 2016-12-31 2018-07-10 中国移动通信集团江西有限公司 Method, the VTEP equipment of ARP messages are sent in VXLAN
CN109347748A (en) * 2018-11-29 2019-02-15 新华三技术有限公司 A kind of method and apparatus of synchronization of routing information
CN109891838A (en) * 2016-10-28 2019-06-14 安华高科技股份有限公司 Rule-based network identifier mapping

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI650644B (en) * 2018-01-05 2019-02-11 慧榮科技股份有限公司 Method for managing flash memory module and related flash memory controller and electronic device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047631A (en) * 2006-04-29 2007-10-03 华为技术有限公司 Customer position information transmitting method, MAC address automatic allocating method, network creating method and system
CN101409685A (en) * 2008-12-01 2009-04-15 杭州华三通信技术有限公司 Forwarding method based on virtual LAN mapping and access equipment
CN102668473A (en) * 2009-10-30 2012-09-12 卡尔克塞达公司 System and method for high-performance, low-power data center interconnect fabric
CN107409083A (en) * 2015-03-26 2017-11-28 思科技术公司 Expansible processing to the bgp routing information in the VXLAN with EVPN control planes
CN106559302A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 Single tunnel method for building up, device and system
CN107317752A (en) * 2016-04-27 2017-11-03 华为技术有限公司 A kind of method and device of forwarding data packets
CN107800625A (en) * 2016-08-30 2018-03-13 新华三技术有限公司 A kind of message forwarding method and device
CN109891838A (en) * 2016-10-28 2019-06-14 安华高科技股份有限公司 Rule-based network identifier mapping
CN108270878A (en) * 2016-12-31 2018-07-10 中国移动通信集团江西有限公司 Method, the VTEP equipment of ARP messages are sent in VXLAN
CN107579900A (en) * 2017-10-13 2018-01-12 锐捷网络股份有限公司 From the method, apparatus and system of vlan network access VXLAN networks
CN109347748A (en) * 2018-11-29 2019-02-15 新华三技术有限公司 A kind of method and apparatus of synchronization of routing information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于VXLAN的EVPN技术研究与实现;钟耿辉等;《计算机技术与发展》(第05期);全文 *

Also Published As

Publication number Publication date
CN112532501A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN112532501B (en) Host physical address processing method and device and computer readable storage medium
US10439962B2 (en) Packet processing in an OpenFlow switch
CN104468358B (en) The message forwarding method and equipment of the distributed virtual switch system
US9225641B2 (en) Communication between hetrogenous networks
US9001644B2 (en) Ethernet virtual private network system for providing fast protection for access rings
US20140153443A1 (en) Per-Address Spanning Tree Networks
WO2021258754A1 (en) Message indication method and apparatus, and device and storage medium
US20170041230A1 (en) Forwarding data packets
US9369293B2 (en) Compressing singly linked lists sharing common nodes for multi-destination group expansion
EP3400678A1 (en) Graph construction for computed spring multicast
CN108702326A (en) Inspection software defines network(SDN)In control plane cycle mechanism
CN106130819B (en) The detection method and device of VTEP exception
CN104394083B (en) Method, the method and its device and system of message forwarding of forwarding-table item processing
WO2016107594A1 (en) Accessing external network from virtual network
CN106921573B (en) NVo3 method and device for issuing tenant route in network
CN105337865B (en) A kind of methods, devices and systems for establishing forwarding-table item
JPWO2014054768A1 (en) Communication system, virtual network management apparatus, virtual network management method and program
WO2021169514A1 (en) Virtual machine (vm) migrating method and apparatus
CN110430116A (en) Data forwarding method and device, edge device and readable storage medium storing program for executing
CN106209638A (en) From VLAN to the message forwarding method of virtual expansible LAN and equipment
CN108199968A (en) Route processing method and device
CN106031104A (en) Data packet forwarding method, apparatus and device
CN106713130B (en) A kind of routing table update method, EVPN control equipment and EVPN system
CN104836738A (en) Router hardware item resource management method and device, and network equipment
US10313274B2 (en) Packet forwarding

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
GR01 Patent grant
GR01 Patent grant