CN101729409B - Method and device for implementing multirole host computer - Google Patents

Method and device for implementing multirole host computer Download PDF

Info

Publication number
CN101729409B
CN101729409B CN200910224048XA CN200910224048A CN101729409B CN 101729409 B CN101729409 B CN 101729409B CN 200910224048X A CN200910224048X A CN 200910224048XA CN 200910224048 A CN200910224048 A CN 200910224048A CN 101729409 B CN101729409 B CN 101729409B
Authority
CN
China
Prior art keywords
equipment
instance
host
mac address
role
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200910224048XA
Other languages
Chinese (zh)
Other versions
CN101729409A (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.)
New 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 CN200910224048XA priority Critical patent/CN101729409B/en
Publication of CN101729409A publication Critical patent/CN101729409A/en
Application granted granted Critical
Publication of CN101729409B publication Critical patent/CN101729409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for implementing a multirole host computer. The method comprises the following steps that: source PE equipment receives a message from the multirole host computer in multirole examples; the source PE equipment learns an MAC address of the multirole host computer from the multirole examples according to the message; the source PE equipment synchronizes the MAC address of the multirole host computer to a target example and transmits the message to other PE equipment, and the target PE equipment returns a response message to the source PE equipment in the target example according to the message; and the source PE equipment acquires the MAC address of a target host computer from the response message in the target example, and synchronizes the MAC address of the target host computer to the multirole examples and the target example. In the method, the multirole host computer is implemented on two layers under VPLS network environment and PBB network environment.

Description

A kind of implementation method of multi-role host and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of implementation method and device of multi-role host.
Background technology
MPLS (Multi-Protocol Label Switching, multiprotocol label switching) is a kind of system that is used for rapid data packet switch and route, and abilities such as target, route, forwarding and exchange can be provided for network traffic data; Because the networking characteristic of MPLS is very suitable for setting up VPN (Virtual PrivateNetwork, Virtual Private Network).In MPLS VPN network, comprise CE (Custom Edge, customer edge) equipment, PE (Provider Edge, backbone network edge) equipment and P (Provider, backbone network) equipment etc.
Concrete; In MPLS VPN network; Generally, CE equipment is to be associated with corresponding VRF (Virtual Routing Forwarding, VPN route forwarding table) through specific interface; Promptly all the CE equipment by same incoming interface access PE equipment all belong to same VPN, and this VRF is corresponding with VPN instance.
But; In the networking of reality is used, some special main frames are arranged, have visit a plurality of VPN through a physical interface of CE equipment demand (for example; Some authorities are than higher user); Perhaps, by the demand of a plurality of VPN user captures (for example, some are by the server of a plurality of VPN user captures); The special main frame of this type is called multi-role host.
Multi-role host can be applied in 3 layers MPLS VPN (being MPLS L3VPN) network; In the network environment of MPLS L3VPN; The CE equipment that above-mentioned multi-role host is corresponding has the demand of a plurality of VPN of visit; And the demand of visiting a plurality of VPN can realize through the different logical interface is set, and this CE equipment of being about to is bound with different VPN interfaces, realizes the demand of a plurality of VPN of visit then.
But, can increase extra configuration burden when CE equipment is bound with different VPN interfaces, and take a lot of interface resources, use and have significant limitation.
In order to address the above problem; On this CE equipment, can distinguish the visit of message to the tactful route of IP address through configuration pin to different VPN; For example; Route through at other VPN of the VPN at this multi-role host place introducing realizes the forwarding of CE equipment to PE equipment upstream data, thereby realizes the demand of a plurality of VPN of visit.
And the forwarding from PE equipment to CE equipment downlink data; Realize through static routing; What the static routing under the multi-role host environment was different with common static routing is; Static routing under the multi-role host environment is to specify the interface among other VPN to realize as outgoing interface through the static routing among the VPN, thereby reaches the purpose of visiting a plurality of VPN a logic interfacing.
As shown in Figure 1; Be the multi-role host sketch map among the MPLS L3VPN in the prior art; In existing MPLS L3VPN technology; Through using the control strategy of IP address, can in the VPN at multi-role host place, introduce the route of other VPN, thereby can CE equipment be arrived correct destination address to the data forwarding of PE equipment; Through using the mode of static routing, can the route of multi-role host be published among other VPN, and realize of the correct forwarding of PE equipment to the CE device data.
Multi-role host implementation procedure in MPLS L3VPN shown in Figure 1 comprises:
(1) on each PE equipment, creates VPN instance, and specify BGP (Border GatewayProtocol, Border Gateway Protocol) opposite end.
(2) on PE3 equipment, create the VPN2 instance of multi-role host, and introduce the route of VPN1; Wherein, PE3 equipment is the pairing PE equipment of multi-role host.
(3) static routing of configuration in the VPN1 of PE equipment (for example, PE2 equipment), the purpose IP address of this static routing is the address of multi-role host, next is jumped and is the binding interface of VPN2.
In above-mentioned layoutprocedure,, at this moment, need forbid that PE3 equipment issues any route to CE3 equipment, thereby avoid because CE3 equipment can't be discerned the confusion phenomena that route caused of different VPN because different VPN instance may have identical route.
Can find out, through above-mentioned layoutprocedure, promptly can realize the pairing data transmission procedure of multi-role host, promptly can realize the multi-role host function on the CE3, this multi-role host can be visited the equipment of other VPN.
In realizing process of the present invention, the inventor finds to exist at least in the prior art following problem:
Existing multi-role host implementation all is aimed at the network environment of MPLS L3VPN; And for VPLS (Virtual Private LAN Service; Virtual special local area network) and PBB double layer network environment such as (Providerbackbone bridge, provider backbone bridges), can not realize the multi-role host implementation; Multi-role host can't be visited the equipment in other VSI (Virtual Switch Instance, virtual switch instance) instance.
And under the double layer network environment of the VPLS of reality and PBB; The demand of multi-role host still needs under many circumstances; For example; In the public service system of the financial system of banking system, large-scale company, company, the main frame of a plurality of branches (being arranged in different VSI instances) need be visited with some system resource, and the system resource server is also wanted the main frame that can visit different branches; Can find out that the main frame of this branch has the demand of multi-role host, and fail to satisfy the demand of multi-role host in existing VPLS and the PBB deployment.
Summary of the invention
The present invention provides a kind of implementation method and device of multi-role host, with in the double layer network environment, realizes multi-role host.
In order to achieve the above object; The present invention proposes a kind of implementation method of multi-role host; Be applied in the double layer network, said double layer network comprises multi-role host, source backbone network edge PE equipment, destination host and at least one other the PE equipment corresponding with said multi-role host, and a target P E equipment is corresponding in said destination host and other PE equipment; Said multi-role host is arranged in polygonal look instance; Said destination host is arranged in object instance, is provided with said polygonal look instance and said object instance in advance on the PE equipment of said source, is provided with said object instance in advance on the said target P E equipment; Said method comprising the steps of:
Said source PE equipment receives the message from said multi-role host in said polygonal look instance; And from said polygonal look instance, learn the media interviews control MAC Address of said multi-role host according to said message;
Said source PE equipment is synchronized to the MAC Address of said multi-role host in the said object instance, and said message is sent to other PE equipment, in said object instance, returns response message to said source PE equipment according to said message by said target P E equipment;
Said source PE equipment obtains the MAC Address of said destination host from said response message in said object instance, and with the MAC Address of said destination host be synchronized in the said polygonal look instance with said object instance in.
Said source PE equipment is synchronized to the MAC Address of said multi-role host in the said object instance and comprises:
Said source PE equipment is incorporated into the access link AC of said multi-role host in the said object instance;
Said source PE equipment is synchronized to the MAC Address of said multi-role host in the said object instance according to the AC of said multi-role host.
Said message is sent to other PE equipment specifically to be comprised:
Said source PE equipment is incorporated into the PW of other instances in the said polygonal look instance; Corresponding said other PE equipment of said other instances, and comprise said object instance in said other instances;
Said source PE equipment is broadcast to said other PE equipment according to the virtual link PW of said other instances with said message, comprises said target P E equipment in said other PE equipment.
Said target P E equipment returns response message to said source PE equipment according to said message and specifically comprises in said object instance:
Said target P E equipment receives said message in said object instance; And learn the next hop address of said multi-role host according to said message; Wherein, the next hop address of said multi-role host is a said source PE equipment;
Said target P E equipment obtains the MAC Address of said destination host according to said message, and judges whether the MAC Address of said destination host is self corresponding MAC Address;
When judged result when being, said target P E equipment next hop address according to said multi-role host in said object instance is sent said response message to said source PE equipment.
The MAC Address of said destination host is synchronized in the said polygonal look instance specifically comprises:
Said source PE equipment is incorporated into the MAC Address in the said object instance in the said polygonal look instance;
Behind the MAC Address that obtains said destination host, said source PE equipment is synchronized to the MAC Address of said destination host in the said polygonal look instance.
With the MAC Address of said destination host be synchronized in the said polygonal look instance with said object instance in after, also comprise:
Said source PE equipment is according to the MAC Address of destination host and the MAC Address of said multi-role host in the said polygonal look instance; And the MAC Address of destination host and the MAC Address of said multi-role host in the said object instance, realize the Layer 2 data transmission course between said destination host and the said multi-role host.
Said double layer network comprises: the virtual special local area network VPLS network and the provider backbone bridge PBB network that use two layer interfaces.
A kind of implement device of multi-role host is applied in the double layer network; Said double layer network comprises multi-role host, source PE equipment, destination host and at least one other the PE equipment corresponding with said multi-role host; A target P E equipment is corresponding in said destination host and other PE equipment; Said multi-role host is arranged in polygonal look instance; Said destination host is arranged in object instance, is provided with said polygonal look instance and said object instance in advance on the PE equipment of said source, is provided with said object instance in advance on the said target P E equipment; Said device comprises:
Receiver module is used in said polygonal look instance, receiving the message from said multi-role host;
Processing module is connected with said receiver module, and the message that is used for receiving according to said receiver module is learnt the MAC Address of said multi-role host from said polygonal look instance; And the MAC Address of said multi-role host is synchronized in the said object instance;
Sending module is connected with said receiver module, is used for the message that said receiver module receives is sent to other PE equipment, in said object instance, returns response message to said source PE equipment according to said message by said target P E equipment;
Synchronization module is connected with said sending module, is used in said object instance obtaining from said response message the MAC Address of said destination host, and with the MAC Address of said destination host be synchronized in the said polygonal look instance with said object instance in.
Said processing module specifically is used for, and the AC of said multi-role host is incorporated in the said object instance; And the MAC Address of said multi-role host is synchronized in the said object instance according to the AC of said multi-role host.
Said sending module specifically is used for, and the PW of other instances is incorporated in the said polygonal look instance; Corresponding said other PE equipment of said other instances, and comprise said object instance in said other instances;
And said message is broadcast to said other PE equipment according to the PW of said other instances, comprise said target P E equipment in said other PE equipment.
When said device during as said target P E equipment,
Said receiver module also is used for, and in said object instance, receives said message;
Said processing module also is used for, and learns the next hop address of said multi-role host according to said message; Wherein, the next hop address of said multi-role host is a said source PE equipment; Obtain the MAC Address of said destination host according to said message, and judge whether the MAC Address of said destination host is self corresponding MAC Address;
Said sending module also is used for, when judged result when being, the next hop address according to said multi-role host in said object instance is sent said response message to said source PE equipment.
Said synchronization module also is used for, and the MAC Address in the said object instance is incorporated in the said polygonal look instance; Behind the MAC Address that obtains said destination host, the MAC Address of said destination host is synchronized in the said polygonal look instance.
Said processing module also is used for; According to the MAC Address of destination host and the MAC Address of said multi-role host in the said polygonal look instance; And the MAC Address of destination host and the MAC Address of said multi-role host in the said object instance, realize the Layer 2 data transmission course between said destination host and the said multi-role host.
Said double layer network comprises: the VPLS network and the PBB network that use two layer interfaces.
Compared with prior art, the present invention has the following advantages: on two layers under the VPLS network environment and under the PBB network environment, realized multi-role host.
Description of drawings
Fig. 1 is the multi-role host sketch map among the MPLS L3VPN in the prior art;
Fig. 2 is the implementation method flow chart of a kind of multi-role host of the present invention's proposition;
A kind of concrete application scenarios sketch map that Fig. 3 proposes for the present invention;
Fig. 4 is the implementation method flow chart of the multi-role host of corresponding diagram 3 application scenarioss of the present invention's proposition;
Fig. 5 is at the flow chart of the information of multi-role host that on PE equipment, disposes of corresponding diagram 3 application scenarioss;
The flow chart of the data flow repeating process of Fig. 6 between the main frame in multi-role host and each VSI instance of corresponding diagram 3 application scenarioss;
The another kind of concrete application scenarios sketch map that Fig. 7 proposes for the present invention;
Fig. 8 is at the flow chart of the information of multi-role host that on PE equipment, disposes of corresponding diagram 7 application scenarioss;
The flow chart of the data flow repeating process of Fig. 9 between the main frame in multi-role host and each VSI instance of corresponding diagram 7 application scenarioss;
Figure 10 is the implement device structure chart of a kind of multi-role host of the present invention's proposition.
Embodiment
The present invention is through being provided with polygonal look instance and object instance on PE equipment; In the transmission course of data; According to the MAC Address in synchronous polygonal look instance of data message and the object instance; The MAC Address that is about to multi-role host and destination host is synchronized in polygonal look instance and the object instance, thereby can use multi-role host and the MAC Address realization multi-role host of destination host and the communication process of destination host in this polygonal look instance and the object instance, has realized multi-role host then.
As shown in Figure 2; The implementation method of a kind of multi-role host that proposes for the present invention; Be applied in the double layer network, said double layer network comprises multi-role host, source backbone network edge PE equipment, destination host and at least one other the PE equipment corresponding with said multi-role host, and a target P E equipment is corresponding in said destination host and other PE equipment; Said multi-role host is arranged in polygonal look instance; Said destination host is arranged in object instance, is provided with said polygonal look instance and said object instance in advance on the PE equipment of said source, is provided with said object instance in advance on the said target P E equipment; Said method comprising the steps of:
Step 201, said source PE equipment receive the message from said multi-role host in said polygonal look instance; And from said polygonal look instance, learn the media interviews control MAC Address of said multi-role host according to said message.
Step 202; Said source PE equipment is synchronized to the MAC Address of said multi-role host in the said object instance; And said message sent to other PE equipment, in said object instance, return response message according to said message by said target P E equipment to said source PE equipment.
Step 203, said source PE equipment obtains the MAC Address of said destination host from said response message in said object instance, and with the MAC Address of said destination host be synchronized in the said polygonal look instance with said object instance in.
Among the present invention; The implementation method of this multi-role host is applied in the deployment of double layer network environment; This double layer network environment can be the double layer network environment of VPLS and the double layer network environment of PBB; For the implementation method of multi-role host provided by the present invention more clearly is described, below will combine the application scenarios of double layer network environment of application scenarios and PBB of the double layer network environment of VPLS that the present invention is given unnecessary details in detail respectively.
As shown in Figure 3; Dispose sketch map for the multi-role host under the double layer network environment of VPLS, wherein, VPLS is a three-layer network; And will use two layer interfaces among this VPLS to handle accordingly among the present invention, what can think promptly that the present invention uses is the double layer network environment of VPLS.
In the practical application, when realizing multi-role host in the VPLS network, need divide the VSI instance according to network arrangement; And the instance that need visit of definite multi-role host; As shown in Figure 3, under this application scenarios, there is multi-role host on the PE3 equipment; This multi-role host need be visited the All hosts in VSI1 instance and the VSI2 instance simultaneously, and other users in VSI1 instance and the VSI2 instance also can visit this multi-role host.In Fig. 4, be connected with the multi-role host A that needs to realize the multi-role host deployment on the CE3 equipment, and connect in twos between PE1 equipment, PE2 equipment, PE3 equipment and the PE4 equipment.
As shown in Figure 4, the implementation method of this multi-role host may further comprise the steps:
Step 401, the information of configuration multi-role host on PE3 equipment.Wherein, this PE3 equipment is the corresponding PE equipment of multi-role host.
As shown in Figure 5, the information of configuration multi-role host specifically may further comprise the steps on PE3 equipment:
Step 501, PE3 equipment are confirmed the instance information that multi-role host need be visited, and should be with under the scene, the instance that this multi-role host need be visited be VSI1 instance and VSI2 instance.Wherein, on PE1 equipment, PE2 equipment and PE4 equipment, all there is the VSI1 instance, and on this PE2 equipment, also has the VSI2 instance.
Step 502, the instance that PE3 equipment is corresponding according to the instance information creating, and the PE equipment corresponding with this instance is set up PW (Pseudo Wire, virtual link) opposite end.
In this step; Need on PE3 equipment, create VSI1 instance and VSI2 instance; And set up the PW opposite end respectively with PE1 equipment, PE2 equipment and PE4 equipment; This PW is the two-way virtual connection between two two-layer VPN instances, is made up of a pair of unidirectional MPLS VC (Virtual Circuit, virtual circuit).Wherein, this process is that process is set up in basic VPLS connection, gives unnecessary details no longer in detail among the present invention.
Step 503, PE3 equipment are that multi-role host is created the polygonal look instance of VSI, and are this multi-role host establishment AC (Attachment Circuit, access link).
The polygonal look instance of this VSI is different from VSI1 instance and VSI2 instance, and this AC is meant the link that connects between CE equipment and the PE equipment, and corresponding interface can be the actual physical interface, also can be virtual interface.Because this AC is meant the link that connects between CE equipment and the PE equipment,, can know MAC (Media Access Control, the media interviews control) address of multi-role host under the PE equipment through using this AC.
Step 504, PE3 equipment is incorporated into the AC of multi-role host in other instances, promptly need the AC of multi-role host be incorporated in VSI1 instance and the VSI2 instance.
Can find out, be incorporated in VSI1 instance and the VSI2 instance, make VSI1 instance and VSI2 instance can know the AC information of this multi-role host, can learn the MAC Address of multi-role host then through AC with multi-role host.
Further, because VSI1 instance and VSI2 instance can be learnt the MAC Address of multi-role host,, can send to multi-role host according to the MAC Address of multi-role host for unicast message; Same, be same as broadcasting packet, also can be broadcast to multi-role host according to the MAC Address of multi-role host.
Step 505, PE3 equipment is incorporated into the AC and the PW of other instances in the polygonal look instance of VSI, promptly need the AC and the PW of VSI1 instance and VSI2 instance be incorporated in the polygonal look instance of VSI.
In this step, because in different VSI instances, PW-ID possibly be identical; In order to guarantee under the situation of having introduced the polygonal look instance of VSI; PW-ID has uniqueness, in this step, according to actual needs; Can redistribute PW-ID according to VSI-ID and PW-ID, thereby the PW-ID of AC in the polygonal look instance of assurance VSI and PW is unique.For example, for the PW-ID of VSI1 example allocation is 1, for the PW-ID of VSI2 example allocation is 2, for the PW-ID of the polygonal look example allocation of VSI is 3.
Step 506, PE3 equipment is incorporated into the MAC in other instances in the polygonal look instance of VSI, promptly need the MAC of VSI1 instance and VSI2 instance be incorporated in the polygonal look instance of VSI.
Above-mentioned on PE3 equipment in the process of information of configuration multi-role host; Need to guarantee on the PE3 equipment the polygonal look instance of VSI not with other any instances (for example; VSI1 instance and VSI2 instance) create PW and be connected, can only set up PW with other polygonal look instance and be connected.
Step 402 realizes the requirements for access of multi-role host according to the information of the multi-role host that disposes on the PE3 equipment; It is multi-role host is realized a plurality of VPN of visit according to the information of this multi-role host demand.
Concrete, this access process, i.e. data flow repeating process between the main frame in multi-role host and each VSI instance.
As shown in Figure 6, the data flow repeating process between the main frame in this multi-role host and each VSI instance specifically may further comprise the steps:
Step 601, PE3 equipment receives the message from multi-role host.Wherein, during the demand of the main frame in multi-role host has other VSI instances of visit, need to send message to PE3 equipment through CE3 equipment.
Step 602, PE3 equipment are searched the MAC Address of destination host according to this message.
When in the polygonal look instance of VSI, finding the MAC Address of destination host; Set up between multi-role host and the destination host before explaining and be connected; At this moment; Only need directly to add behind VPLS label and the public network label and from specifying the public network interface to send getting final product, this process of transmitting repeats no more.
When in the polygonal look instance of VSI, not finding the MAC Address of destination host; Need go up this message of broadcasting to all PW of other instances; And in the polygonal look instance of VSI the source MAC of study multi-role host, the source MAC of this multi-role host is synchronized in other instances.
Need to prove; In the layoutprocedure before; Owing to the AC of multi-role host has been incorporated in other instances, then in this step behind the source MAC of learning multi-role host, can the source MAC of this multi-role host be synchronized in other instances.
In addition; Since before layoutprocedure in the AC and the PW of other instances is incorporated in the polygonal look instance of VSI; Then can go up this message of broadcasting to all PW of other instances according to the PW of other instances in this step, promptly need be to VSI1 instance and corresponding this message of PW broadcasting of VSI2 instance.
Be that example is carried out follow-up explanation with the MAC Address that in the polygonal look instance of VSI, do not find destination host among the present invention.
Step 603, PE3 equipment is broadcast to the PW opposite end of every other instance with this message, and promptly PE3 equipment is broadcast to this message on PE1 equipment, PE2 equipment and the PE4 equipment.
Concrete; Owing in the polygonal look instance of the VSI of PE3 equipment, introduced the PW of VSI1 instance and the PW of VSI2 instance; Be in this step, PE3 equipment is to VSI1 instance corresponding PE1 equipment, PE2 equipment and PE4 device broadcasts message, and to the corresponding PE2 device broadcasts message of VSI2 instance; Can find out that this PE2 equipment will receive the message of corresponding two VSI instances.
Certainly, in practical application, this PE3 equipment can also send message according to the needs clean culture of self, and for example, PE3 equipment sends to PE1 equipment according to the PW opposite end of PE1 equipment with the message clean culture.
Step 604, other PE equipment receive this message in VSI instance separately, and learn next jumping of multi-role host MAC Address according to this message.Wherein, for PE1 equipment and PE4 equipment, will in the VSI1 instance, receive this message, and PE2 equipment will receive this message respectively in the VSI1 instance He in the VSI2 instance.
Since before process in the AC of multi-role host has been incorporated in VSI1 instance and the VSI2 instance; After each PE equipment receives this message (the PE1 equipment with corresponding VSI1 instance is that example continues explanation); PE1 equipment can be learnt the MAC Address of multi-role host from this message, and can know that next jumping of the MAC Address of this multi-role host is PE3 equipment according to the AC of multi-role host.
Step 605, other PE equipment are transmitted this message in VSI instance separately, and in the VSI instance, receive response message.For PE1 equipment and PE4 equipment, will in the VSI1 instance, transmit this message, and PE2 equipment will be transmitted this message respectively in the VSI1 instance He in the VSI2 instance.Describing for ease, is that example describes with the processing procedure in the PE1 equipment.
In the VSI1 instance; When PE1 equipment receives this message, need this message is transmitted to self corresponding CE1 equipment, after CE1 equipment receives this message; If know when the MAC Address of the destination host in this message descends the MAC Address of extension main frame for self; Then need be to PE1 equipment echo reply message in the VSI1 instance, the destination host in this response message is a multi-role host, source host is the main frame that multi-role host need be visited.After CE1 equipment receives this message,, then abandon this message if know when the MAC Address of the destination host in this message is not the MAC Address of extension main frame under self.
Below description in be that the MAC Address of extension main frame under the CE1 equipment is that example describes with the MAC Address of the destination host in the message.
Step 606, PE1 equipment sends to PE3 equipment with the response message that receives in the VSI1 instance.
In above-mentioned steps 604; PE1 equipment has been learnt the MAC Address of multi-role host in the VSI1 instance next jumping is PE3 equipment, in this step, after PE1 equipment receives response message; Know that destination host is a multi-role host; Be that destination address is the MAC Address of multi-role host, next jumping of MAC Address acquisition according to this multi-role host is PE3 equipment then, and then this PE1 equipment need send to PE3 equipment with the response message that receives in the VSI1 instance.
Step 607, PE3 equipment will receive response message in the VSI1 instance, and in VSI1, will carry out MAC Address and search and learn.
In the VSI1 instance; After PE3 equipment receives response message; May learn the MAC Address of destination host, and owing to the source MAC of multi-role host has been synchronized in other instances in the step 602, promptly in the VSI1 instance; According to this MAC Address, this PE3 device learns destination host is a multi-role host.
In addition; Because the source MAC with multi-role host is synchronized in the VSI1 instance; The outgoing interface that then this moment, PE3 equipment carried out the MAC Address lookup result in the VSI1 instance is the AC interface of multi-role host, and this PE3 equipment can send to this response message on the AC interface of multi-role host.Wherein, need to prove that the AC with multi-role host has been incorporated in other instances owing to PE3 equipment, then in other instances on PE3 equipment, next is jumped and is the AC of multi-role host.
In this step; PE3 equipment can also be learnt source MAC (being the MAC Address of the main frame that need visit of multi-role host) in the VSI1 instance; Since before layoutprocedure in the MAC in other instances is incorporated in the polygonal look instance of VSI, then the MAC Address of the main frame that can this multi-role host need be visited of this PE3 equipment is synchronized in the polygonal look instance.
In the polygonal look instance of VSI, learn the MAC Address (being the MAC Address of the main frame that need visit of multi-role host) of the main frame of other VSI instances and the MAC Address of multi-role host; And after also having learnt the MAC Address of multi-role host in other VSI instances, the unicast stream forward-path between the main frame in multi-role host and other VSI instances is just set up successfully.
Can find out; In subsequent process, after PE3 equipment receives the message from multi-role host, in the polygonal look instance of VSI; Through searching the MAC Address of destination host; Can in the polygonal look instance of VSI, find the MAC Address of destination host, promptly set up between multi-role host and the destination host and be connected, only need directly to add to send behind VPLS label and the public network label and from appointment public network interface getting final product.
Wherein, in Fig. 5 and the flow process shown in Figure 6, each step can also be adjusted according to the needs of reality among the present invention.
As shown in Figure 7, under another kind of application scenarios, the multi-role host in the PBB network is disposed sketch map; Wherein, the PBB network is a double layer network, when in the PBB network, realizing multi-role host; Need divide the VSI instance according to network arrangement, and the instance that need visit of definite multi-role host.
As shown in Figure 8, in the PBB network, need be on the corresponding PE equipment of multi-role host the information of configuration multi-role host, should be with under the scene, be that the information with configuration multi-role host on PE3 equipment is that example describes, this process specifically may further comprise the steps:
Step 801, PE3 equipment are confirmed the instance information that multi-role host need be visited, and each instance comes unique identification with I-SID.Wherein, the instance that need visit of this multi-role host is I-SID1 instance (VSI1 instance) and I-SID2 instance (VSI2 instance).
Step 802, PE3 equipment is created I-SID example corresponding, and the PE equipment corresponding with this instance is set up the PW opposite end, and is instance appointment B-VLAN (backbone layer VLAN).
Step 803, PE3 equipment are that multi-role host is created the polygonal look instance of VSI.Wherein, under the polygonal look instance of this VSI, also need specify B-VLAN, the B-VLAN under the polygonal look instance of this VSI is different with B-VLAN under other I-SID instances, in addition, also need be that this multi-role host is created AC.
Step 804, PE3 equipment is incorporated into the AC of multi-role host in other I-SID instances.
Step 805, PE3 equipment is incorporated into the AC and the PW of other I-SID instances in the polygonal look instance, but need redistribute PW-ID according to VSI-ID and PW-ID, and AC in the assurance multi-role host instance and the PW-ID of PW are unique.
Step 806, PE3 equipment is incorporated into the MAC in other I-SID instances in the instance of multi-role host.
After above-mentioned layoutprocedure finishes; Need realize the requirements for access of multi-role host according to the information of the multi-role host that disposes on the PE3 equipment; As shown in Figure 9, the data flow repeating process between the main frame in this multi-role host and each I-SID instance specifically may further comprise the steps:
Step 901, PE3 equipment be from multi-role host side joint receiving literary composition, and in the learning process with the PBB MAC Address of searching of multi-role host instance internal trigger PBB MAC Address.
Concrete; When searching of PBB MAC Address in the multi-role host instance failed; Go up this message of broadcasting to all PW of other I-SID instances, and in polygonal look instance the source MAC of study multi-role host, the source MAC of this multi-role host is synchronized in other I-SID instances.
Step 902, other PE equipment receive this message in I-SID instance separately, and learn next jumping of multi-role host MAC Address according to this message.After each PE equipment receives this message (the PE1 equipment with corresponding I-SID instance is that example continues explanation); PE1 equipment can be learnt the MAC Address of multi-role host from this message, and can know that next jumping of the MAC Address of this multi-role host is PE3 equipment according to the AC of multi-role host.
Step 903, PE1 equipment receives response message in the I-SID1 instance.
In the I-SID1 instance; When PE1 equipment receives this message, need this message is transmitted to self corresponding CE1 equipment, after CE1 equipment receives this message; If know when the MAC Address of the destination host in this message descends the MAC Address of extension main frame for self; Then need be to PE1 equipment echo reply message in the I-SID1 instance, the destination host in this response message is a multi-role host, source host is the main frame that multi-role host need be visited.
Step 904, PE1 equipment sends to PE3 equipment with the response message that receives in the I-SID1 instance.
Because having learnt next jumping of the MAC Address of multi-role host in the I-SID1 instance, PE1 equipment is PE3 equipment; In this step; After PE1 equipment receives response message, directly response message is sent to PE3 equipment through clean culture MinM (MAC-in-MAC) tunnel.
Step 905, PE3 equipment are carried out the PBB MAC Address and are searched and learn in the I-SID1 instance.
In the I-SID1 instance, after PE3 equipment receives response message, may learn the PBB MAC Address of destination host, according to this PBB MAC Address, this PE3 device learns destination host is a multi-role host.And owing to the source PBB MAC Address of multi-role host has been synchronized in the I-SID1 instance; This PE3 equipment carries out PBB MAC Address lookup result in the I-SID1 instance outgoing interface is the AC interface of multi-role host, and this PE3 equipment can send to this response message on the AC interface of multi-role host.
In this step, PE3 equipment can also be learnt source PBB MAC Address (being the PBB MAC Address of the main frame that need visit of multi-role host) in the I-SID1 instance, and the PBB MAC Address of the main frame that this multi-role host need be visited is synchronized in the polygonal look instance.
In polygonal look instance, learn the PBB MAC Address (being the PBB MAC Address of the main frame that need visit of multi-role host) of the main frame of other I-SID instances and the PBB MAC Address of multi-role host; And after also having learnt the MAC Address of multi-role host in other I-SID instances, the unicast stream forward-path between the main frame in multi-role host and other I-SID instances is just set up successfully.
Wherein, in Fig. 8 and the flow process shown in Figure 9, each step can also be adjusted according to the needs of reality among the present invention.
Shown in figure 10; Device for application said method proposed by the invention; Be applied in the double layer network, said double layer network comprises multi-role host, source PE equipment, destination host and at least one other the PE equipment corresponding with said multi-role host, and a target P E equipment is corresponding in said destination host and other PE equipment; Said multi-role host is arranged in polygonal look instance; Said destination host is arranged in object instance, is provided with said polygonal look instance and said object instance in advance on the PE equipment of said source, is provided with said object instance in advance on the said target P E equipment; Said device comprises:
Receiver module 101 is used in said polygonal look instance, receiving the message from said multi-role host.
Processing module 102 is connected with said receiver module 101, and the message that is used for receiving according to said receiver module is learnt the MAC Address of said multi-role host from said polygonal look instance; And the MAC Address of said multi-role host is synchronized in the said object instance.
Concrete, said processing module 102 specifically is used for, and the AC of said multi-role host is incorporated in the said object instance; And the MAC Address of said multi-role host is synchronized in the said object instance according to the AC of said multi-role host.
Further; Said processing module 102 also is used for; According to the MAC Address of destination host and the MAC Address of said multi-role host in the said polygonal look instance; And the MAC Address of destination host and the MAC Address of said multi-role host in the said object instance, realize the Layer 2 data transmission course between said destination host and the said multi-role host.
Sending module 103 is connected with said receiver module 102, is used for the message that said receiver module receives is sent to other PE equipment, in said object instance, returns response message to said source PE equipment according to said message by said target P E equipment.
Concrete, said sending module 103 specifically is used for, and the PW of other instances is incorporated in the said polygonal look instance; Corresponding said other PE equipment of said other instances, and comprise said object instance in said other instances;
And said message is broadcast to said other PE equipment according to the PW of said other instances, comprise said target P E equipment in said other PE equipment.
Synchronization module 104; Be connected with said sending module 103; Be used in said object instance obtaining the MAC Address of said destination host from said response message, and with the MAC Address of said destination host be synchronized in the said polygonal look instance with said object instance in.
Concrete, said synchronization module 104 also is used for, and the MAC Address in the said object instance is incorporated in the said polygonal look instance; Behind the MAC Address that obtains said destination host, the MAC Address of said destination host is synchronized in the said polygonal look instance.
Need to prove, when said device during as said target P E equipment,
Said receiver module 101 also is used for, and in said object instance, receives said message.
Said processing module 102 also is used for, and learns the next hop address of said multi-role host according to said message; Wherein, the next hop address of said multi-role host is a said source PE equipment; Obtain the MAC Address of said destination host according to said message, and judge whether the MAC Address of said destination host is self corresponding MAC Address.
Said sending module 103 also is used for, when judged result when being, the next hop address according to said multi-role host in said object instance is sent said response message to said source PE equipment.
Among the present invention, said double layer network comprises: the VPLS network and the PBB network that use two layer interfaces.Through polygonal look instance and object instance are set on PE equipment; In the transmission course of data; According to the MAC Address in synchronous polygonal look instance of data message and the object instance; The MAC Address that is about to multi-role host and destination host is synchronized in polygonal look instance and the object instance; Thereby can use multi-role host and the MAC Address realization multi-role host of destination host and the communication process of destination host in this polygonal look instance and the object instance, in double layer network, realize multi-role host then.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise that some instructions are with so that a computer equipment (can be personal computer, server, perhaps network equipment etc.) is carried out method of the present invention.
The above only is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be looked protection scope of the present invention.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosedly be merely several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (10)

1. the implementation method of a multi-role host; It is characterized in that; Be applied to use in the double layer network of virtual special local area network VPLS network and provider backbone bridge PBB network of two layer interfaces; Said double layer network comprises having through a physical interface of customer edge CE equipment visits the demand of a plurality of virtual private networks or by the multi-role host of the demand of a plurality of virtual private network user captures, source backbone network edge PE equipment, destination host and at least one other the PE equipment corresponding with said multi-role host; A target P E equipment is corresponding in said destination host and other PE equipment; Said multi-role host is arranged in polygonal look instance; Said destination host is arranged in object instance, is provided with said polygonal look instance and said object instance in advance on the PE equipment of said source, is provided with said object instance in advance on the said target P E equipment; Said method comprising the steps of:
Said source PE equipment receives the message from said multi-role host in said polygonal look instance; And from said polygonal look instance, learn the media interviews control MAC Address of said multi-role host according to said message;
Said source PE equipment is synchronized to the MAC Address of said multi-role host in the said object instance, and said message is sent to other PE equipment, in said object instance, returns response message to said source PE equipment according to said message by said target P E equipment;
Said source PE equipment obtains the MAC Address of said destination host from said response message in said object instance, and with the MAC Address of said destination host be synchronized in the said polygonal look instance with said object instance in;
Said source PE equipment is according to the MAC Address of destination host and the MAC Address of said multi-role host in the said polygonal look instance; And the MAC Address of destination host and the MAC Address of said multi-role host in the said object instance, realize the Layer 2 data transmission course between said destination host and the said multi-role host.
2. the method for claim 1 is characterized in that, said source PE equipment is synchronized to the MAC Address of said multi-role host in the said object instance and comprises:
Said source PE equipment is incorporated into the access link AC of said multi-role host in the said object instance;
Said source PE equipment is synchronized to the MAC Address of said multi-role host in the said object instance according to the AC of said multi-role host.
3. the method for claim 1 is characterized in that, said message is sent to other PE equipment specifically comprise:
Said source PE equipment is incorporated into the virtual link PW of other instances in the said polygonal look instance; Corresponding said other PE equipment of said other instances, and comprise said object instance in said other instances;
Said source PE equipment is broadcast to said other PE equipment according to the virtual link PW of said other instances with said message, comprises said target P E equipment in said other PE equipment.
4. the method for claim 1 is characterized in that, said target P E equipment returns response message to said source PE equipment according to said message and specifically comprises in said object instance:
Said target P E equipment receives said message in said object instance; And learn the next hop address of said multi-role host according to said message; Wherein, the next hop address of said multi-role host is a said source PE equipment;
Said target P E equipment obtains the MAC Address of said destination host according to said message, and judges whether the MAC Address of said destination host is self corresponding MAC Address;
When judged result when being, said target P E equipment next hop address according to said multi-role host in said object instance is sent said response message to said source PE equipment.
5. the method for claim 1 is characterized in that, the MAC Address of said destination host is synchronized in the said polygonal look instance specifically comprise:
Said source PE equipment is incorporated into the MAC Address in the said object instance in the said polygonal look instance;
Behind the MAC Address that obtains said destination host, said source PE equipment is synchronized to the MAC Address of said destination host in the said polygonal look instance.
6. the implement device of a multi-role host; It is characterized in that; Be applied to use in the double layer network of virtual special local area network VPLS network and provider backbone bridge PBB network of two layer interfaces; Said double layer network comprises having through a physical interface of customer edge CE equipment visits the demand of a plurality of virtual private networks or by the multi-role host of the demand of a plurality of virtual private network user captures, source PE equipment, destination host and at least one other the PE equipment corresponding with said multi-role host; A target P E equipment is corresponding in said destination host and other PE equipment; Said multi-role host is arranged in polygonal look instance; Said destination host is arranged in object instance, is provided with said polygonal look instance and said object instance in advance on the PE equipment of said source, is provided with said object instance in advance on the said target P E equipment; Said device comprises:
Receiver module is used in said polygonal look instance, receiving the message from said multi-role host;
Processing module is connected with said receiver module, and the message that is used for receiving according to said receiver module is learnt the MAC Address of said multi-role host from said polygonal look instance; And the MAC Address of said multi-role host is synchronized in the said object instance;
Sending module is connected with said receiver module, is used for the message that said receiver module receives is sent to other PE equipment, in said object instance, returns response message to said source PE equipment according to said message by said target P E equipment;
Synchronization module is connected with said sending module, is used in said object instance obtaining from said response message the MAC Address of said destination host, and with the MAC Address of said destination host be synchronized in the said polygonal look instance with said object instance in;
Said processing module also is used for; According to the MAC Address of destination host and the MAC Address of said multi-role host in the said polygonal look instance; And the MAC Address of destination host and the MAC Address of said multi-role host in the said object instance, realize the Layer 2 data transmission course between said destination host and the said multi-role host.
7. device as claimed in claim 6 is characterized in that,
Said processing module specifically is used for, and the access link AC of said multi-role host is incorporated in the said object instance; And the MAC Address of said multi-role host is synchronized in the said object instance according to the access link AC of said multi-role host.
8. device as claimed in claim 6 is characterized in that,
Said sending module specifically is used for, and the virtual link PW of other instances is incorporated in the said polygonal look instance; Corresponding said other PE equipment of said other instances, and comprise said object instance in said other instances;
And said message is broadcast to said other PE equipment according to the virtual link PW of said other instances, comprise said target P E equipment in said other PE equipment.
9. device as claimed in claim 6 is characterized in that, when said device during as said target P E equipment,
Said receiver module also is used for, and in said object instance, receives said message;
Said processing module also is used for, and learns the next hop address of said multi-role host according to said message; Wherein, the next hop address of said multi-role host is a said source PE equipment; Obtain the MAC Address of said destination host according to said message, and judge whether the MAC Address of said destination host is self corresponding MAC Address;
Said sending module also is used for, when judged result when being, the next hop address according to said multi-role host in said object instance is sent said response message to said source PE equipment.
10. device as claimed in claim 6 is characterized in that,
Said synchronization module also is used for, and the MAC Address in the said object instance is incorporated in the said polygonal look instance; Behind the MAC Address that obtains said destination host, the MAC Address of said destination host is synchronized in the said polygonal look instance.
CN200910224048XA 2009-12-01 2009-12-01 Method and device for implementing multirole host computer Active CN101729409B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910224048XA CN101729409B (en) 2009-12-01 2009-12-01 Method and device for implementing multirole host computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910224048XA CN101729409B (en) 2009-12-01 2009-12-01 Method and device for implementing multirole host computer

Publications (2)

Publication Number Publication Date
CN101729409A CN101729409A (en) 2010-06-09
CN101729409B true CN101729409B (en) 2012-05-23

Family

ID=42449650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910224048XA Active CN101729409B (en) 2009-12-01 2009-12-01 Method and device for implementing multirole host computer

Country Status (1)

Country Link
CN (1) CN101729409B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104350804A (en) * 2012-06-15 2015-02-11 惠普发展公司,有限责任合伙企业 Communicating data associated with different personas of user
CN103078794B (en) * 2013-01-08 2017-03-15 杭州华三通信技术有限公司 A kind of Message processing control method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516401A (en) * 2003-01-06 2004-07-28 华为技术有限公司 Method for implementing multirole main machine based on virtual local network
CN1870588A (en) * 2005-12-31 2006-11-29 华为技术有限公司 Implementing method and system for support VPLS service on IP skeletal network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1516401A (en) * 2003-01-06 2004-07-28 华为技术有限公司 Method for implementing multirole main machine based on virtual local network
CN1870588A (en) * 2005-12-31 2006-11-29 华为技术有限公司 Implementing method and system for support VPLS service on IP skeletal network

Also Published As

Publication number Publication date
CN101729409A (en) 2010-06-09

Similar Documents

Publication Publication Date Title
US9509609B2 (en) Forwarding packets and PE devices in VPLS
US9590902B2 (en) Signaling aliasing capability in data centers
CN103546374B (en) A kind of method and apparatus E-Packeted in edge double layer network
WO2016015497A1 (en) Method, device and system for forwarding packet
EP2912812B1 (en) Traffic interconnection between virtual devices
CN102694718B (en) A kind of VPLS fast rerouting method and equipment
CN102932499B (en) Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
EP3188422B1 (en) Traffic black holing avoidance and fast convergence for active-active pbb-evpn redundancy
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
WO2009033428A1 (en) Method, system and device for removing media access control address
CN102098202B (en) Virtual private topology control method, device and system
CN100514929C (en) Method and device for message transfer of virtual private local area network
CN112422398B (en) Message transmission method and communication device
CN103326940A (en) Method for forwarding message in network and edge device of operator
CN103326915A (en) Method, device and system for achieving three-layer VPN
CN100559772C (en) Mixed virtual private network system and backbone network edge apparatus and collocation method thereof
EP2822238B1 (en) Method and device for establishing a pseudo wire
CN108141392A (en) The method and apparatus that pseudowire load is shared
EP3018866A1 (en) Signaling aliasing capability in data centers
CN113726653B (en) Message processing method and device
CN102724126A (en) Method, device and equipment for forwarding Ethernet tree (E-tree) service message
CN104009919A (en) Message forwarding method and device
CN101729409B (en) Method and device for implementing multirole host computer
CN101232446A (en) Message processing method and apparatus
CN103369064B (en) The learning method of a kind of ARP and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address