CN106452992A - Remote multi-homing networking method and apparatus - Google Patents

Remote multi-homing networking method and apparatus Download PDF

Info

Publication number
CN106452992A
CN106452992A CN201610831322.XA CN201610831322A CN106452992A CN 106452992 A CN106452992 A CN 106452992A CN 201610831322 A CN201610831322 A CN 201610831322A CN 106452992 A CN106452992 A CN 106452992A
Authority
CN
China
Prior art keywords
leaf equipment
message
leaf
equipment
identity
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
Application number
CN201610831322.XA
Other languages
Chinese (zh)
Other versions
CN106452992B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201610831322.XA priority Critical patent/CN106452992B/en
Publication of CN106452992A publication Critical patent/CN106452992A/en
Application granted granted Critical
Publication of CN106452992B publication Critical patent/CN106452992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • 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/02Topology update or discovery
    • 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
    • H04L45/745Address table lookup; Address filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a remote multi-homing networking method and apparatus. The method comprises the steps of associating a first Leaf device with remote second Leaf devices, determining, by the first Leaf device, a master Leaf device and standby Leaf devices among the second Leaf devices, and notifying the second Leaf devices of identity determining parameters, so as to enable the second Leaf devices to determine identity types of the second Leaf devices associated with the first Leaf device. Remote multi-homing access of the first Leaf device is realized, and the access reliability is improved.

Description

A kind of implementation method of distal end multi-home networking and device
Technical field
The present invention relates to network communication technology field, more particularly to a kind of implementation method of distal end multi-home networking and dress Put.
Background technology
EVPN (Ethernet Virtual Private Network, Ethernet virtual private networks) is a kind of two layers VPN technologies, control plane adopts MP-BGP (Multiprotocol-Border Gateway Protocol, multiprotocol-border net Close agreement) notice EVPN routing iinformation, datum plane is using VXLAN (Virtual eXtensible LAN, expansible virtual office Domain network) packaged type E-Packets.EVPN can be based on existing service provider or enterprise IP (Internet Protocol, Internet protocol) network, it is that the same subnet of same tenant provides two layers of interconnection, and is same by EVPN gateway The different sub-network of one tenant provides three layers of interconnection, and three layers for its offer with external network are interconnected.At present, EVPN network is not propped up Hold the distal end multi-home networking of Leaf (branch) equipment.
Content of the invention
It is an object of the invention to provide a kind of implementation method of distal end multi-home networking and device, set in order to realize Leaf Belonging to access more standby the distal end.
For achieving the above object, the invention provides technical scheme:
The present invention provides a kind of implementation method of distal end multi-home networking, is applied to a Leaf equipment, methods described bag Include:
Main Leaf equipment is determined from the 2nd Leaf equipment of the distal end of Leaf equipment association, by described second Leaf equipment in Leaf equipment in addition to main Leaf equipment is defined as standby Leaf equipment;
Notification packet is sent, the notification packet carries identity validation parameter, so that the 2nd Leaf equipment is according to institute The identity type of the 2nd Leaf equipment that identity validation parameter confirms to associate, the identity type is stated with a Leaf equipment Based on Leaf equipment or standby Leaf equipment.
The present invention also provides a kind of implementation method of distal end multi-home networking, is applied to the 2nd Leaf equipment, methods described Including:
Receive the notification packet that a Leaf equipment of distal end sends, the Leaf equipment association at least two second Leaf equipment, the notification packet carries identity validation parameter;
The identity class of the 2nd Leaf equipment for being associated with a Leaf equipment according to the identity validation parameter determination Type, Leaf equipment or standby Leaf equipment based on the identity type.
What the present invention also provided a kind of distal end multi-home networking realizes device, is applied to a Leaf equipment, described device Including:
Determining unit, determines that main Leaf sets in the 2nd Leaf equipment for the distal end for associating from a Leaf equipment Standby, the Leaf equipment in the 2nd Leaf equipment in addition to main Leaf equipment is defined as standby Leaf equipment;
Transmitting element, for sending notification packet, the notification packet carries identity validation parameter, so that described second The identity class of the 2nd Leaf equipment that Leaf equipment is confirmed to be associated with a Leaf equipment according to the identity validation parameter Type, Leaf equipment or standby Leaf equipment based on the identity type.
What the present invention also provided a kind of distal end multi-home networking realizes device, is applied to the 2nd Leaf equipment, described device Including:
Receiving unit, the notification packet that the Leaf equipment for receiving distal end sends, a Leaf equipment is closed Join at least two the 2nd Leaf equipment, the notification packet carries identity validation parameter;
Determining unit, for the 2nd Leaf for being associated with a Leaf equipment according to the identity validation parameter determination The identity type of equipment, Leaf equipment or standby Leaf equipment based on the identity type.
By above description as can be seen that a Leaf equipment is associated by the present invention with the 2nd Leaf equipment of distal end, from second Main Leaf equipment and standby Leaf equipment being determined in Leaf equipment, and notices identity validation parameter to the 2nd Leaf equipment, makes second Leaf equipment determines that itself is directed to the identity type of a Leaf with other the 2nd Leaf equipment, so as to realize a Leaf equipment Distal end more belong to access, improve connection reliability.
Description of the drawings
Fig. 1 is the schematic diagram of the EVPN network shown in the embodiment of the present invention;
Fig. 2 is the implementation method flow chart of the distal end multi-home networking shown in one embodiment of the invention;
Fig. 3 is the implementation method flow chart of the distal end multi-home networking shown in another embodiment of the present invention;
Fig. 4 is the structural representation of the Leaf equipment shown in the embodiment of the present invention or the 2nd Leaf equipment;
Fig. 5 is the structural representation for realizing device of the distal end multi-home networking shown in one embodiment of the invention;
Fig. 6 is the structural representation for realizing device of the distal end multi-home networking shown in another embodiment of the present invention.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some that described in detail in claims, the present invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, and is not intended to be limiting the present invention. " one kind ", " described " and " being somebody's turn to do " of singulative used in the present invention and appended claims is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein is referred to and is wrapped Containing one or more associated any or all possible combination for listing project.
It will be appreciated that though term first, second, third, etc. may be adopted in the present invention describe various information, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of the scope of the invention, 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 linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
The embodiment of the present invention proposes a kind of implementation method of distal end multi-home networking, the method by a Leaf equipment with remote The 2nd Leaf equipment is held to associate, a Leaf equipment determines main Leaf equipment and standby Leaf equipment from the 2nd Leaf equipment, and Identity validation parameter is noticed to the 2nd Leaf equipment, make the 2nd Leaf equipment determine that itself and other the 2nd Leaf equipment are directed to the The identity type of one Leaf, so as to realize belonging to access the distal end of a Leaf equipment more.
Referring to Fig. 1, it is the EVPN network diagram shown in the embodiment of the present invention.EVPN is configured on each Leaf equipment Example, it is a Leaf equipment that the EVPN example specifies Leaf1, and to specify Leaf2 and Leaf3 be the distal end for associating with Leaf1 The 2nd Leaf equipment;Spine1 is nucleus equipment;Leaf4 is the Leaf equipment of the distal end not associated with Leaf1;Host1~ Host4 is subscriber's main station.Wherein, the 2nd Leaf equipment of the distal end for associating with Leaf1 can be that the Leaf direct-connected with Leaf1 sets Standby, i.e., in this example, Leaf2 and Leaf3 is respectively the Leaf equipment direct-connected with Leaf1.
Referring to Fig. 2, be one embodiment flow chart of the implementation method of distal end multi-home networking of the present invention, the embodiment from First Leaf equipment side is described to the process of realizing of distal end multi-home networking.
Step 201, determines main Leaf equipment from the 2nd Leaf equipment of the distal end of Leaf equipment association, will Leaf equipment in the 2nd Leaf equipment in addition to main Leaf equipment is defined as standby Leaf equipment.
In the present invention, a Leaf equipment at least associates the 2nd Leaf equipment of two distal ends, and from the 2nd Leaf equipment The middle main Leaf equipment of determination and standby Leaf equipment.Specifically, obtaining the priority of the 2nd Leaf equipment of association;According to second The priority of Leaf equipment determines main Leaf equipment.For example, in one embodiment, can configure on a Leaf equipment with The priority of the 2nd Leaf equipment of its association, by the 2nd Leaf equipment of highest priority determine based on Leaf equipment, will remove The 2nd Leaf equipment outside main Leaf equipment is defined as standby Leaf equipment.
Step 202, sends notification packet, and the notification packet carries identity validation parameter, so that the 2nd Leaf sets The identity type of standby the 2nd Leaf equipment for confirming to associate with a Leaf equipment according to the identity validation parameter, described Leaf equipment or standby Leaf equipment based on identity type.
When the 2nd Leaf equipment for associating with a Leaf equipment is specified, a Leaf equipment and the 2nd Leaf equipment can To set up BGP (Border Gateway Protocol, Border Gateway Protocol) neighbours, the notification packet can be bgp protocol report Literary (as the renewal message in bgp protocol).
In this step, a Leaf equipment determines identity type by sending notification packet the 2nd Leaf equipment of triggering, should Identity type includes the identity type of itself and other the 2nd Leaf equipment for associating with a Leaf equipment, that is, determine all with In 2nd Leaf equipment of the first Leaf equipment association, who is main Leaf equipment, and who is standby Leaf equipment.
In one embodiment, when notification packet is for priority notification packet, the identity that the notification packet is carried is true Recognize the priority that parameter is the 2nd Leaf equipment so that the 2nd Leaf equipment according to all associate with a Leaf equipment second The priority of Leaf equipment confirms the identity type corresponding to a Leaf equipment.
In another embodiment, when notification packet for exception notification message (for example, when main Leaf equipment fault or When tunnel between first Leaf equipment and main Leaf equipment is connected disconnection, a Leaf equipment can detect exception, send different Normal notification packet) when, the identity validation parameter that the notification packet is carried is the mark that abnormal main Leaf equipment occurs, so that the Two Leaf equipment are reaffirmed according to the priority of the standby Leaf equipment for being associated with a Leaf equipment and are closed with a Leaf equipment The identity type of the 2nd Leaf equipment of connection, i.e., redefine main Leaf equipment from standby Leaf equipment.
It should be added that, when occurring abnormal main Leaf equipment to recover normal, can be recovered according to preset strategy The identity type of former main Leaf equipment, or continue to existing main Leaf equipment.
So far, the distal end multi-home networking of Leaf equipment is completed.
Under said distal ends multi-home networking, a Leaf equipment receives the message of local subscriber host transmission, and determines Type of message.When message is for broadcasting packet or the first unicast message, to main Leaf device forwards message, so that main Leaf equipment The broadcasting packet for receiving, or the forwarding for preserving according to main Leaf equipment are sent to local subscriber host and other Leaf equipment List item forwards the first unicast message.Wherein, the first unicast message is the unicast message of the local forwarding-table item of purpose address misses. For a Leaf equipment, the first unicast message refers to the forward table for preserving in the miss Leaf equipment of destination address The unicast message of item.Unicast message for hit forwarding-table item presses forwarding-table item forwarding.
It should be added that, in the present invention, a Leaf equipment does not preserve the forward table that mates with far end subscriber host ?.When the local subscriber host of a Leaf equipment accesses far end subscriber host, can be turned by way of the first unicast message Main Leaf equipment (main Leaf equipment generally preserves the forwarding-table item of all subscriber's main stations) forwarding is issued, is set with reducing by a Leaf Standby resource occupation, i.e. a Leaf equipment can adopt the weaker equipment of specification, performance, reduce the cost of access network.
Additionally, when a Leaf equipment receives broadcasting packet from main Leaf equipment, should to local subscriber host broadcast Broadcasting packet;When unicast message is received from the 2nd Leaf equipment of association, according to local forwarding-table item to local user master Machine is forwarded.
Referring to Fig. 3, it is another embodiment flow chart of the implementation method of distal end multi-home networking of the present invention, the embodiment From the 2nd Leaf equipment side, the process of realizing of distal end multi-home networking is described.
Step 301, receives the notification packet that a Leaf equipment of distal end sends, and a Leaf equipment is associated at least Two the 2nd Leaf equipment, the notification packet carries identity validation parameter.
Step 302, according to the 2nd Leaf equipment that the identity validation parameter determination is associated with a Leaf equipment Identity type, Leaf equipment or standby Leaf equipment based on the identity type.
From the step of a Leaf equipment side 202 description, the notification packet that a Leaf equipment sends can be Priority notification packet or exception notification message, above-mentioned two message can all trigger the determination of the 2nd Leaf equipment and set with a Leaf The identity type of the 2nd Leaf equipment of standby association.
When notification packet is for priority notification packet, the identity validation parameter that the notification packet is carried is set for the 2nd Leaf Standby priority.2nd Leaf equipment determines according to the priority of all the 2nd Leaf equipment for associating with a Leaf equipment The identity type of two Leaf equipment, the identity type and other the 2nd Leaf for being associated with a Leaf equipment including itself is set Standby identity type.
When notification packet is for exception notification message, the identity validation parameter that the notification packet is carried is that abnormal master occurs The mark of Leaf equipment, the 2nd Leaf equipment is reaffirmed according to the priority of the standby Leaf equipment for being associated with a Leaf equipment The identity type of the 2nd Leaf equipment for associating with a Leaf equipment.Referring specifically to the description of a Leaf equipment side, here Repeat no more.
After said distal ends multi-home networking is completed, the 2nd Leaf equipment that each is associated with a Leaf equipment according to The identity type of itself executes message forwarding.
When Leaf equipment based on the 2nd Leaf equipment for associating with a Leaf equipment determines the identity type of itself, report Literary repeating process is as follows:
Main Leaf equipment receives the message of Leaf equipment transmission;When message is broadcasting packet or the second unicast message When, the message is sent to local subscriber host and other Leaf equipment, so that other Leaf equipment are to respective local user Message described in host broadcast.Wherein, the second unicast message is the unicast message of the local forwarding-table item of purpose address misses.For For main Leaf equipment, the second unicast message refers to the unicast of the forwarding-table item for preserving in the miss main Leaf equipment of destination address Message.Unicast message for hit forwarding-table item presses forwarding-table item forwarding.
Main Leaf equipment receives the message that other Leaf equipment send in addition to a Leaf equipment, determines type of message, when When message is broadcasting packet or the second unicast message, the message is sent to local subscriber host and a Leaf equipment, so that First Leaf equipment broadcasts the message to local subscriber host.Wherein, the second unicast message locally turns for purpose address misses The unicast message of forwarding list item.Unicast message for hit forwarding-table item presses forwarding-table item forwarding.
Additionally, main Leaf equipment receives the message of local subscriber host transmission, when message is broadcasting packet or the second unicast During message, the broadcasting packet or the second unicast message is sent to other Leaf equipment, so that other Leaf equipment are to each locally Subscriber's main station is broadcasted.Unicast message for hit forwarding-table item presses forwarding-table item forwarding.
When the 2nd Leaf equipment for associating with a Leaf equipment determines that the identity type of itself is standby Leaf equipment, report Literary repeating process is as follows:
Standby Leaf equipment receives the message of local subscriber host transmission;When message is broadcasting packet or the second unicast message When, the message is sent to other Leaf equipment in addition to a Leaf equipment, so that other Leaf set in addition to a Leaf equipment Standby broadcast the message to respective local subscriber host, while make main Leaf send the message to a Leaf equipment, and then make the One Leaf equipment broadcasts the message to local subscriber host.Wherein, the second unicast message is locally forwarded for purpose address misses The unicast message of list item.For standby Leaf equipment, the second unicast message is referred in the miss standby Leaf equipment of destination address The unicast message of the forwarding-table item of preservation.Unicast message for hit forwarding-table item presses forwarding-table item forwarding.
Additionally, standby Leaf equipment receives the message that other Leaf equipment send in addition to a Leaf equipment, message class is determined Type, when message is for broadcasting packet or the second unicast message, broadcasts the message to local subscriber host.Wherein, the second unicast report Text is the unicast message of the local forwarding-table item of purpose address misses.Unicast message for hit forwarding-table item presses forwarding-table item Forward.
It can be seen from the above description that a Leaf equipment is associated by the present invention with the 2nd Leaf equipment, a Leaf sets Standby determine main Leaf equipment and standby Leaf equipment from the 2nd Leaf equipment, and to the 2nd Leaf equipment notice identity validation ginseng Number, makes the 2nd Leaf equipment determine that itself and other the 2nd Leaf equipment are directed to the identity type of a Leaf, so as to realize the Belong to access more the distal end of one Leaf equipment, improve the reliability for accessing.Meanwhile, a Leaf equipment need not preserve remote subscriber The forwarding-table item of main frame, therefore, it is possible to decrease the specification requirement to a Leaf equipment, and then reduces the cost of access network.
Still by taking EVPN network shown in Fig. 1 as an example, Leaf1 is associated with the Leaf2 and Leaf3 of distal end, and with Leaf2 and Leaf3 sets up bgp neighbor.
The priority for configuring Leaf2 and Leaf3 on Leaf1 is respectively 7 and 1 (the bigger priority of numerical value is higher).Leaf1 Priority according to Leaf2 and Leaf3 determines Leaf equipment based on Leaf2, and Leaf3 is standby Leaf equipment.Meanwhile, to Leaf2 Priority notification packet being sent with Leaf3, the priority of Leaf2, Leaf3 is carried in priority notification packet, so that Leaf2 With Leaf3, main Leaf equipment and standby Leaf equipment are determined according to priority.The priority notification packet can utilize bgp protocol message Extension is realized.
After Leaf2 receives priority notification packet, according to the priority of Leaf2 and Leaf3, Leaf based on itself is confirmed Equipment;In the same manner, after Leaf3 receives priority notification packet, according to the priority of Leaf2 and Leaf3, confirm from as standby Leaf equipment, Leaf equipment based on Leaf2.
In the case of said distal ends multi-home networking, so that Host1 accesses Host4 by way of Ping as an example, report is introduced Literary repeating process.It is assumed that IP (Internet Protocol, the Internet protocol) address of Host1~Host4 respectively IP1~ IP4, MAC (Media Access Control, medium access control) address is MAC1~MAC4 respectively.
First, Host1 needs to obtain the MAC Address of Host4.Host1 sends ARP (Address Resolution Protocol, address resolution protocol) request message, it is IP4 that the ARP request message is broadcasting packet, purpose IP address, for asking Seek the MAC Address for obtaining Host4.
Leaf1 receives the ARP request message of Host1 transmission, carries out EVPN tunnel encapsulation to ARP request message, is transmitted to Leaf2.Meanwhile, Leaf1 learns the ARP information (MAC1 and IP1) of Host1, locally the forwarding-table item of generation Host1, and due to Leaf1 sets up bgp neighbor with Leaf2 and Leaf3, therefore, can pass through (for example, the renewal in bgp protocol of bgp protocol message Message) ARP information of Host1 is advertised to Leaf2 and Leaf3.
After Leaf2 receives the EVPN channel message of Leaf1, tunnel encapsulation is released, to local Host2 broadcast ARP request Message, and EVPN tunnel encapsulation is carried out respectively to other Leaf equipment (Leaf1, Leaf3, Leaf4) transmissions.Meanwhile, Leaf2 connects The bgp protocol message of the ARP information of the carrying Host1 of Leaf1 transmission is received, learns the ARP information of Host1, locally generate Host1 Forwarding-table item, and by bgp protocol message to Leaf4 notice Host1 ARP information, next-hop be oneself.
After Leaf3 receives the EVPN channel message of Leaf2, tunnel encapsulation is released, to local Host3 broadcast ARP request Message.Meanwhile, Leaf3 receives the bgp protocol message of the ARP information of the carrying Host1 of Leaf1 transmission, learns the ARP of Host1 Information, the local forwarding-table item for generating Host1, and notice the ARP information of Host1 to Leaf4 by bgp protocol message, next Jump as oneself.
After Leaf1 receives the EVPN channel message of Leaf2, tunnel encapsulation is released, if locally also having other in addition to Host1 Subscriber's main station, then can be to other subscriber's main station broadcast ARP request messages.
After Leaf4 receives the EVPN channel message of Leaf2, tunnel encapsulation is released, to local Host4 broadcast ARP request Message.Meanwhile, Leaf4 receives the bgp protocol message of the ARP information of the carrying Host1 that Leaf2 and Leaf3 sends, study The ARP information of Host1, the local forwarding-table item for generating Host1, and think that Leaf2 and Leaf3 are the next-hop for going to Host1.
After Host4 receives the ARP request message of Host1, learn the ARP information of Host1, and arp reply message sent, Purpose IP address are IP1.
After Leaf4 receives arp reply message, forwarding-table item is inquired about according to purpose IP address and find next-hop for Leaf2 And Leaf3, it is Leaf3, EVPN tunnel to be carried out to arp reply message according to preset algorithm (for example, Hash operation) selection next-hop Leaf3 is transmitted to after road encapsulation.Meanwhile, Leaf4 learns the ARP information (MAC4 and IP4) of Host4, and local generation Host4 turns Forwarding list item, and the ARP information of Host4 is advertised to Leaf2 and Leaf3 by bgp protocol message.
Leaf2 receives the bgp protocol message of the ARP information of the carrying Host4 of Leaf4 transmission, learns the ARP letter of Host4 Breath, the local forwarding-table item for generating Host4.
Leaf3 receives the bgp protocol message of the ARP information of the carrying Host4 of Leaf4 transmission, learns the ARP letter of Host4 Breath, the local forwarding-table item for generating Host4.
Meanwhile, Leaf3 receives the EVPN channel message of Leaf4, and can be forwarded based on following two modes:Mode One, Leaf2 will be sent to after EVPN channel message Reseal, then is forwarded from Leaf2 (as main Leaf equipment) to Leaf1; Mode two, inquires about forwarding-table item by Leaf3 according to the purpose IP address of internal layer arp reply message and finds next-hop for Leaf1, weight New encapsulation EVPN tunnel is transmitted to Leaf1.
After Leaf1 receives the EVPN channel message of Leaf2 or Leaf3, tunnel encapsulation is released, according to internal layer arp reply The purpose IP address inquiry forwarding-table item of message is transmitted to Host1.It is emphasized that Leaf1 does not learn to receive from tunnel The ARP information that message is carried.
After Host1 receives arp reply message, learn the ARP information of Host4.So far, Host1 gets Host4's MAC Address.
Host1 sends Ping bag to Host4, and for unicast message, (source MAC is that MAC1, source IP address is to the Ping bag IP1, it is IP4 that purpose MAC is MAC4, purpose IP address), it is designated as Packet1.
After Leaf1 receives Packet1, local forwarding-table item is inquired about, be there is no the forwarding-table item of Host4, therefore, carry out Leaf2 is transmitted to after EVPN tunnel encapsulation.
After Leaf2 receives the EVPN channel message of Leaf1, tunnel encapsulation is solved, according to the purpose of internal layer message Packet1 The forwarding-table item of IP address coupling Host4, finds next-hop for Leaf4, is transmitted to Leaf4 after carrying out EVPN tunnel encapsulation.
After Leaf4 receives the EVPN channel message of Leaf2, tunnel encapsulation is solved, according to the purpose of internal layer message Packet1 The forwarding-table item of IP address coupling Host4, is transmitted to Host4.
Host4 sends response message Packet2 for Packet1, and (it is IP4 that source MAC is MAC4, source IP address, mesh MAC be MAC1, purpose IP address be IP1).Repeating process ibid, is forwarded by forwarding-table item, be will not be described here.
When the Leaf2 fault for associating with Leaf1, Leaf1 sends exception notification message, carries in the exception notification message The mark of Leaf2.After Leaf3 receives exception notification message, the priority of the Leaf equipment for associating with Leaf1 is obtained, due to The current Leaf3 that is only left is associated with Leaf1, and therefore, Leaf3 is determined from as the main Leaf equipment for being associated with Leaf1.Leaf1 Leaf equipment based on Leaf3 is determined also according to the Leaf equipment for associating with itself.Set subsequently through the main Leaf for redefining For message forwarding is carried out, concrete repeating process is repeated no more.
Corresponding with the embodiment of the implementation method of aforementioned distal multi-home networking, present invention also offers belonging to more the distal end The embodiment for realizing device of networking.
The embodiment for realizing device of distal end multi-home networking of the present invention can be applied in a Leaf equipment or second On Leaf equipment.Device embodiment can be realized by software, it is also possible to realized by way of hardware or software and hardware combining. As a example by implemented in software, as the device on a logical meaning, it is in the processor run memory by its place equipment Corresponding computer program instructions are formed.From for hardware view, as shown in figure 4, for distal end multi-home networking of the present invention A kind of hardware structure diagram of device place equipment is realized, in addition to the processor shown in Fig. 4 and nonvolatile memory, real The actual functional capability of the equipment generally according to the equipment at device place in example is applied, other hardware can also be included, this is repeated no more.
Fig. 5 is refer to, is the structural representation for realizing device of the distal end multi-home networking in one embodiment of the invention. The device of realizing of the distal end multi-home networking includes determining unit 501 and transmitting element 502, wherein:
Determining unit 501, for determining master in the 2nd Leaf equipment of the distal end for associating from a Leaf equipment Leaf equipment, the Leaf equipment in the 2nd Leaf equipment in addition to main Leaf equipment is defined as standby Leaf equipment;
Transmitting element 502, for sending notification packet, the notification packet carries identity validation parameter, so that described the The identity of the 2nd Leaf equipment that two Leaf equipment are confirmed to be associated with a Leaf equipment according to the identity validation parameter Type, Leaf equipment or standby Leaf equipment based on the identity type.
Further,
The priority for determining single 501 yuan the 2nd Leaf equipment specifically for obtaining association;According to described second The priority of Leaf equipment determines main Leaf equipment.
Further,
The transmitting element 502, specifically for when the notification packet be priority notification packet when, the identity validation Parameter is the priority of the 2nd Leaf equipment so that the 2nd Leaf equipment according to all associate with a Leaf equipment second The priority of Leaf equipment confirms the identity type of the 2nd Leaf equipment for associating with a Leaf equipment.
Further,
The transmitting element 502, specifically for when the notification packet is exception notification message, the identity validation is joined Number is the mark of the main Leaf equipment that exception occurs, so that the 2nd Leaf equipment is according to the standby Leaf for associating with a Leaf equipment The priority of equipment reaffirms the identity type of the 2nd Leaf equipment for associating with a Leaf equipment.
Further, described device also includes:
Processing unit, for receiving the message of local subscriber host transmission;When the message is that broadcasting packet or first are single When reporting text, to message described in the main Leaf device forwards, first unicast message locally turns for purpose address misses The unicast message of forwarding list item, so that the main Leaf equipment sends the broadcast to local subscriber host and other Leaf equipment Message, or first unicast message, wherein, a Leaf equipment are forwarded according to the forwarding-table item of main Leaf equipment preservation The forwarding-table item that with far end subscriber host mate is not preserved.
Fig. 6 is refer to, is the structural representation for realizing device of the distal end multi-home networking in another embodiment of the present invention Figure.The device of realizing of the distal end multi-home networking includes receiving unit 601 and determining unit 602, wherein:
Receiving unit 601, the notification packet that the Leaf equipment for receiving distal end sends, a Leaf equipment At least two the 2nd Leaf equipment are associated, the notification packet carries identity validation parameter;
Determining unit 602, for associated with a Leaf equipment according to the identity validation parameter determination second The identity type of Leaf equipment, Leaf equipment or standby Leaf equipment based on the identity type.
Further,
The receiving unit 601, specifically for when the notification packet be priority notification packet when, the identity validation Parameter is the priority of the 2nd Leaf equipment.
Further,
The receiving unit 601, specifically for when the notification packet is exception notification message, the identity validation is joined Number is the mark of the main Leaf equipment that exception occurs;
The determining unit 602, specifically for the priority weight according to the standby Leaf equipment for associating with a Leaf equipment Newly confirm the identity type of the 2nd Leaf equipment for associating with a Leaf equipment.
Further, described device also includes:
Processing unit, specifically for when Leaf equipment based on the identity type of itself is determined, receiving a Leaf equipment The message of transmission;When the message is broadcasting packet or the second unicast message, set to local subscriber host and other Leaf Preparation send the message, and second unicast message is the unicast message of the local forwarding-table item of purpose address misses, so that its Its Leaf equipment broadcasts the message to respective local subscriber host.
Further, described device also includes:
Processing unit, specifically for when Leaf equipment based on the identity type of itself is determined, receiving and setting except a Leaf The message that standby other Leaf equipment outer send;When the message is broadcasting packet or the second unicast message, to local user master Machine and a Leaf equipment send the message, so that a Leaf equipment broadcasts the report to local subscriber host Text, wherein, second unicast message is the unicast message of the local forwarding-table item of purpose address misses.
Further, described device also includes:
Processing unit, specifically for when determining that the identity type of itself is standby Leaf equipment, receiving local subscriber host The message of transmission;When the message is broadcasting packet or during the second unicast message, the message is sent to setting except a Leaf Other Leaf equipment standby outer so that described except a Leaf equipment in addition to other Leaf equipment to respective local subscriber host broadcast institute Message is stated, while making main Leaf the message be sent to a Leaf equipment, and then so that a Leaf equipment is used to local Message described in the host broadcast of family, wherein, second unicast message is the unicast report of the local forwarding-table item of purpose address misses Text.
In said apparatus, the process of realizing of the function of unit and effect specifically refers to corresponding step in said method Process is realized, be will not be described here.
For device embodiment, as which corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematically, wherein described as separating component The unit of explanation can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can be located at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
Presently preferred embodiments of the present invention is the foregoing is only, not in order to limit the present invention, all essences in the present invention Within god and principle, any modification, equivalent substitution and improvement that is done etc., should be included within the scope of protection of the invention.

Claims (22)

1. a kind of implementation method of distal end multi-home networking, is applied to first branch's Leaf equipment, it is characterised in that methods described Including:
Main Leaf equipment is determined from the 2nd Leaf equipment of the distal end of Leaf equipment association, by the 2nd Leaf Leaf equipment in equipment in addition to main Leaf equipment is defined as standby Leaf equipment;
Notification packet is sent, the notification packet carries identity validation parameter, so that the 2nd Leaf equipment is according to the body Part confirms the identity type of the 2nd Leaf equipment that parameter confirms to associate with a Leaf equipment, based on the identity type Leaf equipment or standby Leaf equipment.
2. the method for claim 1, it is characterised in that the second of the distal end from Leaf equipment association Main Leaf equipment is determined in Leaf equipment, including:
Obtain the priority of the 2nd Leaf equipment of association;
Priority according to the 2nd Leaf equipment determines main Leaf equipment.
3. the method for claim 1, it is characterised in that:
When the notification packet is priority notification packet, the identity validation parameter is the priority of the 2nd Leaf equipment, So that the 2nd Leaf equipment is confirmed and described the according to the priority of all the 2nd Leaf equipment for being associated with a Leaf equipment The identity type of the 2nd Leaf equipment of one Leaf equipment association.
4. the method for claim 1, it is characterised in that:
When the notification packet is exception notification message, the identity validation parameter is the mark that abnormal main Leaf equipment occurs Know, so that the 2nd Leaf equipment is reaffirmed and described the according to the priority of the standby Leaf equipment for being associated with a Leaf equipment The identity type of the 2nd Leaf equipment of one Leaf equipment association.
5. the method for claim 1, it is characterised in that:
Receive the message of local subscriber host transmission;
When the message is broadcasting packet or during the first unicast message, to message described in the main Leaf device forwards, described the One unicast message is the unicast message of the local forwarding-table item of purpose address misses, so that the main Leaf equipment is to local user Main frame and other Leaf equipment send the broadcasting packet, or the forwarding-table item for being preserved according to main Leaf equipment forwards described the One unicast message, wherein, a Leaf equipment does not preserve the forwarding-table item for mating with far end subscriber host.
6. a kind of implementation method of distal end multi-home networking, is applied to second branch's Leaf equipment, it is characterised in that methods described Including:
The notification packet that a Leaf equipment of distal end sends is received, a Leaf equipment associates at least two the 2nd Leaf Equipment, the notification packet carries identity validation parameter;
The identity type of the 2nd Leaf equipment for being associated with a Leaf equipment according to the identity validation parameter determination, institute State Leaf equipment or standby Leaf equipment based on identity type.
7. method as claimed in claim 6, it is characterised in that:
When the notification packet is priority notification packet, the identity validation parameter is the priority of the 2nd Leaf equipment.
8. method as claimed in claim 6, it is characterised in that:
When the notification packet is exception notification message, the identity validation parameter is the mark that abnormal main Leaf equipment occurs Know;
The identity class of the 2nd Leaf equipment for being associated with a Leaf equipment according to the identity validation parameter determination Type, including:
Priority according to the standby Leaf equipment for being associated with a Leaf equipment is reaffirmed and is associated with a Leaf equipment The 2nd Leaf equipment identity type.
9. method as claimed in claim 6, it is characterised in that:
When Leaf equipment based on the identity type of itself is determined, the message of Leaf equipment transmission is received;
When the message is broadcasting packet or the second unicast message, institute is sent to local subscriber host and other Leaf equipment Message is stated, second unicast message is the unicast message of the local forwarding-table item of purpose address misses, so that other Leaf set The message is broadcasted for respective local subscriber host.
10. method as claimed in claim 6, it is characterised in that methods described also includes:
When Leaf equipment based on the identity type of itself is determined, other the Leaf equipment in addition to a Leaf equipment that receive send Message;
When the message is broadcasting packet or the second unicast message, send to local subscriber host and a Leaf equipment The message, so that a Leaf equipment broadcasts the message, wherein, second unicast message to local subscriber host Unicast message for the local forwarding-table item of purpose address misses.
11. methods as claimed in claim 6, it is characterised in that:
When determining that the identity type of itself is standby Leaf equipment, the message of local subscriber host transmission is received;
When the message is broadcasting packet or during the second unicast message, by the message send in addition to a Leaf equipment other Leaf equipment so that described in addition to a Leaf equipment other Leaf equipment broadcast the message to respective local subscriber host, While making main Leaf send the message to a Leaf equipment, and then make a Leaf equipment wide to local subscriber host The message is broadcast, wherein, second unicast message is the unicast message of the local forwarding-table item of purpose address misses.
A kind of 12. distal end multi-home networkings realize device, be applied to first branch's Leaf equipment, it is characterised in that the dress Put including:
Determining unit, determines main Leaf equipment in the 2nd Leaf equipment for the distal end for associating from a Leaf equipment, Leaf equipment in the 2nd Leaf equipment in addition to main Leaf equipment is defined as standby Leaf equipment;
Transmitting element, for sending notification packet, the notification packet carries identity validation parameter, so that the 2nd Leaf sets The identity type of standby the 2nd Leaf equipment for confirming to associate with a Leaf equipment according to the identity validation parameter, described Leaf equipment or standby Leaf equipment based on identity type.
13. devices as claimed in claim 12, it is characterised in that:
The determining unit, the priority of the 2nd Leaf equipment specifically for obtaining association;According to the 2nd Leaf equipment Priority determine main Leaf equipment.
14. devices as claimed in claim 12, it is characterised in that:
The transmitting element, specifically for when the notification packet is priority notification packet, the identity validation parameter is The priority of the 2nd Leaf equipment, so that the 2nd Leaf equipment is according to all the 2nd Leaf equipment for associating with a Leaf equipment Priority confirm the identity type of the 2nd Leaf equipment for associating with a Leaf equipment.
15. devices as claimed in claim 12, it is characterised in that:
The transmitting element, specifically for when the notification packet is exception notification message, the identity validation parameter is for sending out The mark of raw abnormal main Leaf equipment, so that the 2nd Leaf equipment is according to the standby Leaf equipment for associating with a Leaf equipment Priority reaffirms the identity type of the 2nd Leaf equipment for associating with a Leaf equipment.
16. devices as claimed in claim 12, it is characterised in that described device also includes:
Processing unit, for receiving the message of local subscriber host transmission;When the message is broadcasting packet or the first unicast report Wen Shi, to message described in the main Leaf device forwards, first unicast message is the local forward table of purpose address misses The unicast message of item, so that the main Leaf equipment sends the broadcast report to local subscriber host and other Leaf equipment Text, or first unicast message is forwarded according to the forwarding-table item of main Leaf equipment preservation, wherein, a Leaf equipment is not Preserve the forwarding-table item for mating with far end subscriber host.
A kind of 17. distal end multi-home networkings realize device, be applied to second branch's Leaf equipment, it is characterised in that the dress Put including:
Receiving unit, the notification packet that the Leaf equipment for receiving distal end sends, a Leaf equipment is closed and is coupled to Few two the 2nd Leaf equipment, the notification packet carries identity validation parameter;
Determining unit, for the 2nd Leaf equipment for being associated with a Leaf equipment according to the identity validation parameter determination Identity type, Leaf equipment or standby Leaf equipment based on the identity type.
18. devices as claimed in claim 17, it is characterised in that:
The receiving unit, specifically for when the notification packet is priority notification packet, the identity validation parameter is The priority of the 2nd Leaf equipment.
19. devices as claimed in claim 17, it is characterised in that:
The receiving unit, specifically for when the notification packet is exception notification message, the identity validation parameter is for sending out The mark of raw abnormal main Leaf equipment;
The determining unit, specifically for reaffirmed according to the priority of standby Leaf equipment for associating with a Leaf equipment with The identity type of the 2nd Leaf equipment of the first Leaf equipment association.
20. devices as claimed in claim 17, it is characterised in that described device also includes:
Processing unit, specifically for when Leaf equipment based on the identity type of itself is determined, receiving Leaf equipment transmission Message;When the message is broadcasting packet or the second unicast message, send out to local subscriber host and other Leaf equipment The message is sent, second unicast message is the unicast message of the local forwarding-table item of purpose address misses, so that other Leaf equipment broadcasts the message to respective local subscriber host.
21. devices as claimed in claim 17, it is characterised in that described device also includes:
Processing unit, specifically for when Leaf equipment based on the identity type of itself is determined, receiving in addition to a Leaf equipment The message that other Leaf equipment send;When the message is broadcasting packet or during the second unicast message, to local subscriber host and The first Leaf equipment sends the message, so that a Leaf equipment broadcasts the message to local subscriber host, Wherein, second unicast message is the unicast message of the local forwarding-table item of purpose address misses.
22. devices as claimed in claim 17, it is characterised in that described device also includes:
Processing unit, specifically for when determining that the identity type of itself is standby Leaf equipment, receiving local subscriber host transmission Message;When the message is broadcasting packet or the second unicast message, the message is sent in addition to a Leaf equipment Other Leaf equipment so that described in addition to a Leaf equipment other Leaf equipment broadcast the report to respective local subscriber host Text, while making main Leaf send the message to a Leaf equipment, and then makes a Leaf equipment to local user master The message broadcasted by machine, and wherein, second unicast message is the unicast message of the local forwarding-table item of purpose address misses.
CN201610831322.XA 2016-09-19 2016-09-19 Method and device for realizing remote multi-homing networking Active CN106452992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610831322.XA CN106452992B (en) 2016-09-19 2016-09-19 Method and device for realizing remote multi-homing networking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610831322.XA CN106452992B (en) 2016-09-19 2016-09-19 Method and device for realizing remote multi-homing networking

Publications (2)

Publication Number Publication Date
CN106452992A true CN106452992A (en) 2017-02-22
CN106452992B CN106452992B (en) 2020-02-11

Family

ID=58165539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610831322.XA Active CN106452992B (en) 2016-09-19 2016-09-19 Method and device for realizing remote multi-homing networking

Country Status (1)

Country Link
CN (1) CN106452992B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600099A (en) * 2018-04-19 2018-09-28 新华三技术有限公司 A kind of message forwarding method, device and Leaf equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870634A (en) * 2005-09-30 2006-11-29 华为技术有限公司 Double-attach/multi-attach logical packet network method and supplier equipment
US20070109989A1 (en) * 2003-08-19 2007-05-17 Masao Nakagawa Radio communication apparatus, ad-hoc system and communication system
CN102143060A (en) * 2010-12-23 2011-08-03 华为数字技术有限公司 Method and device for building primary pseudowire and spare pseudowire
CN102281155A (en) * 2011-08-01 2011-12-14 中兴通讯股份有限公司 PTN-based PW switching method, and system and device thereof
CN104410570A (en) * 2014-12-16 2015-03-11 北京东土科技股份有限公司 VRRP (virtual router redundancy protocol) based data transmission method and device
CN104580338A (en) * 2013-10-29 2015-04-29 华为技术有限公司 Service processing method, system and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070109989A1 (en) * 2003-08-19 2007-05-17 Masao Nakagawa Radio communication apparatus, ad-hoc system and communication system
CN1870634A (en) * 2005-09-30 2006-11-29 华为技术有限公司 Double-attach/multi-attach logical packet network method and supplier equipment
CN102143060A (en) * 2010-12-23 2011-08-03 华为数字技术有限公司 Method and device for building primary pseudowire and spare pseudowire
CN102281155A (en) * 2011-08-01 2011-12-14 中兴通讯股份有限公司 PTN-based PW switching method, and system and device thereof
CN104580338A (en) * 2013-10-29 2015-04-29 华为技术有限公司 Service processing method, system and equipment
CN104410570A (en) * 2014-12-16 2015-03-11 北京东土科技股份有限公司 VRRP (virtual router redundancy protocol) based data transmission method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600099A (en) * 2018-04-19 2018-09-28 新华三技术有限公司 A kind of message forwarding method, device and Leaf equipment

Also Published As

Publication number Publication date
CN106452992B (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN109873760B (en) Method and device for processing route, and method and device for data transmission
EP2579544B1 (en) Methods and apparatus for a scalable network with efficient link utilization
JP5069356B2 (en) Techniques for address resolution in data transmission networks.
US9858163B2 (en) Dual adjacency between edge devices at a network site
EP2129049B1 (en) A protecting method and device for ethernet tree service
CN107040469A (en) The network equipment and method
WO2018162947A1 (en) Bit indexed explicit replication based multicast for locator identifier separation protocol
CN108964940B (en) Message sending method and device and storage medium
US11611509B2 (en) Communication method, communications device, and communications system
CN107404436A (en) Communication means and device for virtual expansible LAN
EP2587863A2 (en) Method and system for preventing loops in mesh networks
US20210029022A1 (en) Packet forwarding method and apparatus
CN107040441B (en) Cross-data-center data transmission method, device and system
Thaler Evolution of the IP Model
US20230261984A1 (en) Network Layer Support For 5G Edge Computing Sticky Services
CN103209092A (en) Method and system for suppressing broadcast storm
CN102546308B (en) The method and system of neighbor uni-cast agency is realized based on duplicate address detection
CN102143164B (en) Message relaying method, message relaying device and base station
Chu et al. Transmission of ip over infiniband (ipoib)
CN103685007B (en) A kind of mac learning method when edge device message forwards and edge device
CN112134776A (en) Method for generating multicast forwarding table item and access gateway
CN107135118B (en) Unicast communication method, gateway and VXLAN access equipment
CN102938737B (en) Two layers of looped network Proxy Method and equipment
CN106452992A (en) Remote multi-homing networking method and apparatus
Cisco Cisco IOS IP and IP Routing Command Reference Release 12.1

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant