CN108306825A - A kind of equivalence forwarding-table item generation method and VTEP equipment - Google Patents
A kind of equivalence forwarding-table item generation method and VTEP equipment Download PDFInfo
- Publication number
- CN108306825A CN108306825A CN201810096215.6A CN201810096215A CN108306825A CN 108306825 A CN108306825 A CN 108306825A CN 201810096215 A CN201810096215 A CN 201810096215A CN 108306825 A CN108306825 A CN 108306825A
- Authority
- CN
- China
- Prior art keywords
- vtep equipment
- routings
- address
- hop
- esi
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
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 application provides a kind of forwarding-table item generation method of equal value, and this method is applied to the VTEP equipment in EVPN, and this method is:Receive multiple ES routings;If it is determined that it includes identical ESI that this multiple ES routing, which includes next-hop up to field and this multiple ES routing, the IP address for then determining the multiple opposite end VTEP equipment for sending this multiple ES routing, generates the next-hop list item of equal value of the IP address comprising the identical ESI and multiple opposite end VTEP equipment;When the ESI in the MAC/IP notice routings received is matched with the ESI in generated next-hop list item of equal value, generate using the terminal address in MAC/IP notice routings as occurrence, using the tunnels VXLAN that destination address is multiple opposite end VTEP equipment as the forwarding-table item of equal value of outgoing interface.This method need not issue forwarding-table item of equal value dependent on the routing of IP prefix gateways or the other types of routings of EVPN again.
Description
Technical field
This application involves field of communication technology more particularly to a kind of forwarding-table item generation methods of equal value and VTEP equipment.
Background technology
In EVPN (Ethernet Virtual Private Network, Ethernet Virtual Private Network), in order to carry
The bandwidth availability ratio of high link, and enhancing network reliability, the host (either virtualize empty machine) of a usual user or
It is the private network of a user, more VTEP (the VXLAN Tunnel that can be connected to by multilink in EVPN networks
End Point, VXLAN endpoint of a tunnel) in equipment, this is known as more ownership accesses.EVPN belongs to more introduces following concept:
ES (Ethernet Segment, ethernet segment):If a host is accessed different simultaneously by multilink
VTEP equipment, then this multilink is just called ES.
ESI (Ethernet Segment Identifier, ethernet segment identifier):For identify the value of an ES
It is ESI.
DF (Designated Forwarder, specified to turn originator):A corresponding empty machine accesses different VTEP equipment
Situation, in order to allow BUM (Broadcast&Unknown-unicast&Multicast, broadcast & unknown unicast & multicasts), flow is not
There are problems that loop and repeat, one can be elected from the access point with identical ESI values in multiple VTEP equipment
DF equipment.
It is a kind of EVPN multi-home networkings shown in Fig. 2.In Fig. 2, virtual machine VM1 is connect simultaneously by an interchanger LSW
Enter 2 VTEP equipment, respectively VTEP1 and VTEP2.After VM1 reaches the standard grade, gratuitous ARP (Address Resolution can be reported
Protocol, address resolution protocol) message gives 2 VTEP equipment, but the AC of the responsible access VM1 in 2 VTEP equipment
Only it is DF mouthfuls there are one the AC mouths on VTEP in (Attachment Circuit access circuit) mouth, the AC on another VTEP
Mouth is DF mouthfuls non-;It is assumed that the AC mouths on VTEP1 are DF mouthfuls, the AC mouths on VTEP2 are DF mouthfuls non-, then VTEP2 receives VM1
The gratuitous ARP packet of hair can directly abandon the message, and VTEP1 receive the gratuitous ARP packet then can be by the VM1's in the message
MAC (Medium Access Control, media access control)/IP (Internet Protocol, Internet protocol) address
It is added in local MAC/IP address list items, the corresponding outgoing interface in the addresses MAC/IP of the VM1 is to receive the gratuitous ARP report
The AC mouths of text, namely the AC mouths that are connect with VM1.The addresses MAC/IP of VM1 can be route by VTEP1 by the second class EVPN simultaneously,
That is MAC/IP notice routings (MAC/IP Advertisement Route) are synchronized to all opposite equip.s, for example, VTEP2 and
VTEP3;After VTEP2 receives MAC/IP notice routings, it is found that VTEP2 and VTEP1 belongs to the more Home Systems of the same EVPN, to
The addresses MAC/IP of the VM1 synchronized by VTEP2 are added in local MAC/IP address list items, outgoing interface is and VM1
The AC mouths of connection;After VTEP3 receives MAC/IP notice routings, it is found that VTEP3 and VTEP1 is not belonging to the same EVPN and more belongs to and be
System, to the addresses MAC/IP of the VM1 synchronized by VTEP1 is added in local MAC/IP address list items, outgoing interface
It is VTEP1 and the tunnels VXLAN of VTEP2 for purpose address, this two outgoing interfaces correspond to the VXLAN tunnels of VTEP1 and VTEP2 respectively
The MAC/IP address list items in road form forwarding-table item of equal value on VTEP3.
Invention content
A kind of forwarding-table item generation method of equal value of the application offer and VTEP equipment.
Specifically, the application is achieved by the following technical solution:
In a first aspect, providing a kind of forwarding-table item generation method of equal value, the method is applied in EVPN the application
VTEP equipment, the method includes:
Receive multiple ES routings;
If it is determined that the multiple ES routings include next-hop up to field and the multiple ES routings are comprising identical
ESI, it is determined that send the IP address of multiple opposite end VTEP equipment of the multiple ES routings, it includes the identical ESI to generate
With the next-hop list item of equal value of the IP address of the multiple opposite end VTEP equipment;
When the ESI in the MAC/IP notice routings received is matched with the ESI in the generated next-hop list item of equal value
When, it generates using the terminal address in MAC/IP notice routings as occurrence, be the multiple opposite end VTEP with destination address
The tunnels VXLAN of equipment are the forwarding-table item of equal value of outgoing interface.
The application second aspect provides a kind of VTEP equipment.The VTEP equipment has the function of the realization above method,
The function can also execute corresponding software realization by hardware realization by hardware.The hardware or software include
One or more modules corresponding with above-mentioned function or unit.
In a kind of realization method, the VTEP equipment may include:
Receiving unit, for receiving multiple ES routings;
Next-hop list item generation unit is used for if it is determined that the multiple ES routings include next-hop up to field and described
Multiple ES routings include identical ESI, it is determined that the IP address of multiple opposite end VTEP equipment of the multiple ES routings is sent, it is raw
At the next-hop list item of equal value of the IP address comprising the identical ESI and the multiple opposite end VTEP equipment;
Forwarding-table item generation unit, for noticing ESI and the generated equivalence in routing as the MAC/IP received
When ESI in next-hop list item is matched, generate using the terminal address in MAC/IP notice routings as occurrence, with destination
Location is that the tunnels VXLAN of the multiple opposite end VTEP equipment are the forwarding-table item of equal value of outgoing interface.
In another realization method, the VTEP equipment may include communication interface, processor, memory and bus, institute
It states and is connected with each other by bus between communication interface, the processor and the memory;The processor passes through described in reading
The logical order stored in memory executes the forwarding-table item generation method of equal value described in the application first aspect.
The application extends the ES routings in EVPN agreements, increases a next-hop up to field, if
The next-hop is carried in the ES routings that VTEP equipment receives up to field, it can be said that the bright opposite end VTEP for sending ES routings is set
For being reachable, so there is no need to depend on the routing of ip-prefix gateways or the other types of routings of EVPN again, root is only needed
VTEP equipment can be supported to generate complete forwarding-table item of equal value according to ES routings.
Description of the drawings
Fig. 1 is that the addresses terminal MAC/IP under the prior art in EVPN multi-home networkings introduce process schematic;
Fig. 2 is method flow diagram provided by the present application;
Fig. 3 is form schematic diagram of the next-hop provided by the present application up to field;
Fig. 4 is that the addresses terminal MAC/IP in the application in EVPN multi-home networkings introduce process schematic;
Fig. 5 is apparatus function module frame chart provided by the present application;
Fig. 6 is the hardware structure diagram of Fig. 5 shown devices provided by the present application.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of consistent device and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, is not intended to be limiting the application.
It is also intended to including majority in the application and "an" of singulative used in the attached claims, " described " and "the"
Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from
In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
As described in background technology above, in EVPN multi-home networkings shown in Fig. 1, VTEP3 can be based on VTEP1 and synchronize
VM1 the addresses MAC/IP, be generated to the forwarding-table item of equal value of VM1;But draw according to the addresses MAC/IP of EVPN multi-home networkings
Enter flow, VTEP3 generates above-mentioned forwarding-table item of equal value and needs to have following two preconditions:
First, VTEP3 have received the ES routings for carrying identical ESI from VTEP1 and VTEP2;
Second, VTEP3 have received the routing of ip-prefix (IP prefixes) gateway from VTEP1 and VTEP2.
Here, one of ES routings (alternatively referred to as DF elections routing) purposes is for judging which VTEP belongs to same
One more Home System of EVPN.It, can be with if VTEP3 has received the ES routings for carrying identical ESI from VTEP1 and VTEP2
Judgement VTEP1 and VTEP2 belongs to the more Home Systems of the same EVPN, and the same terminal is hung under the two;Follow-up VTEP3 either from
VTEP1 still receives the MAC/IP notice routings for carrying the identical ESI from VTEP2, can be generated to MAC/IP notices road
By the addresses MAC/IP noticed, outgoing interface correspond to the forwarding-table item of equal value of VTEP1 and VTEP2 respectively.
It is route as ip-prefix gateways, can be used for enabling the recipient that ip-prefix gateways are route to confirm ip-prefix
The sender of gateway routing is reachable.If VTEP3 has received the ip- for carrying identical route prefix from VTEP1 and VTEP2
Prefix gateways are route, then can be determined that VTEP1 and VTEP2 are reachable.
In EVPN multi-home networkings, the condition that triggering VTEP equipment sends ES routings is on the interface of the VTEP equipment
It is configured with ESI, the condition that triggering VTEP equipment sends the routing of ip-prefix gateways is that the VTEP equipment enables gateway function.
Previous condition meets very well, when hanging same terminal under VTEP equipment and other VTEP equipment, will necessarily be set in these VTEP
ESI is configured on the standby interface for being responsible for accessing the terminal;But latter condition cannot be necessarily satisfying for not necessarily in existing realization
Gateway function is enabled in each VTEP equipment, and if the VTEP equipment of some composition more Home System of EVPN is not enabled on net
Close function and without it may indicate that the reachable route messages of the VTEP equipment, will cause give birth in other VTEP equipment
At the forwarding-table item for reaching extension terminal under the VTEP equipment.Such as in Fig. 1, if VTEP2 is not enabled on gateway function and does not have
It is it may indicate that reachable VTEP2 route messages, even when the carrying that VTEP3 has received from VTEP2 and received from VTEP1
The ES of identical ESI is route, and will not issue the forwarding-table item for reaching this outgoing interface of VTEP2, and what is formed on final VTEP3 arrives
The next-hop of the forwarding-table item of VM1 only has VTEP1 mono-.
For this purpose, present applicant proposes a kind of forwarding-table items of equal value applied to EVPN networkings to generate scheme, this programme pair
ES routings in EVPN agreements are extended, and increase a next-hop up to field, if the roads ES that VTEP equipment receives
By middle carrying next-hop up to field, it can be said that the bright opposite end VTEP equipment for sending ES routings is reachable, so
Need not forwarding-table item of equal value be issued dependent on the routing of ip-prefix gateways or the other types of routings of EVPN again.
Technical scheme is illustrated with each embodiment with reference to the accompanying drawings of the specification.
Referring to Fig. 2, in one embodiment, the VTEP equipment in EVPN executes following steps in the process of running:
Step 201:VTEP equipment receives multiple ES routings.
Step 202:If it is determined that it includes phase that above-mentioned multiple ES routing, which includes next-hop up to field and this multiple ES routing,
Same ESI, then VTEP equipment determination send the IP address of multiple opposite end VTEP of this multiple ES routing, and it includes that this is identical to generate
The next-hop list item of equal value of the IP address of ESI and multiple opposite end VTEP equipment.
If it is determined that multiple ES routings include next-hop and this multiple ES routing includes identical ESI, then VTEP equipment
It can determine that the opposite end VTEP equipment of the multiple ES routings of sender is reachable and belongs to the more Home Systems of the same EVPN.
Here next-hop can carry extended community attribute (Ext-Community) field being route in ES up to field
In, it can also carry in the reserved field that ES is route.The application indicates to send VTEP pairs of ES routings by this field
It is reachable for the VTEP for receiving ES routings.
As one embodiment, the next-hop up to field format as shown in figure 3, may include the following contents:
The domain type (Type):Show that this field belongs to the extended community attribute of EVPN agreements when the value in the domains Type is 0x06
Field;
The domain subtype (Sub-Type):For showing that this field is specially that next-hop in extended community attribute field is reachable
Field, value could be provided as arbitrary value (the extended community attribute field at present not being defined in extended community attribute field
In defined Sub-Type values have 0x01 and 0x02), set the value in the domains Sub-Type to 0x03 in Fig. 3;
Router ' s mac domains:6 bytes, for carrying, ES route the main MAC Address of sender namely VXLAN encapsulates MAC
Address;When ES, which route recipient, route sender's transmission message to ES by the tunnels VXLAN, need to encapsulate this MAC for message
Address;
In addition, next-hop is up to can also include the domain reserved field (Reserved) in field.
In step 202, VTEP equipment is confirming that opposite end VTEP is set according to the next-hop in the ES received routings up to field
It is standby reachable, and identical ESI in being route according to ES determines that opposite end VTEP equipment belongs to the more Home Systems of the same EVPN, lower extension
After the same terminal, it can be route according to the ES and generate next-hop list item of equal value and adjacent list item.Next-hop list item of equal value
Form is as shown in table 1, includes at least ESI row and next-hop row, and what wherein ESI row were filled in is that ES route the ESI for including, next-hop
Arrange fill in be the opposite end VTEP equipment for sending ES routings IP address, an ESI is corresponded to multiple in next-hop list item of equal value
Next-hop.The form of adjacent list item is as shown in table 2, includes at least tunnel destination address row, tunnel encapsulation MAC Address row and tunnel
That identity column, wherein tunnel destination address row are filled in is the IP address for the opposite end VTEP equipment for sending ES routings, tunnel encapsulation MAC
What address column was filled in is that the next-hop that ES is route encapsulates MAC Address up to the VXLAN that field includes, and what Tunnel Identifier row were filled in is
Using the IP address of opposite end VTEP equipment as the Tunnel Identifier in the tunnels VXLAN of purpose address.
Table 1
Table 2
Tunnel destination address | Tunnel encapsulation MAC Address | Tunnel Identifier |
Step 203:When in the ESI and generated above-mentioned next-hop list item of equal value in the MAC/IP notice routings received
When ESI is matched, generates using the terminal address in MAC/IP notice routings as occurrence, is multiple opposite end with destination address
VXLAN (Virtual Extensible LAN, expansible Virtual Local Area Network) tunnel of VTEP equipment is the equivalence of outgoing interface
Forwarding-table item.
Specifically, VTEP equipment can generate forwarding-table item of equal value by following steps in step 203:The first step is receiving
MAC/IP notice routing when, check the MAC/IP notice routing in whether include ESI, if show comprising if the MAC/IP notice
The noticed terminal of routing accesses multiple VTEP equipment simultaneously, so as to be searched using the ESI in MAC/IP notice routings
Matching next-hop list item of equal value;Second step, it is corresponding with above-mentioned ESI multiple in next-hop list item of equal value using matching
The IP address of opposite end VTEP equipment searches matching adjoining list item;Third walks, from the multiple matchings adjoining list item found
Tunnel Identifier is extracted, routing is noticed using the corresponding tunnels VXLAN of the multiple Tunnel Identifiers extracted as outgoing interface, by MAC/IP
In terminal address as occurrence, generate corresponding forwarding-table item of equal value.
Later, when there is message to hit generated forwarding-table item of equal value, VTEP equipment can utilize the equivalence forwarding table
One of item outgoing interface inquires matching adjacency list, and the VXLAN in matched adjacency list is recycled to encapsulate MAC Address
The message is encapsulated, and the message after encapsulation is sent by outgoing interface one of in the equivalence forwarding-table item.
So far, flow shown in Fig. 2 is completed.
The application is can be seen that by flow shown in Fig. 2 to extend the ES routings in EVPN agreements, is increased
One next-hop is up to field, if carrying the next-hop up to field, it can be said that bright in the ES routings that VTEP equipment receives
Send the ES routing opposite end VTEP equipment be it is reachable, so there is no need to again depend on ip-prefix gateways routing or
The other types of routings of EVPN, need to only be route according to ES can support VTEP equipment to generate complete forwarding-table item of equal value.
In order to keep those skilled in the art more clear and clear, below by taking EVPN shown in Fig. 4 belongs to scene more as an example,
Flow shown in Fig. 2 is described.
Referring to Fig. 4, Fig. 4 is embodiment networking schematic diagram provided by the present application.As shown in figure 4, there are three VTEP equipment:
VTEP1, VTEP2 and VTEP3.In Fig. 4, each VTEP equipment carries out arranged below:
1) IP address of VTEP1, VTEP2 and VTEP3 are respectively 1.1.1.1,2.2.2.2 and 3.3.3.3;
2) on VTEP3,2 tunnels VXLAN tunnel0 and tunnel1 are created according to EVPN protocol dynamics, wherein
The source address of tunnel0 is 3.3.3.3, destination address 1.1.1.1;The source address of tunnel1 is 3.3.3.3, destination address
For 2.2.2.2;
3) on VTEP1 and VTEP2, identical VXLAN encapsulation MAC Address is configured, for example be 1-1-1;
4) on VTEP1 and VTEP2, respectively one AC mouthfuls of establishment, the values of the identical ESI of AC mouthfuls of configurations, for example be 1;Virtually
Machine VM1 accesses VTEP1 and VTEP2 simultaneously by the two AC mouthfuls, and the IP address of VM1 is 10.1.1.2/24.
Based on above-mentioned configuration, then the interaction between VTEP1, VTEP2 and VTEP3 is as follows:
VTEP1 sends ES routings (also referred to as DF elections routing) to VTEP2 and VTEP3, carries VNI (VXLAN Network
Identifier, VXLAN network identifier) value 100, ESI values 1 and next-hop are up to field, and wherein next-hop is up in field
Including VXLNA encapsulation MAC Address 1-1-1.
VTEP2 sends ES routings to VTEP1 and VTEP3, carries VNI values 100, ESI values 1 and next-hop up to field,
Middle next-hop encapsulates MAC Address 1-1-1 up in field comprising VXLNA.
On VTEP1, VTEP2 and VTEP3, DF election lists as follows can be formed.According to existing specification, it is assumed that most
The AC mouths for electing responsible access VM1 on VTEP1 eventually are DF mouthfuls.
Table 3DF elects list
ESI | The IP address of VTEP equipment to be elected |
1 | 1.1.1.1 |
1 | 2.2.2.2 |
VTEP3 has found that this 2 ES routings have identical ESI values 1 after the ES routings for receiving VTEP1 and VTEP2, and
And next-hop is carried up to field, therefore can also be locally generated next-hop list item of equal value according to this 2 ES routings:
The next-hop list item of equal value of table 4
And VTEP3 can also generate adjacency list item, adjacency list according to the next-hop in the next-hop list item of equal value of generation
MAC Address in is exactly that the next-hop of ES routings encapsulates MAC Address up to the VXLAN for including in field:
Table 5 abuts list item
Tunnel destination address | Tunnel encapsulation MAC Address | Tunnel Identifier |
1.1.1.1 | 1-1-1 | tunnel0 |
2.2.2.2 | 1-1-1 | tunnel1 |
After VM1 reaches the standard grade, the VTEP1 only as DF equipment may learn the addresses MAC/IP of VM1.
Route synchronization is noticed to VTEP2 and VTEP3, while in MAC- in the addresses MAC/IP of VM1 by VTEP1 by MAC-IP
Corresponding ESI values 1 are carried in IP notice routings.
After VTEP2 receives the MAC/IP notice routings for the VM1 that VTEP1 is synchronized, in extraction MAC/IP notice routings
ESI values 1 find that locally there are the AC mouths that identical ESI values are 1, therefore the addresses MAC/IP of VM1 are added to local MAC/IP
In address list item, outgoing interface is the AC mouths of VM1 connections.
After VTEP3 receives the MAC/IP notice routings for the VM1 that VTEP1 is synchronized, in extraction MAC/IP notice routings
ESI values 1, traversed locally, there are ESI values 1, the ESI values 1 to correspond in of equal value next-hop list item shown in discovery table 4
Two next-hops 1.1.1.1 and 2.2.2.2, then adjacent list item shown in contacts list 5, can obtain ESI values 1 corresponding two
The Tunnel Identifier in the tunnels VXLAN is tunnel0 and tunnel1, so as to generate forwarding-table item of equal value as follows (here
IP address list item of equal value is only shown):
The forwarding-table item of equal value of table 6
Method provided by the present application is described above.Device provided by the present application is described below.
It is a kind of VTEP equipment provided by the present application referring to Fig. 5, which is located in EVPN.As shown in figure 5, institute
It may include with lower unit to state VTEP equipment:
Receiving unit 501, for receiving multiple ES routings.
Next-hop list item generation unit 502, be used for if it is determined that the multiple ES routings include next-hop up to field and
The multiple ES routings include identical ESI, it is determined that with sending the IP of multiple opposite end VTEP equipment of the multiple ES routings
Location generates the next-hop list item of equal value of the IP address comprising the identical ESI and the multiple opposite end VTEP equipment.
Forwarding-table item generation unit 503, for when in the MAC/IP notice routings that receive ESI with it is generated described etc.
When ESI in valence next-hop list item is matched, generate using the terminal address in MAC/IP notice routings as occurrence, with purpose
Address is that the tunnels VXLAN of the multiple opposite end VTEP equipment are the forwarding-table item of equal value of outgoing interface.
In wherein a kind of embodiment, the VTEP equipment can also include:
Adjacent list item generation unit, for if it is determined that the multiple ES routings received include next-hop up to field and described
Multiple ES routings include identical ESI, then generate the IP address comprising the multiple opposite end VTEP equipment and correspondence is the multiple
The adjoining list item of the Tunnel Identifier of opposite end VTEP equipment, the Tunnel Identifier are for identifying with the multiple opposite end VTEP equipment
The tunnels VXLAN of destination address.
Correspondingly, the forwarding-table item generation unit 503, for when in the MAC/IP notice routings that receive ESI with
When ESI matchings in the next-hop list item of equal value generated, using the multiple right in matched next-hop list item of equal value
The IP address of end VTEP equipment searches matching adjoining list item;The Tunnel Identifier in matched adjacent list item is corresponded to
Multiple tunnels VXLAN as outgoing interface, regard the terminal address in MAC/IP notice routings as occurrence, generate accordingly
Forwarding-table item of equal value.
In wherein a kind of embodiment, the next-hop can encapsulate MAC Address up in field comprising VXLAN;Institute
Stating in adjacent list item can also include that the VXLAN encapsulates MAC Address;
The VTEP equipment can also include:
Message retransmission unit, for when there is message to hit the forwarding-table item of equal value, utilizing the forwarding-table item of equal value
One of outgoing interface inquire matching adjoining list item;MAC Address is encapsulated using the VXLAN in matched adjacent list item
The message is encapsulated, and the message after encapsulation is sent by one of outgoing interface.
In wherein a kind of embodiment, the next-hop can carry the extended community attribute being route in ES up to field
In field;Alternatively, the next-hop can be carried up to field in the reserved field that ES is route.
It should be noted that being schematical, only a kind of logic function to the division of unit in the embodiment of the present invention
It divides, formula that in actual implementation, there may be another division manner.Each functional unit in embodiments herein can be integrated in
Can also be that each unit physically exists alone in one processing unit, can also two or more units be integrated in one
In a unit.The form that hardware had both may be used in above-mentioned integrated unit is realized, the form of SFU software functional unit can also be used
It realizes.
Referring to Fig. 6, Fig. 6 is a kind of hardware architecture diagram of VTEP node devices provided by the present application, the VTEP equipment
Including:Communication interface 601, processor 602, memory 603 and bus 604;Wherein, it communication interface 601, processor 602 and deposits
Reservoir 603 completes mutual communication by bus 604.
Wherein, communication interface 601, for sending and receiving message.Processor 602 can be a central processing unit
(CPU), memory 603 can be nonvolatile memory (non-volatile memory), and be stored in memory 603
There are the logical order for generating forwarding-table item of equal value, processor 602 that can execute the forwarding-table item of equal value life stored in memory 603
At logical order, to realize the function of the VTEP equipment in flow shown in above-mentioned Fig. 2.
So far, hardware configuration description shown in fig. 6 is completed.
The foregoing is merely the preferred embodiments of the application, not limiting the application, all essences in the application
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of the application protection god.
Claims (8)
1. a kind of equivalence forwarding-table item generation method, which is characterized in that the method is applied to Ethernet Virtual Private Network EVPN
In VTEP equipment, the method includes:
Receive multiple ethernet segment ES routings;
If it is determined that it includes identical Ethernet that the multiple ES routing, which includes next-hop up to field and the multiple ES routings,
Segment identifier ESI, it is determined that send the IP address of multiple opposite end VTEP equipment of the multiple ES routings, it includes the phase to generate
The next-hop list item of equal value of the IP address of same ESI and the multiple opposite end VTEP equipment;
It is raw when the ESI in the MAC/IP notice routings received is matched with the ESI in the generated next-hop list item of equal value
At using the terminal address in MAC/IP notice routings as occurrence, with destination address be the multiple opposite end VTEP equipment
The tunnels expansible Virtual Local Area Network VXLAN are the forwarding-table item of equal value of outgoing interface.
2. the method as described in claim 1, which is characterized in that reachable comprising next-hop in multiple ES routings that judgement receives
Field and the multiple ES are route comprising after identical ESI, and the method further includes:
Generate the Tunnel Identifier of the IP address comprising the multiple opposite end VTEP equipment and corresponding the multiple opposite end VTEP equipment
Adjoining list item, the Tunnel Identifier is for identifying using the multiple opposite end VTEP equipment as the tunnels VXLAN of purpose address;
The ESI when in the MAC/IP received notice routings is matched with the ESI in the generated next-hop list item of equal value
When, it generates using the terminal address in MAC/IP notice routings as occurrence, be the multiple opposite end VTEP with destination address
The tunnels expansible Virtual Local Area Network VXLAN of equipment are the forwarding-table item of equal value of outgoing interface, including:
When the ESI in the MAC/IP notice routings received is matched with the ESI in the generated next-hop list item of equal value, profit
Matching adjoining list item is searched with the IP address of the multiple opposite end VTEP equipment in matched next-hop list item of equal value;
Using the corresponding multiple tunnels VXLAN of the Tunnel Identifier in matched adjacent list item as outgoing interface, by the MAC/
Terminal address in IP notice routings generates corresponding forwarding-table item of equal value as occurrence.
3. method as claimed in claim 2, which is characterized in that the next-hop is up to including that VXLAN encapsulates MAC in field
Location;Also include that the VXLAN encapsulates MAC Address in the adjacent list item;
The method further includes:
When there is the message hit forwarding-table item of equal value, using the outgoing interface inquiry of one of the forwarding-table item of equal value with
Matched adjacent list item;
The message is encapsulated using the VXLAN encapsulation MAC Address in matched adjacent list item, and the message after encapsulation is passed through into institute
One of outgoing interface is stated to send.
4. method as claimed in claim 3, which is characterized in that the next-hop carries the extension group being route in ES up to field
In body attribute field;Alternatively, the next-hop is carried up to field in the reserved field that ES is route.
5. a kind of VTEP equipment, which is characterized in that the VTEP equipment is located in Ethernet Virtual Private Network EVPN, the VTEP
Equipment includes:
Receiving unit, for receiving multiple ethernet segment ES routings;
Next-hop list item generation unit is used for if it is determined that the multiple ES routings include next-hop up to field and the multiple
ES routings include identical ethernet segment identifier ESI, it is determined that send multiple opposite end VTEP equipment of the multiple ES routings
IP address, generate the next-hop list item of equal value of the IP address comprising the identical ESI and the multiple opposite end VTEP equipment;
Forwarding-table item generation unit, for when receive MAC/IP notice routing in ESI and the generated equivalence it is next
When ESI in skip list item is matched, the terminal address generated in being route using MAC/IP notices is as occurrence, with destination address
The tunnels expansible Virtual Local Area Network VXLAN of the multiple opposite end VTEP equipment are the forwarding-table item of equal value of outgoing interface.
6. VTEP equipment as claimed in claim 5, which is characterized in that the VTEP equipment further includes:
Adjacent list item generation unit, for if it is determined that the multiple ES routings received include next-hop up to field and the multiple
ES routings include identical ESI, then generate the IP address comprising the multiple opposite end VTEP equipment and corresponding the multiple opposite end
The adjoining list item of the Tunnel Identifier of VTEP equipment, the Tunnel Identifier is for identifying for the purpose of the multiple opposite end VTEP equipment
The tunnels VXLAN of address;
The forwarding-table item generation unit, for noticing ESI and the generated equivalence in routing as the MAC/IP received
When ESI in next-hop list item is matched, the IP of the multiple opposite end VTEP equipment in matched next-hop list item of equal value is utilized
The matching adjoining list item of address search;By the corresponding multiple VXLAN tunnels of the Tunnel Identifier in matched adjacent list item
Road generates corresponding forwarding table of equal value as outgoing interface using the terminal address in MAC/IP notice routings as occurrence
.
7. VTEP equipment as claimed in claim 6, which is characterized in that the next-hop is encapsulated up in field comprising VXLAN
MAC Address;Also include that the VXLAN encapsulates MAC Address in the adjacent list item;
The VTEP equipment further includes:
Message retransmission unit, for when there is the message hit forwarding-table item of equal value, utilizing its of the forwarding-table item of equal value
In an outgoing interface inquire matching adjoining list item;It is encapsulated using the VXLAN encapsulation MAC Address in matched adjacent list item
The message, and the message after encapsulation is sent by one of outgoing interface.
8. VTEP equipment as claimed in claim 7, which is characterized in that the next-hop carries the expansion being route in ES up to field
In exhibit-delegation's body attribute field;Alternatively, the next-hop is carried up to field in the reserved field that ES is route.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810096215.6A CN108306825B (en) | 2018-01-31 | 2018-01-31 | Equivalent forwarding table item generation method and VTEP device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810096215.6A CN108306825B (en) | 2018-01-31 | 2018-01-31 | Equivalent forwarding table item generation method and VTEP device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108306825A true CN108306825A (en) | 2018-07-20 |
CN108306825B CN108306825B (en) | 2021-06-29 |
Family
ID=62867421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810096215.6A Active CN108306825B (en) | 2018-01-31 | 2018-01-31 | Equivalent forwarding table item generation method and VTEP device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108306825B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112511398A (en) * | 2019-09-16 | 2021-03-16 | 中兴通讯股份有限公司 | Method and device for preventing traffic from bypassing |
CN114143257A (en) * | 2020-09-03 | 2022-03-04 | 华为技术有限公司 | Method for generating table entry, method, device and system for sending message |
CN114615216A (en) * | 2022-03-11 | 2022-06-10 | 深圳市风云实业有限公司 | Routing table dynamic adjustment method based on switching chip |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110235523A1 (en) * | 2010-03-24 | 2011-09-29 | Brocade Communications Systems, Inc. | Method and system for extending routing domain to non-routing end stations |
CN104253759A (en) * | 2013-06-30 | 2014-12-31 | 华为技术有限公司 | Method, device and system for forwarding messages |
EP3013006A1 (en) * | 2014-10-22 | 2016-04-27 | Juniper Networks, Inc. | Protocol independent multicast sparse mode (pim-sm) support for data center interconnect |
CN105591924A (en) * | 2014-11-10 | 2016-05-18 | 瞻博网络公司 | Signaling aliasing capability in data centers |
US9391885B1 (en) * | 2013-09-05 | 2016-07-12 | Juniper Networks, Inc. | MPLS label usage in Ethernet virtual private networks |
CN107409083A (en) * | 2015-03-26 | 2017-11-28 | 思科技术公司 | Expansible processing to the bgp routing information in the VXLAN with EVPN control planes |
-
2018
- 2018-01-31 CN CN201810096215.6A patent/CN108306825B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110235523A1 (en) * | 2010-03-24 | 2011-09-29 | Brocade Communications Systems, Inc. | Method and system for extending routing domain to non-routing end stations |
CN104253759A (en) * | 2013-06-30 | 2014-12-31 | 华为技术有限公司 | Method, device and system for forwarding messages |
US9391885B1 (en) * | 2013-09-05 | 2016-07-12 | Juniper Networks, Inc. | MPLS label usage in Ethernet virtual private networks |
EP3013006A1 (en) * | 2014-10-22 | 2016-04-27 | Juniper Networks, Inc. | Protocol independent multicast sparse mode (pim-sm) support for data center interconnect |
CN105591924A (en) * | 2014-11-10 | 2016-05-18 | 瞻博网络公司 | Signaling aliasing capability in data centers |
CN107409083A (en) * | 2015-03-26 | 2017-11-28 | 思科技术公司 | Expansible processing to the bgp routing information in the VXLAN with EVPN control planes |
Non-Patent Citations (1)
Title |
---|
J. RABADAN,等: "《draft-ietf-bess-evpn-prefix-advertisement-09》", 21 November 2017 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112511398A (en) * | 2019-09-16 | 2021-03-16 | 中兴通讯股份有限公司 | Method and device for preventing traffic from bypassing |
EP4020903A4 (en) * | 2019-09-16 | 2022-09-07 | ZTE Corporation | Method and apparatus for preventing traffic bypassing |
CN112511398B (en) * | 2019-09-16 | 2023-11-28 | 中兴通讯股份有限公司 | Method and device for preventing flow from bypassing |
CN114143257A (en) * | 2020-09-03 | 2022-03-04 | 华为技术有限公司 | Method for generating table entry, method, device and system for sending message |
CN114615216A (en) * | 2022-03-11 | 2022-06-10 | 深圳市风云实业有限公司 | Routing table dynamic adjustment method based on switching chip |
Also Published As
Publication number | Publication date |
---|---|
CN108306825B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107547402B (en) | Forwarding table generation method and device | |
US10050877B2 (en) | Packet forwarding method and apparatus | |
CN104396192B (en) | Dissymmetric network address encapsulates | |
CN107612808B (en) | Tunnel establishment method and device | |
CN104052666B (en) | The method and apparatus for realizing host routing reachable | |
CN104601472B (en) | The method and message handling system of VXLAN gateways distribution route are realized in the chips | |
US10193707B2 (en) | Packet transmission method and apparatus | |
US8898334B2 (en) | System for network deployment and method for mapping and data forwarding thereof | |
WO2015062529A1 (en) | Packet forwarding in data center network | |
KR100886433B1 (en) | IPv6 Support Method for Bridge Extension Using Wireless Communications System | |
WO2022100554A1 (en) | Method for forwarding bier message, and device and system | |
CN101155136A (en) | Method and system for implementing virtual gateway and virtual subnet | |
CN104871495A (en) | Overlay virtual gateway for overlay networks | |
CN108306806B (en) | Message forwarding method and device | |
WO2015014316A1 (en) | Packet forwarding | |
WO2018014803A1 (en) | Message forwarding | |
WO2013029440A1 (en) | Method and apparatus for implementing layer-2 interconnection of data centers | |
CN108964940A (en) | Message method and device, storage medium | |
WO2015014311A1 (en) | Packet forwarding | |
CN108306825A (en) | A kind of equivalence forwarding-table item generation method and VTEP equipment | |
CN113660164A (en) | Message forwarding method and network equipment | |
CN113507425B (en) | Overlay multicast method, device and equipment | |
CN110620715B (en) | Virtual extended local area network communication method, tunnel endpoint and controller | |
CN109391534B (en) | Access mode updating method and device | |
WO2017036384A1 (en) | Provider edge device and data forwarding method |
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 |