CN103532858A - TRILL (transparent interconnection of lots of links) network based data message processing method and device - Google Patents

TRILL (transparent interconnection of lots of links) network based data message processing method and device Download PDF

Info

Publication number
CN103532858A
CN103532858A CN201310532697.2A CN201310532697A CN103532858A CN 103532858 A CN103532858 A CN 103532858A CN 201310532697 A CN201310532697 A CN 201310532697A CN 103532858 A CN103532858 A CN 103532858A
Authority
CN
China
Prior art keywords
bridge
trill
port
message
secondary route
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
CN201310532697.2A
Other languages
Chinese (zh)
Other versions
CN103532858B (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN201310532697.2A priority Critical patent/CN103532858B/en
Publication of CN103532858A publication Critical patent/CN103532858A/en
Application granted granted Critical
Publication of CN103532858B publication Critical patent/CN103532858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a TRILL network based data message processing method and device. The method comprises the steps as follows: a first routing bridge receives a message which comprises a target MAC (media access control) address; if a first gateway address table term is queried, a first port number corresponding to the target MAC address is acquired from the first gateway address table term; the message is sent to a second routing bridge through a first port corresponding to the first port number, so that the second routing bridge is allowed to receive the message through the second port and send the message to the network; the first port is connected with the second port and is configured to a pre-arranged port mode; and the second routing bridge is virtualized into two virtual devices, one virtual device is used for running the TRILL, and the other virtual device is a gateway.

Description

The processing method of the data message based in TRILL network and device
Technical field
The present invention relates to the communication technology, relate in particular to a kind of processing method and device of the data message based in TRILL network.
Background technology
Multichain meets transparent interconnection (Transparent Interconnection of Lots of Links; Be called for short: TRILL) be Internet Engineering task groups (Internet Engineering Task Force; Be called for short: articulamentum (L2) network standard of IETF) recommending, for solving large-scale data center Spanning-Tree Protocol (Spanning Tree Protocol; Be called for short: deficiency STP).In prior art, in TRILL network, mainly comprise: routing bridge (Routing Bridge; Be called for short: RB) 1, RB2 and RB3, wherein, each RB is for supporting the equipment of TRILL function.The principle that realizes based on TRILL Internet Transmission user data message is: when original message enters TRILL network, RB1 can encapsulate TRILL head for original message, and according to TRILL head, the message after to this encapsulation carries out forwarded hop-by-hop by RB1 and RB2, until send to RB3, message after encapsulation arrives after RB3, the message of RB3 after to this encapsulation carries out decapsulation, is reduced into original message and leaves TRILL network.
In addition, in prior art, also by routing bridge and router, jointly dispose, allow PC gateway be positioned on router, to realize routing bridge after the message decapsulation to after encapsulation, routing table can be searched to determine local down hop and encapsulation behavior, but the increase of the complexity of user cost and network can be caused like this.
Summary of the invention
The invention provides a kind of processing method and device of the data message based in TRILL network, for solving the problem of increase of the complexity of user cost that prior art causes for each routing bridge configuration router and network.
First aspect of the present invention is to provide a kind of processing method of the data message based in TRILL network, comprising:
The first route bridging receiving literary composition, described message comprises object media access control MAC address;
If described the first routing bridge inquires the first gateway address list item,, from described the first gateway address list item, obtain the first end slogan corresponding with described target MAC (Media Access Control) address;
Described the first routing bridge, by the first port corresponding to described first end slogan, sends to secondary route bridge by described message, receives described message, and described message is sent to network for described secondary route bridge by the second port;
Wherein, described the first port is connected with described the second port, and is configured to default port mode; Described secondary route bridge is invented two virtual units, and a virtual unit is used for moving TRILL, and another virtual unit is gateway.
Another aspect of the present invention is to provide a kind of processing method of the data message based in TRILL network, comprising:
Secondary route bridge receives by the second port the message that the first routing bridge sends by the first port; Described message comprises object media access control MAC address;
Described secondary route bridge, according to described target MAC (Media Access Control) address, sends to the Internet by gateway by described message, and receives the response message that described the Internet returns;
Described secondary route bridge sends to described the first routing bridge by described response message by described the second port, receives described response message, and described response message is sent to terminal for described the first routing bridge by described the first port;
Wherein, described two ports are connected with described the first port, and are configured to default port mode; Described secondary route bridge is invented two virtual units, and a virtual unit is used for moving TRILL, and another virtual unit is described gateway.
Another aspect of the present invention is to provide a kind of processing unit of the data message based in TRILL network, comprising:
Transceiver module, for receiving message, described message comprises object media access control MAC address;
Acquisition module, if for inquiring the first gateway address list item,, from described the first gateway address list item, obtains the first end slogan corresponding with described target MAC (Media Access Control) address;
Described transceiver module also, for by the first port corresponding to described first end slogan, sends to secondary route bridge by described message, receives described message, and described message is sent to network for described secondary route bridge by the second port;
Wherein, described the first port is connected with described the second port, and is configured to default port mode; Described secondary route bridge is invented two virtual units, and a virtual unit is used for moving TRILL, and another virtual unit is gateway.
Also aspect of the present invention is to provide a kind of processing unit of the data message based in TRILL network, comprising:
Virtual module, for described device being invented to two virtual units, a virtual unit is used for moving TRILL, and another virtual unit is gateway.
Receiver module, the message sending by the first port for receive the first routing bridge by the second port; Described message comprises object media access control MAC address;
Sending module, for according to described target MAC (Media Access Control) address, sends to the Internet by described gateway by described message;
The response message that described receiver module also returns for receiving described the Internet;
Described sending module also, for described response message is sent to described the first routing bridge by described the second port, receives described response message for described the first routing bridge by described the first port, and described response message is sent to terminal;
Wherein, described two ports are connected with described the first port, and are configured to default port mode.
Technique effect of the present invention is: the message that terminal sends is received in the first route bridging, and after inquiring the first gateway address list item, from this first gateway address list item, obtain the first end slogan corresponding with this target MAC (Media Access Control) address, by the first port corresponding to first end slogan, this message is sent to secondary route bridge again, for secondary route bridge, by the second port, receive this message, and search the first routing table, this message is sent to network; Wherein, the first port is connected with the second port, because this first port and the second port arrangement are default port mode, allow the message of non-TRILL encapsulation to pass through, and this first routing bridge is invented two virtual units, a virtual unit is used for moving TRILL, and another virtual unit is gateway, therefore, solved the problem of increase of the complexity of the user cost that causes for each routing bridge configuration router in prior art and network.
Accompanying drawing explanation
Fig. 1 is the configuration diagram of the applied TRILL network system of the processing method of the data message based in TRILL network of the present invention;
Fig. 2 is the flow chart of an embodiment of the processing method of the data message based in TRILL network of the present invention;
Fig. 3 is the flow chart of another embodiment of the processing method of the data message based in TRILL network of the present invention;
Fig. 4 is the flow chart of another embodiment of the processing method of the data message based in TRILL network of the present invention;
Fig. 5 is the also flow chart of an embodiment of the processing method of the data message based in TRILL network of the present invention;
Fig. 6 is the flow chart of another embodiment of the processing method of the data message based in TRILL network of the present invention;
Fig. 7 is the structural representation of an embodiment that the present invention is based on the processing unit of the data message in TRILL network;
Fig. 8 is the structural representation of another embodiment that the present invention is based on the processing unit of the data message in TRILL network;
Fig. 9 is the structural representation of another embodiment that the present invention is based on the processing unit of the data message in TRILL network;
Figure 10 is the also structural representation of an embodiment that the present invention is based on the processing unit of the data message in TRILL network.
Embodiment
Fig. 1 is the configuration diagram of the applied TRILL network system of the processing method of the data message based in TRILL network of the present invention, as shown in Figure 1, this TRILL network system comprises: the first routing bridge (RB3) 11, secondary route bridge (RB1) 12, Third Road are by bridge (RB4) 13, the 4th routing bridge (RB5) 14, the 5th routing bridge (RB6) 15, the 6th routing bridge (RB2) 16, first terminal (PC1) 17, the second terminal (PC2) 18, third terminal (PC3) 19 and the 4th terminal (PC4) 20; Wherein, secondary route bridge 12 and the 6th routing bridge 17 are that core layer switch, the first routing bridge 11, Third Road are access-layer switch by bridge 13, the 4th routing bridge 15 and the 5th routing bridge 16.In addition, for core layer switch, can invent respectively two equipment, one of them virtual unit operation TRILL, another equipment is worked as gateway.
Fig. 2 is the flow chart of an embodiment of the processing method of the data message based in TRILL network of the present invention, and in the TRILL network system shown in above-mentioned Fig. 1, as shown in Figure 2, the method for the present embodiment comprises:
Step 101, the first route bridging receiving literary composition, this message comprises target MAC (Media Access Control) address.
In the present embodiment, this first routing bridge can receive this message from terminal, also can receive this message from another routing bridge, and this another routing bridge can be for above-mentioned Third Road be by bridge 13, the 4th routing bridge 14 or the 5th routing bridge 15.In addition, in the present embodiment, this message is specially the unicast message that mails to gateway.
If step 102, the first routing bridge inquire the first gateway address list item,, from this first gateway address list item, obtain the first end slogan corresponding with this target MAC (Media Access Control) address.
In the present embodiment, the first gateway address list item refers to the list item of the MAC Address of the gateway that includes secondary route bridge.
Step 103, the first routing bridge, by the first port corresponding to this first end slogan, send to secondary route bridge by this message, receive this message, and this message is sent to network for this secondary route bridge by the second port.
Wherein, this first port is connected with this second port, and is configured to default port mode.
In the present embodiment, this default port mode can be referred to as trill-gateway port mode.Concrete, this trill-gateway port mode can be thought a kind of special trill-p2p port mode, it not only has the function that trill-p2p port mode has, the function also with part trill-access port mode (is with the difference of the trill-access port mode of standard: only search address table or routing table, confirm that the unicast message of the outlet that outlet is this trill-gateway port mode just can send from this outlet in non-TRILL encapsulation; The clean culture of unknown name, multicast and broadcast do not allow non-TRILL encapsulation to be flooded to the outlet of trill-gateway port mode).
Wherein, trill-p2p port mode is for point-to-point connectivity port between routing bridge in TRILL network, when this connectivity port configures this pattern, a plurality of routing bridges of connection such as hub (hub) can not be passed through in this connectivity port, do not allow to connect the terminal equipments such as computer, only allow to be connected to a port of another routing bridge yet.In addition, this port only allows the message of TRILL encapsulation to pass through, and forbids that the message of non-TRILL encapsulation passes through.
Trill-access port mode is for connecting the port of the external equipments such as computer in TRILL network, and when this pattern of this port arrangement, this port does not conventionally allow directly to connect other routing bridges or is connected to other routing bridges by hub etc.In addition, this port only allows the message of non-TRILL encapsulation to pass through, and forbids that the message of TRILL encapsulation passes through.
In the present embodiment, the message that terminal sends is received in the first route bridging, and after inquiring the first gateway address list item, from this first gateway address list item, obtain the first end slogan corresponding with this target MAC (Media Access Control) address, then by the first port corresponding to first end slogan, this message is sent to secondary route bridge, for secondary route bridge, by the second port, receive this message, and search the first routing table, this message is sent to network; Wherein, the first port is connected with the second port, because this first port and the second port arrangement are default port mode, allow the message of non-TRILL encapsulation to pass through, and this first routing bridge is invented two virtual units, a virtual unit is used for moving TRILL, and another virtual unit is gateway, therefore, solved the problem of increase of the complexity of the user cost that causes for each routing bridge configuration router in prior art and network.
Fig. 3 is the flow chart of another embodiment of the processing method of the data message based in TRILL network of the present invention, and on above-mentioned basis embodiment illustrated in fig. 2, as shown in Figure 3, before step 101, the method can also comprise:
Step 100a, the first routing bridge receive the notification packet of the MAC Address of this secondary route bridge transmission by this first port, the notification packet of this MAC Address comprises: the gateway MAC Address of VLAN sign and this secondary route bridge.
The mode with static address is set on this first port by the gateway MAC Address of this secondary route bridge for step 100b, the first routing bridge, and generates this first gateway address list item; Wherein, this first gateway address list item comprises: gateway MAC Address and the first end slogan of this secondary route bridge of this VLAN sign and correspondence.
In the present embodiment, in order to allow the first routing bridge learn the MAC Address of gateway in the first routing bridge at the first port, need manage to allow the first routing bridge from the first port, receive the notification packet of the MAC Address that carries this gateway MAC Address.For instance, the notification packet of this MAC Address can be expansion TRILL P2P hello packet.It should be noted that, in the present embodiment, the notification packet that the first routing bridge sends this MAC Address can also have other modes to the implementation of secondary route bridge, in the present embodiment, does not limit.
In the present embodiment, the first gateway address list item by static state setting " vid(is above-mentioned VLAN sign)+gateway MAC Address (being the gateway MAC Address of above-mentioned secondary route bridge)+first end slogan ", priority than the address list item of the gateway of " sign of vid+ gateway MAC Address+the first routing bridge " of dynamic learning in prior art is high, thereby make the MAC Address of the gateway of the secondary route bridge that the first routing bridge not only can learn at the first port, also avoided the constantly concussion between " vid+ gateway MAC Address+first end slogan " and " sign of vid+ gateway MAC Address+the first routing bridge " of gateway MAC Address.
Fig. 4 is the flow chart of another embodiment of the processing method of the data message based in TRILL network of the present invention, and the method for this enforcement comprises:
After the ARP request after receiving the TRILL encapsulation that Third Road forwards along distribution tree by bridge of step 201, the first routing bridge, ARP request after this TRILL encapsulation is carried out to decapsulation, study TRILL address list item, this TRILL address list item comprises: the gateway MAC Address of VLAN sign, this secondary route bridge and this Third Road are by the sign of bridge.
In the present embodiment, secondary route bridge is when detecting while disconnecting being connected between the first routing bridge and secondary route bridge, send to Third Road by bridge the ARP request of non-TRILL encapsulation, for this Third Road by bridge after the ARP request that receives this non-TRILL encapsulation, the ARP request of this non-TRILL encapsulation is carried out to TRILL encapsulation, and the ARP request after TRILL encapsulation is forwarded along distribution tree.
In the present embodiment, after the first routing bridge and secondary route bridge disconnect because of fault, the ARP request that secondary route bridge sends does not encapsulate TRILL head, and sends to Third Road by bridge.It should be noted that, according to shown in above-mentioned Fig. 1, when the link between the first routing bridge and secondary route bridge disconnects because of fault, secondary route bridge is no longer just the neighbours of the first routing bridge, therefore, can only send ARP and ask in bridge 13, the 4th routing bridge 14 or the 5th routing bridge 15 to Third Road.In the present embodiment, take and send to Third Road to be described as example by bridge.
When Third Road, by bridge, at the 3rd port, received after the ARP request of non-TRILL encapsulation, the ARP request of this non-TRILL encapsulation can be carried out to TRILL encapsulation, encapsulate TRILL head, and be transmitted to each routing bridge along distribution tree.
Step 202, the first route bridging receiving literary composition, this message comprises target MAC (Media Access Control) address.
If step 203, the first routing bridge inquire this TRILL address list item, this message is carried out to TRILL encapsulation.
Step 204, the first routing bridge send to this Third Road by bridge the message after encapsulation, for this Third Road, by bridge, the message after to this encapsulation carries out decapsulation, if Third Road is found and is had the second gateway address list item that comprises the 3rd port numbers by bridge, by the 3rd port corresponding to the 3rd port numbers, this message is sent to secondary route bridge, for this secondary route bridge, by the 4th port, receive this message, and this message is sent to network.
Wherein, the 3rd port is connected with the 4th port, and is configured to this default port mode.This second gateway address list item comprises: gateway MAC Address and the 3rd port numbers of this secondary route bridge of VLAN sign and correspondence.
In the present embodiment, Third Road also can be according to the mode shown in Fig. 3 in the 3rd port study gateway MAC Address by bridge, and it is similar that it realizes principle, repeats no more herein.It should be noted that, the second gateway address list item refers to the list item of the gateway MAC Address that includes secondary route bridge, is: port numbers is not identical with the difference of above-mentioned the first gateway address list item.
In addition, link normal operation when between the first routing bridge and secondary route bridge, and when Third Road is disconnected by link between bridge and secondary route bridge, the first routing bridge also can be responsible for forwarding the message that Third Road is received by bridge joint, the mode that its processing mode and Third Road process by bridge the message that the first routing bridge sends is identical, is not repeating herein.
Fig. 5 is the also flow chart of an embodiment of the processing method of the data message based in TRILL network of the present invention, and on the basis of above-mentioned Fig. 2 example illustrated, the method for this enforcement also comprises:
If step 104, the first routing bridge inquire, there is not this first gateway address list item and this TRILL address list item, this message is carried out to TRILL encapsulation process, and the message after encapsulation is forwarded along TRILL distribution tree.
Fig. 6 is the flow chart of another embodiment of the processing method of the data message based in TRILL network of the present invention, and in the TRILL network system shown in above-mentioned Fig. 1, as shown in Figure 6, the method for the present embodiment comprises;
Step 301, secondary route bridge receive by the second port the message that the first routing bridge sends by the first port, and this message comprises target MAC (Media Access Control) address.
In the present embodiment, the embodiment of the method for the first routing bridge shown in can execution graph 2, it is similar that it realizes principle, repeats no more herein.
Step 302, secondary route bridge, according to this target MAC (Media Access Control) address, send to the Internet by gateway by this message, and receive the response message that this Internet returns.
Step 303, secondary route bridge send to this first routing bridge by this response message by this second port, receive this response message, and this response message is sent to terminal for this first routing bridge by this first port.
Wherein, this two port is connected with this first port, and is configured to default port mode; This secondary route bridge is invented two virtual units, and a virtual unit is used for moving TRILL, and another virtual unit is gateway.
In the present embodiment, secondary route bridge receives by the second port the message that the first routing bridge sends by the first port; This message is sent to the Internet, and receive the response message that this Internet returns; According to the target MAC (Media Access Control) address in this message, this response message is sent to this first routing bridge by this second port, for this first routing bridge, by this first port, receive this response message, and this response message is sent to terminal; Wherein, this two port is connected with this first port, because this first port and the second port arrangement are default port mode, and this first routing bridge is invented two virtual units, a virtual unit is used for moving TRILL, another virtual unit is gateway, therefore, has solved the problem of increase of the complexity of the user cost that causes for each routing bridge configuration router in prior art and network.
Further, in another embodiment of the present invention, on above-mentioned basis embodiment illustrated in fig. 6, the method can also comprise:
Secondary route bridge sends the notification packet of MAC Address, and the notification packet of this MAC Address comprises: the gateway MAC Address of VLAN sign and this secondary route bridge; For this first routing bridge, by this first port, receive the notification packet of this MAC Address, and the mode with static address is set on this first port by the gateway MAC Address of this secondary route bridge, generates this first gateway address list item; Wherein, this first gateway address list item comprises: gateway MAC Address and the first end slogan of this secondary route bridge of this VLAN sign and correspondence.
Alternatively, the method can further include:
Secondary route bridge joint is received the ARP request that carries TRILL head, and from this carries the ARP request of TRILL head, extract the sign of this first routing bridge, the APR request of TRILL encapsulation is carried out in the APR request that this ARP request that carries TRILL head sends terminal for this first routing bridge;
Secondary route bridge inquiry TRILL neighbor entry, obtains second port numbers corresponding with the sign of this first routing bridge, and using the second port corresponding to this second port numbers as receiving and dispatching the port of processing with the first routing bridge and secondary route bridge.
In the present embodiment, as shown in Figure 1, according to TRILL standard, TRILL encapsulation is carried out in the ARP request meeting that PC1 sends, and the ARP request after encapsulation is forwarded along distribution tree.Suppose that the distribution tree topology of TRILL calculating generation is as shown in the link that is designated a in Fig. 1, RB1 will receive the ARP request that PC1 sends on the connected port of RB6.RB1 receives after ARP request, the sign (being the nickname of RB3) of the first routing bridge will be extracted from TRILL head, inquiry TRILL neighbor entry, the port numbers of obtaining the sign correspondence of this first routing bridge is the second port numbers, the receiving port of ARP request is revised as to the second port numbers, when RB1 is during toward PC1 route message, for RB1 can mail to the message after route the port being connected with RB6, RB1 can directly send to PC1 from the second port corresponding to the second port numbers by the message after route, along shortest path, sends to PC1.
Alternatively, the method can further include:
Secondary route bridge is when detecting while disconnecting being connected between this first routing bridge and this secondary route bridge, send to Third Road by bridge the ARP request of non-TRILL encapsulation, for this Third Road by bridge after the ARP request that receives this non-TRILL encapsulation, the ARP request of this non-TRILL encapsulation is carried out to TRILL encapsulation, and the ARP request after TRILL encapsulation is forwarded along distribution tree; So that after the ARP request of this first routing bridge after receiving TRILL encapsulation, ARP request after this TRILL encapsulation is carried out to decapsulation, study TRILL address list item, this TRILL address list item comprises: the gateway MAC Address of VLAN sign, this secondary route bridge and this Third Road are by the sign of bridge.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the relevant hardware of program command.Aforesaid program can be stored in a computer read/write memory medium.This program, when carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Fig. 7 is the structural representation of an embodiment that the present invention is based on the processing unit of the data message in TRILL network, and as shown in Figure 7, the device of the present embodiment comprises: transceiver module 21 and acquisition module 22; Wherein, transceiver module 21 is for receiving message, and this message comprises object media access control MAC address; If acquisition module 22, for inquiring the first gateway address list item,, from this first gateway address list item, obtains the first end slogan corresponding with this target MAC (Media Access Control) address; Transceiver module 21 also, for by the first port corresponding to this first end slogan, sends to secondary route bridge by this message, for this secondary route bridge, this message is sent to network; Wherein, this first port is connected with this second port, and is configured to default port mode; This secondary route bridge is invented two virtual units, and a virtual unit is used for moving TRILL, and another virtual unit is gateway.
The processing unit of the data message based in TRILL network of the present embodiment can be the first above-mentioned routing bridge, and the technical scheme of embodiment of the method shown in can execution graph 2, and it is similar that it realizes principle, repeats no more herein.
In the present embodiment, the message that terminal sends is received in the first route bridging, and after inquiring the first gateway address list item, from this first gateway address list item, obtain the first end slogan corresponding with this target MAC (Media Access Control) address, then by the first port corresponding to first end slogan, this message is sent to secondary route bridge, for secondary route bridge, by the second port, receive this message, and search the first routing table, this message is sent to network; Wherein, the first port is connected with the second port, because this first port and the second port arrangement are default port mode, allow the message of non-TRILL encapsulation to pass through, and this first routing bridge is invented two virtual units, a virtual unit is used for moving TRILL, and another virtual unit is gateway, therefore, solved the problem of increase of the complexity of the user cost that causes for each routing bridge configuration router in prior art and network.
Fig. 8 is the structural representation of another embodiment that the present invention is based on the processing unit of the data message in TRILL network, on above-mentioned basis embodiment illustrated in fig. 7, as shown in Figure 8, transceiver module 21 is also for receiving the notification packet of the MAC Address of this secondary route bridge transmission by this first port, the notification packet of this MAC Address comprises: the gateway MAC Address of VLAN sign and this secondary route bridge; Device can also comprise: the address list item processing module 23 of gateway, for the gateway MAC Address of this secondary route bridge is set to this first port in the mode of static address, and generates this first gateway address list item; Wherein, this first gateway address list item comprises: gateway MAC Address and the first end slogan of this secondary route bridge of this VLAN sign and correspondence.
Alternatively, this device can further include: TRILL address list item processing module 24 and TRILL package module 25; Wherein, after the ARP request of TRILL address list item processing module 24 after for the TRILL encapsulation that receives Third Road at this transceiver module 21 and forwarded along distribution tree by bridge, ARP request after this TRILL encapsulation is carried out to decapsulation, study TRILL address list item, this TRILL address list item comprises: the gateway MAC Address of VLAN sign, this secondary route bridge and this Third Road are by the sign of bridge.If TRILL package module 25, for inquiring this TRILL address list item, carries out TRILL encapsulation by this message; Wherein, after the ARP request that the ARP after this TRILL encapsulation asks to be encapsulated at the non-TRILL that receives the first routing bridge transmission by bridge for this Third Road, the message after TRILL encapsulation is carried out in the ARP request that this non-TRILL is encapsulated; The ARP request of this non-TRILL encapsulation is asked the ARP sending while disconnecting being connected between this first routing bridge and secondary route bridge being detected for this secondary route bridge.
In addition, transceiver module 21 is also for sending to this Third Road by bridge the message after encapsulation, for this Third Road, by bridge, the message after to this encapsulation carries out decapsulation, if find, there is the second gateway address list item that comprises the 3rd port numbers, by the 3rd port corresponding to the 3rd port numbers, this message is sent to secondary route bridge, for this secondary route bridge, by the 4th port, receive this message, and this message is sent to network; Wherein, the 3rd port is connected with the 4th port, and is configured to this default port mode; This second gateway address list item comprises: gateway MAC Address and the 3rd port numbers of this secondary route bridge of VLAN sign and correspondence.
Also it should be noted that, if TRILL package module 25 does not also exist this first gateway address list item and this TRILL address list item for inquiring, this message is carried out to TRILL encapsulation process; This transceiver module 21 is also for forwarding the message after encapsulation along TRILL distribution tree.
Fig. 9 is the structural representation of another embodiment that the present invention is based on the processing unit of the data message in TRILL network, and as shown in Figure 9, the device of the present embodiment comprises: virtual module 31, receiver module 32 and sending module 33; Wherein, virtual module 31 is for inventing this device two virtual units, and a virtual unit is used for moving TRILL, and another virtual unit is gateway.The message that receiver module 32 sends by the first port for receive the first routing bridge by the second port; This message comprises object media access control MAC address; Sending module 33, for according to this target MAC (Media Access Control) address, sends to the Internet by this gateway by this message; The response message that receiver module 32 also returns for receiving this Internet; Sending module 33 also, for this response message is sent to this first routing bridge by this second port, receives this response message for this first routing bridge by this first port, and this response message is sent to terminal; Wherein, this two port is connected with this first port, and is configured to default port mode.
The processing unit of the data message based in TRILL network of the present embodiment can be above-mentioned secondary route bridge, and the technical scheme of embodiment of the method shown in can execution graph 6, and it is similar that it realizes principle, repeats no more herein.
In the present embodiment, secondary route bridge receives by the second port the message that the first routing bridge sends by the first port; This message is sent to the Internet, and receive the response message that this Internet returns; According to the target MAC (Media Access Control) address in this message, this response message is sent to this first routing bridge by this second port, for this first routing bridge, by this first port, receive this response message, and this response message is sent to terminal; Wherein, this two port is connected with this first port, because this first port and the second port arrangement are default port mode, and this first routing bridge is invented two virtual units, a virtual unit is used for moving TRILL, another virtual unit is gateway, therefore, has solved the problem of increase of the complexity of the user cost that causes for each routing bridge configuration router in prior art and network.
Figure 10 is the also structural representation of an embodiment that the present invention is based on the processing unit of the data message in TRILL network, and on above-mentioned basis embodiment illustrated in fig. 9, as shown in figure 10, receiver module 32 is also for receiving the ARP request that carries TRILL head; The APR request of TRILL encapsulation is carried out in the ARP request that this ARP request that carries TRILL head sends terminal for this first routing bridge; Device can also comprise: extraction module 34 and configuration module 35; Extraction module 34 extracts the sign of this first routing bridge for carry the ARP request of TRILL head from this; Configuration module 35, for inquiring about TRILL neighbor entry, obtains second port numbers corresponding with the sign of this first routing bridge, and using the second port corresponding to this second port numbers as receiving and dispatching with the first routing bridge and this device the port of processing.
Alternatively, this device can also comprise: detection module 36, for detection of whether disconnecting being connected between this first routing bridge and this secondary route bridge; Sending module 33 is also for detecting when this detection module while disconnecting being connected between this first routing bridge and this secondary route bridge, send to Third Road by bridge the ARP request of non-TRILL encapsulation, for this Third Road by bridge after the ARP request that receives this non-TRILL encapsulation, the ARP request of this non-TRILL encapsulation is carried out to TRILL encapsulation, and the ARP request after TRILL encapsulation is forwarded along distribution tree; So that after the ARP request of this first routing bridge after receiving TRILL encapsulation, ARP request after this TRILL encapsulation is carried out to decapsulation, study TRILL address list item, this TRILL address list item comprises: the gateway MAC Address of VLAN sign, this secondary route bridge and this Third Road are by the sign of bridge.
Finally it should be noted that: each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit above; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (16)

1. based on multichain, connect a processing method for the data message in transparent interconnection TRILL network, it is characterized in that, comprising:
The first route bridging receiving literary composition, described message comprises object media access control MAC address;
If described the first routing bridge inquires the first gateway address list item,, from described the first gateway address list item, obtain the first end slogan corresponding with described target MAC (Media Access Control) address;
Described the first routing bridge, by the first port corresponding to described first end slogan, sends to secondary route bridge by described message, receives described message, and described message is sent to network for described secondary route bridge by the second port;
Wherein, described the first port is connected with described the second port, and is configured to default port mode; Described secondary route bridge is invented two virtual units, and a virtual unit is used for moving TRILL, and another virtual unit is gateway.
2. method according to claim 1, is characterized in that, before described the first route bridging receiving literary composition, described method also comprises:
Described the first routing bridge receives the notification packet of the MAC Address of described secondary route bridge transmission by described the first port, the notification packet of described MAC Address comprises: the gateway MAC Address of VLAN sign and described secondary route bridge;
By the gateway MAC Address of described secondary route bridge, the mode with static address is set on described the first port described the first routing bridge, and generates described the first gateway address list item; Wherein, described the first gateway address list item comprises: gateway MAC Address and the first end slogan of the described secondary route bridge of described VLAN sign and correspondence.
3. method according to claim 1, is characterized in that, also comprises:
After the ARP request of described the first routing bridge after receiving the TRILL encapsulation that Third Road forwards along distribution tree by bridge, ARP request after described TRILL encapsulation is carried out to decapsulation, study TRILL address list item, described TRILL address list item comprises: the gateway MAC Address of VLAN sign, described secondary route bridge and described Third Road are by the sign of bridge;
Wherein, after the ARP request that the ARP after described TRILL encapsulation asks to be encapsulated at the non-TRILL that receives the first routing bridge transmission by bridge for described Third Road, the message after TRILL encapsulation is carried out in the ARP request that described non-TRILL is encapsulated; The ARP request of described non-TRILL encapsulation is asked the ARP sending while disconnecting being connected between described the first routing bridge and secondary route bridge being detected for described secondary route bridge.
4. method according to claim 3, is characterized in that, after described message is received in described the first route bridging, described method comprises:
If described the first routing bridge inquires described TRILL address list item, described message is carried out to TRILL encapsulation;
Described the first routing bridge sends to described Third Road by bridge the message after encapsulation, for described Third Road, by bridge, the message after to described encapsulation carries out decapsulation, if find, there is the second gateway address list item that comprises the 3rd port numbers, by the 3rd port corresponding to described the 3rd port numbers, described message is sent to secondary route bridge, for described secondary route bridge, by the 4th port, receive described message, and described message is sent to network;
Wherein, described the 3rd port is connected with described the 4th port, and is configured to described default port mode; Described the second gateway address list item comprises: gateway MAC Address and the 3rd port numbers of the described secondary route bridge of VLAN sign and correspondence.
5. based on multichain, connect a processing method for the data message in transparent interconnection TRILL network, it is characterized in that, comprising:
Secondary route bridge receives by the second port the message that the first routing bridge sends by the first port; Described message comprises object media access control MAC address;
Described secondary route bridge, according to described target MAC (Media Access Control) address, sends to the Internet by gateway by described message, and receives the response message that described the Internet returns;
Described secondary route bridge sends to described the first routing bridge by described response message by described the second port, receives described response message, and described response message is sent to terminal for described the first routing bridge by described the first port;
Wherein, described two ports are connected with described the first port, and are configured to default port mode; Described secondary route bridge is invented two virtual units, and a virtual unit is used for moving TRILL, and another virtual unit is described gateway.
6. method according to claim 5, is characterized in that, also comprises:
Described secondary route bridge sends the notification packet of MAC Address, and the notification packet of described MAC Address comprises: the gateway MAC Address of VLAN sign and described secondary route bridge; For described the first routing bridge, by described the first port, receive the notification packet of described MAC Address, and the mode with static address is set on described the first port by the gateway MAC Address of described secondary route bridge, generates described the first gateway address list item; Wherein, described the first gateway address list item comprises: gateway MAC Address and the first end slogan of the described secondary route bridge of described VLAN sign and correspondence.
7. according to the method described in claim 5 or 6, it is characterized in that, also comprise:
Described secondary route bridge joint is received the ARP request that carries TRILL head, and from the ARP request of the described TRILL of carrying head, extract the sign of described the first routing bridge, described in carry the APR request that TRILL encapsulation is carried out in ARP request that the ARP request of TRILL head sends terminal for described the first routing bridge;
Described secondary route bridge inquiry TRILL neighbor entry, obtains second port numbers corresponding with the sign of described the first routing bridge, and using the second port corresponding to described the second port numbers as receiving and dispatching the port of processing with the first routing bridge and described secondary route bridge.
8. method according to claim 7, is characterized in that, also comprises:
Described secondary route bridge is when detecting while disconnecting being connected between described the first routing bridge and described secondary route bridge, send to Third Road by bridge the ARP request of non-TRILL encapsulation, for described Third Road by bridge after the ARP request that receives described non-TRILL encapsulation, the ARP request of described non-TRILL encapsulation is carried out to TRILL encapsulation, and the ARP request after TRILL encapsulation is forwarded along distribution tree; So that after the ARP request of described the first routing bridge after receiving TRILL encapsulation, ARP request after described TRILL encapsulation is carried out to decapsulation, study TRILL address list item, described TRILL address list item comprises: the gateway MAC Address of VLAN sign, described secondary route bridge and described Third Road are by the sign of bridge.
9. based on multichain, connect a processing unit for the data message in transparent interconnection TRILL network, it is characterized in that, comprising:
Transceiver module, for receiving message, described message comprises object media access control MAC address;
Acquisition module, if for inquiring the first gateway address list item,, from described the first gateway address list item, obtains the first end slogan corresponding with described target MAC (Media Access Control) address;
Described transceiver module also, for by the first port corresponding to described first end slogan, sends to secondary route bridge by described message, receives described message, and described message is sent to network for described secondary route bridge by the second port;
Wherein, described the first port is connected with described the second port, and is configured to default port mode; Described secondary route bridge is invented two virtual units, and a virtual unit is used for moving TRILL, and another virtual unit is gateway.
10. device according to claim 9, it is characterized in that, described transceiver module is also for receiving the notification packet of the MAC Address of described secondary route bridge transmission by described the first port, the notification packet of described MAC Address comprises: the gateway MAC Address of VLAN sign and described secondary route bridge;
Described device also comprises:
The address list item processing module of gateway, for the gateway MAC Address of described secondary route bridge is set to described the first port in the mode of static address, and generates described the first gateway address list item; Wherein, described the first gateway address list item comprises: gateway MAC Address and the first end slogan of the described secondary route bridge of described VLAN sign and correspondence.
11. devices according to claim 9, is characterized in that, also comprise:
TRILL address list item processing module, for receiving at described transceiver module after the ARP request after the TRILL encapsulation that Third Road forwards along distribution tree by bridge, ARP request after described TRILL encapsulation is carried out to decapsulation, study TRILL address list item, described TRILL address list item comprises: the gateway MAC Address of VLAN sign, described secondary route bridge and described Third Road are by the sign of bridge;
Wherein, after the ARP request that the ARP after described TRILL encapsulation asks to be encapsulated at the non-TRILL that receives the first routing bridge transmission by bridge for described Third Road, the message after TRILL encapsulation is carried out in the ARP request that described non-TRILL is encapsulated; The ARP request of described non-TRILL encapsulation is asked the ARP sending while disconnecting being connected between described the first routing bridge and secondary route bridge being detected for described secondary route bridge.
12. devices according to claim 11, is characterized in that, also comprise:
TRILL package module, if for inquiring described TRILL address list item, carry out TRILL encapsulation by described message;
Described transceiver module is also for sending to described Third Road by bridge the message after encapsulation, for described Third Road, by bridge, the message after to described encapsulation carries out decapsulation, if find, there is the second gateway address list item that comprises the 3rd port numbers, by the 3rd port corresponding to described the 3rd port numbers, described message is sent to secondary route bridge, for described secondary route bridge, by the 4th port, receive described message, and described message is sent to network;
Wherein, described the 3rd port is connected with described the 4th port, and is configured to described default port mode; Described the second gateway address list item comprises: gateway MAC Address and the 3rd port numbers of the described secondary route bridge of VLAN sign and correspondence.
13. 1 kinds of processing unit that connect the data message in transparent interconnection TRILL network based on multichain, is characterized in that, comprising:
Virtual module, for described device being invented to two virtual units, a virtual unit is used for moving TRILL, and another virtual unit is gateway;
Receiver module, the message sending by the first port for receive the first routing bridge by the second port; Described message comprises object media access control MAC address;
Sending module, for according to described target MAC (Media Access Control) address, sends to the Internet by described gateway by described message;
The response message that described receiver module also returns for receiving described the Internet;
Described sending module also, for described response message is sent to described the first routing bridge by described the second port, receives described response message for described the first routing bridge by described the first port, and described response message is sent to terminal;
Wherein, described two ports are connected with described the first port, and are configured to default port mode.
14. devices according to claim 13, is characterized in that, described sending module is also for sending the notification packet of MAC Address, and the notification packet of described MAC Address comprises: the gateway MAC Address of VLAN sign and described secondary route bridge; For described the first routing bridge, by described the first port, receive the notification packet of described MAC Address, and the mode with static address is set on described the first port by the gateway MAC Address of described secondary route bridge, generates described the first gateway address list item; Wherein, described the first gateway address list item comprises: gateway MAC Address and the first end slogan of the described secondary route bridge of described VLAN sign and correspondence.
15. according to the device described in claim 13 or 14, it is characterized in that, described receiver module is also for receiving the ARP request that carries TRILL head; The APR request of TRILL encapsulation is carried out in the ARP request that the ARP request of the described TRILL of carrying head sends terminal for described the first routing bridge;
Described device also comprises:
Extraction module, extracts the sign of described the first routing bridge for the ARP request from the described TRILL of carrying head;
Configuration module, for inquiring about TRILL neighbor entry, obtains second port numbers corresponding with the sign of described the first routing bridge, and using the second port corresponding to described the second port numbers as receiving and dispatching with the first routing bridge and described device the port of processing.
16. devices according to claim 15, is characterized in that, also comprise:
Whether detection module, for detection of disconnecting being connected between described the first routing bridge and described secondary route bridge;
Described sending module is also for detecting when described detection module while disconnecting being connected between described the first routing bridge and described secondary route bridge, send to Third Road by bridge the ARP request of non-TRILL encapsulation, for described Third Road by bridge after the ARP request that receives described non-TRILL encapsulation, the ARP request of described non-TRILL encapsulation is carried out to TRILL encapsulation, and the ARP request after TRILL encapsulation is forwarded along distribution tree; So that after the ARP request of described the first routing bridge after receiving TRILL encapsulation, ARP request after described TRILL encapsulation is carried out to decapsulation, study TRILL address list item, described TRILL address list item comprises: the gateway MAC Address of VLAN sign, described secondary route bridge and described Third Road are by the sign of bridge.
CN201310532697.2A 2013-10-31 2013-10-31 Treating method and apparatus based on the data message in TRILL network Active CN103532858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310532697.2A CN103532858B (en) 2013-10-31 2013-10-31 Treating method and apparatus based on the data message in TRILL network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310532697.2A CN103532858B (en) 2013-10-31 2013-10-31 Treating method and apparatus based on the data message in TRILL network

Publications (2)

Publication Number Publication Date
CN103532858A true CN103532858A (en) 2014-01-22
CN103532858B CN103532858B (en) 2016-09-28

Family

ID=49934548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310532697.2A Active CN103532858B (en) 2013-10-31 2013-10-31 Treating method and apparatus based on the data message in TRILL network

Country Status (1)

Country Link
CN (1) CN103532858B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015188706A1 (en) * 2014-06-13 2015-12-17 华为技术有限公司 Data frame processing method, device and system
CN105530189A (en) * 2014-09-29 2016-04-27 华为技术有限公司 Method for forwarding messages in TRILL network, and routing bridge
CN105577542A (en) * 2015-12-25 2016-05-11 迈普通信技术股份有限公司 Packet forwarding method based on TRILL network and route bridge
CN105991446A (en) * 2015-02-06 2016-10-05 ***通信集团公司 Three-layer networking method, device and system and data processing method, device and system of TRILL network
WO2018019146A1 (en) * 2016-07-28 2018-02-01 新华三技术有限公司 Device detection

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638389A (en) * 2011-02-15 2012-08-15 中兴通讯股份有限公司 Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN103248569A (en) * 2012-02-08 2013-08-14 杭州华三通信技术有限公司 Method and device for achieving TRILL network equivalent path

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638389A (en) * 2011-02-15 2012-08-15 中兴通讯股份有限公司 Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN103248569A (en) * 2012-02-08 2013-08-14 杭州华三通信技术有限公司 Method and device for achieving TRILL network equivalent path

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015188706A1 (en) * 2014-06-13 2015-12-17 华为技术有限公司 Data frame processing method, device and system
CN105227420A (en) * 2014-06-13 2016-01-06 华为技术有限公司 The processing method of Frame, equipment and system
CN105227420B (en) * 2014-06-13 2018-10-19 华为技术有限公司 Processing method, device and the system of data frame
CN105530189A (en) * 2014-09-29 2016-04-27 华为技术有限公司 Method for forwarding messages in TRILL network, and routing bridge
CN105991446A (en) * 2015-02-06 2016-10-05 ***通信集团公司 Three-layer networking method, device and system and data processing method, device and system of TRILL network
CN105577542A (en) * 2015-12-25 2016-05-11 迈普通信技术股份有限公司 Packet forwarding method based on TRILL network and route bridge
CN105577542B (en) * 2015-12-25 2019-05-14 迈普通信技术股份有限公司 A kind of message forwarding method and routing bridge based on TRILL network
WO2018019146A1 (en) * 2016-07-28 2018-02-01 新华三技术有限公司 Device detection
US11115285B2 (en) 2016-07-28 2021-09-07 New H3C Technologies Co., Ltd. Device detection

Also Published As

Publication number Publication date
CN103532858B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN101471875B (en) Passage transmission method based on loop, network system and node equipment
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN100596094C (en) Implementation method and switching device of multi-point to multi-point service
CN102394819B (en) Electoral method and device of appointed VLAN (virtual local area network) transmitter in TRILL network
CN102185782B (en) Data transmission method and device of multilink transparent transmission interconnection network
CN103269299B (en) Message forwarding method in SPBM network and device
CN103139075B (en) A kind of message transmitting method and equipment
CN103532858A (en) TRILL (transparent interconnection of lots of links) network based data message processing method and device
CN101977156B (en) Method, device and routing equipment for learning maximum transmission unit
CN105490957A (en) Load sharing method and device
CN102882781B (en) Method, route bridge and system for transmitting message
CN103475583A (en) Method and equipment for removing media access control forwarding table entries
CN104158746A (en) Data forwarding method, gateway equipment and train reconnection system
CN102694752B (en) Gateway equipment
CN102694714A (en) Method, device, system and a non-forwarder non-forwarding bridge for message transmission in TRILL network
CN103428088A (en) Tree root allocation and message processing method and routing network bridge
CN102223312A (en) Flow control method and equipment based on link status
JP2008131614A (en) Communication device processing operation administration and maintenance frame, data structure, and program
CN102333023B (en) Communication method and equipment in multilink transparent internet
CN103152265A (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) network
CN103200107A (en) Message transmitting method and message transmitting equipment
CN102970236B (en) A kind of multicast distribution tree switching method and apparatus
CN102932228B (en) The communication means of TRILL network and device, system
CN102857415B (en) Routing bridge and device and method for controlling media access control address study
CN103346962A (en) Unknown single broadcast message forwarding method and routing bridge

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee after: RUIJIE NETWORKS CO., LTD.

Address before: Cangshan District of Fuzhou City, Fujian province 350002 Jinshan Road No. 618 Garden State Industrial Park 19 floor

Patentee before: Fujian Xingwangruijie Network Co., Ltd.