CN103139075A - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
CN103139075A
CN103139075A CN2013100802934A CN201310080293A CN103139075A CN 103139075 A CN103139075 A CN 103139075A CN 2013100802934 A CN2013100802934 A CN 2013100802934A CN 201310080293 A CN201310080293 A CN 201310080293A CN 103139075 A CN103139075 A CN 103139075A
Authority
CN
China
Prior art keywords
address
message
equipment
mac
mac address
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
CN2013100802934A
Other languages
Chinese (zh)
Other versions
CN103139075B (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 Information 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 CN201310080293.4A priority Critical patent/CN103139075B/en
Publication of CN103139075A publication Critical patent/CN103139075A/en
Application granted granted Critical
Publication of CN103139075B publication Critical patent/CN103139075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a message transmission method and a device. The method includes that an edge bridge device receives a first message packaged by generic routing encapsulation (GRE) from a gateway device. The edge bridge device unbinds the first message GRE and a third message is obtained. According to an objective internet protocol (IP) address, a corresponding relation of the IP address and a multi-access computer (MAC) address in a local terminal device maintained in a local routing table is checked. After the MAC address corresponding to the objective IP address of the third message is ensured, the message is sent. The message transmission method and the device can normally transmit messages to be sent among different terminal devices.

Description

A kind of message transmitting method and equipment
Technical field
The present invention relates to communication technical field, relate in particular to message transmitting method and equipment in a kind of extensive double layer network.
Background technology
Adopt STP(Spanning Tree Protocol, Spanning-Tree Protocol in traditional three layer data center frameworks) optimize client to path and the Supporting connectivity redundancy of server.Due to the reasons such as constringency performance of STP, generally the network size of STP can not surpass 100 switches.Because STP need to block redundance unit and link, also reduced the Internet resources bandwidth availability ratio simultaneously.Traditional can not satisfy the demand of data center's scale, bandwidth based on STP alternate device and link scheme, and several seconds convergence time after malfunction occurreds to a few minutes of STP agreement, can not satisfy the reliability requirement of data center.Therefore, needing to have new technology, when satisfying the double layer network scale, also can take full advantage of redundance unit and link, promote link utilization, and the convergence time after malfunction occurred of data center can be reduced to even Millisecond of submicrosecond.
The virtual utilance that can effectively improve server reduces energy resource consumption, reduces client's O﹠M cost, so Intel Virtualization Technology has obtained great development.The virtual raising of being not only server utilization that brings to data center also has the variation of the network architecture.The virtual machine (vm) migration technology can make the computational resource of data center be allocated flexibly, further improves the utilance of resources of virtual machine.But virtual machine (vm) migration requires IP and MAC(Media Access Control before and after virtual machine (vm) migration, medium access control) address is constant, and this just needs the network before and after virtual machine (vm) migration to be in inside, same two layers of territory.Because the scope of customer requirement virtual machine (vm) migration is increasing, or even cross over migration between different geographical, different machine room, so that the scope of data center's double layer network is increasing, this frontier of extensive double layer network (hereafter is large double layer network) special topic has even appearred.
Tunneling technique can realize covering the large double layer network in the data center of a plurality of access switch and core switch.The Typical Representative of tunneling technique is TRILL(TRansparent Interconnection of Lots of Links, the multilink transparent interconnection) and SPB(Shortest Path Bridging, shortest path bridge) technology, both are all by using IS-IS(Intermediate System to Intermediate System, Intermediate System-to-Intermediate System) calculating of Routing Protocol and forward mode are realized the extensive expansion of double layer network.Just in standardisation process, conventional switch not only needs software upgrading to these technology simultaneously, also needs hardware supports at present.The SPB agreement is supported Q-in-Q pattern (being called SPBV) and MAC-in-MAC pattern (being called SPBM), SPBM(Shortest Path Bridging MAC Mode wherein, the shortest path bridge of MAC-in-MAC pattern) be present main recommendation pattern.
In SPBM network and TRILL network, manufacturer's chip is inadequate to the support of actual networking, causes network can not realize normal forwarding capability.
The below will take the SPBM network as example, introduce message repeating flow process wherein.
The SPBM network comprises BEB(Backbone Edge Bridge, backbone network edge bridges) equipment, BCB(Backbone Core Bridge, the backbone network core bridges) equipment and between backbone links.BEB equipment is the edge device of SPBM network, the message from user's network can be carried out the MAC-in-MAC encapsulation, and be forwarded in the SPBM network; Perhaps, will carry out decapsulation from the MAC-in-MAC message of SPBM network, and be forwarded to user network.BCB equipment is SPBM server equipment, when message being carried out the MAC-in-MAC encapsulation, for it stamps the B-MAC(Backbone MAC that operator distributes, backbone network MAC) address and B-VLAN(Backbone-Virtual Local Area Network, the backbone network VLAN); Forward the MAC-in-MAC message according to B-MAC and B-VLAN, and only need to E-Packet and learn the MAC Address in backbone network, do not need to learn MAC Address a large amount of in user network.
The port that connects the SPBM network on BEB equipment is called up going port, and the port that connects user network is called down going port; After being packaged into the MAC-in-MAC message from the message of user network, can forward by the corresponding up going port of BEB equipment; , can be forwarded by the corresponding down going port of BEB equipment according to user's MAC address by after decapsulation from the MAC-in-MAC message of SPBM network.
Figure 1 shows that a kind of networking structure of SPBM network, operation SPB(Shortest Path Bridging in the SPBM network, shortest path bridge) agreement, for not at main frame 1 and the main frame 2 of the same network segment, corresponding forwarding process can comprise following process:
One, for the ARP learning process of main frame 1, this process can comprise the following steps:
Step 1, main frame 1 send ARP(Address Resolution Protocol to BEB1, address resolution protocol) request message, the source MAC of the ethernet header of this ARP request message is the MAC Address of main frame 1, and carry in this ARP request message as the MAC Address (1-1-1) of the main frame 1 of transmitting terminal and IP address (1.1.1.2) and as IP address and the MAC Address of the gateway device of destination end, wherein the MAC Address of gateway device is filled to full 0, and the source MAC in this ARP request message ethernet header is the MAC Address of main frame 1.
After step 2, BEB1 receive the ARP request message, carry out source MAC study, thereby study is to the MAC Address of main frame 1, record the corresponding relation of MAC Address (1-1-1) and receiving port in mac address table, and the ARP request message is carried out the MAC-in-MAC encapsulation, can the ARP request message after the MAC-in-MAC encapsulation be sent to gateway device (under application scenarios shown in Figure 1, gateway device is deployed on BCB1) by broadcast mode.
ARP request message after step 3, gateway device encapsulate MAC-in-MAC carries out decapsulation, carry out source MAC study, thereby the MAC Address of study main frame 1, record the corresponding relation of MAC Address (1-1-1) Yu the neighbor information of main frame 1 in mac address table, this neighbor information comprises the packaging information when outbound port (being the receiving port of ARP request message) that MAC Address (1-1-1) is corresponding and MAC-in-MAC forward; In study ARP request message, MAC Address (1-1-1) and the IP address (1.1.1.2) of transmitting terminal, record the corresponding relation between MAC Address (1-1-1), IP address (1.1.1.2) and receiving port in routing table.
Step 4, gateway device respond described ARP request message, generate an arp reply message, in this arp reply message, transmitting terminal IP address is the IP address (1.1.1.1) of gateway device, the transmitting terminal MAC Address is the MAC Address (3-3-3) of gateway device, destination end IP address is the IP address (1.1.1.2) of main frame 1, and the destination end MAC Address is the MAC Address (1-1-1) of main frame 1.
In addition, the source of the ethernet header of this arp reply message, target MAC (Media Access Control) address are respectively the MAC Address of gateway device and main frame 1; Gateway device carries out the MAC-in-MAC encapsulation to this arp reply message, and the arp reply message after encapsulation is sent to BEB1.
Arp reply message after step 5, BEB1 encapsulate MAC-in-MAC carries out decapsulation, obtain the arp reply message, carry out source MAC study according to this arp reply message, thereby study is to the MAC Address of gateway device, record the corresponding relation of MAC Address (3-3-3) Yu the neighbor information of gateway device in mac address table, this neighbor information comprises the packaging information when outbound port (being the receiving port of arp reply message) that MAC Address (3-3-3) is corresponding and MAC-in-MAC forward.
Step 6, BEB1 utilize target MAC (Media Access Control) address (1-1-1) the inquiry MAC table of arp reply message, obtain corresponding port, thereby by this port, the arp reply message are sent to main frame 1.
Step 7, main frame 1 are after receiving the arp reply message, and study is to MAC Address (3-3-3) corresponding to the IP address (1.1.1.1) of gateway device.
Two, for the ARP learning process of main frame 2, this process is similar to the ARP learning process of above-mentioned main frame 1, can comprise the following steps:
Step 1, main frame 2 send the ARP request message to BEB2, the source MAC of the ethernet header of this ARP request message is the MAC Address of main frame 2, and carry in this ARP request message as the MAC Address (2-2-2) of the main frame 2 of transmitting terminal and IP address (2.2.2.2) and as IP address and the MAC Address of the gateway device of destination end, wherein the MAC Address of gateway device is filled to full 0, and the source MAC in this ARP request message ethernet header is the MAC Address of main frame 2.
After step 2, BEB2 receive the ARP request message, carry out source MAC study, thereby study is to the MAC Address of main frame 2, record the corresponding relation of MAC Address (2-2-2) and receiving port in mac address table, and the ARP request message is carried out the MAC-in-MAC encapsulation, can the ARP request message after the MAC-in-MAC encapsulation be sent to gateway device (under application scenarios shown in Figure 1, gateway device is deployed on BCB1) by broadcast mode.
ARP request message after step 3, gateway device encapsulate MAC-in-MAC carries out decapsulation, carry out source MAC study, thereby the MAC Address of study main frame 2, record the corresponding relation of MAC Address (2-2-2) Yu the neighbor information of main frame 2 in mac address table, this neighbor information comprises the packaging information when outbound port (being the receiving port of ARP request message) that MAC Address (2-2-2) is corresponding and MAC-in-MAC forward; In study ARP request message, MAC Address (2-2-2) and the IP address (2.2.2.2) of transmitting terminal, record the corresponding relation between MAC Address (2-2-2), IP address (2.2.2.2) and receiving port in routing table.
Step 4, gateway device respond described ARP request message, generate an arp reply message, in this arp reply message, transmitting terminal IP address is the IP address (2.2.2.1) of gateway device, the transmitting terminal MAC Address is the MAC Address (3-3-3) of gateway device, destination end IP address is the IP address (2.2.2.2) of main frame 2, and the destination end MAC Address is the MAC Address (2-2-2) of main frame 2.
In addition, the source of the ethernet header of this arp reply message, target MAC (Media Access Control) address are respectively the MAC Address of gateway device and main frame 2; Gateway device carries out the MAC-in-MAC encapsulation to this arp reply message, and the arp reply message after encapsulation is sent to BEB2.
Arp reply message after step 5, BEB2 encapsulate MAC-in-MAC carries out decapsulation, obtain the arp reply message, carry out source MAC study according to this arp reply message, thereby study is to the MAC Address of gateway device, record the corresponding relation of MAC Address (3-3-3) Yu the neighbor information of gateway device in mac address table, this neighbor information comprises the packaging information when outbound port (being the receiving port of arp reply message) that MAC Address (3-3-3) is corresponding and MAC-in-MAC forward.
Step 6, BEB2 utilize target MAC (Media Access Control) address (2-2-2) the inquiry MAC table of arp reply message, obtain corresponding port, thereby by this port, the arp reply message are sent to main frame 2.
Step 7, main frame 2 after receiving the arp reply message, study corresponding to the IP address (2.2.2.1) of gateway device and MAC Address (3-3-3).
Three, send the flow process of message to main frame 2 for main frame 1, this flow process can comprise the following steps:
Step 1, main frame 1 send messages to main frame 2, and the purpose IP address of this message is the IP address (2.2.2.2) of main frame 2, and target MAC (Media Access Control) address is the MAC Address (3-3-3) of gateway device.
After step 2, BEB1 receive that main frame 1 sends to the message of main frame 2, utilize target MAC (Media Access Control) address inquiry mac address table, hit the list item of (3-3-3), the neighbor information of the list item of foundation (3-3-3) is carried out the MAC-in-MAC encapsulation to message, and the message clean culture after by outbound port corresponding to (3-3-3) list item, MAC-in-MAC being encapsulated sends to gateway device.
Message after step 3, gateway device encapsulate MAC-in-MAC carries out decapsulation, find that target MAC (Media Access Control) address is this device mac address (3-3-3), utilize purpose IP address (2.2.2.2) table of query and routing, obtain corresponding MAC Address and be (2-2-2), and the source MAC of message is revised as this device mac address (3-3-3), the target MAC (Media Access Control) address of message is revised as MAC Address (2-2-2).
Step 4, gateway device utilize amended MAC Address (2-2-2) inquiry mac address table, hit the list item of (2-2-2), according to the neighbor information that the list item of (2-2-2) is corresponding, amended message is carried out the MAC-in-MAC encapsulation, and the message after by outbound port corresponding to (2-2-2) list item, MAC-in-MAC being encapsulated sends to BEB2.
Message after step 5, BEB2 encapsulate MAC-in-MAC carries out decapsulation, after obtaining corresponding message, utilize target MAC (Media Access Control) address (2-2-2) the inquiry mac address table of this message, hit the list item of (2-2-2), and by outbound port corresponding to (2-2-2) list item, message is sent to main frame 2.
Send the flow process of message to main frame 1 for main frame 2, similar with above-mentioned flow process.
In above-mentioned steps 3 and step 4, gateway device need to first utilize purpose IP address lookup routing table, recycling target MAC (Media Access Control) address inquiry mac address table; But, current existing part manufacturer chip can't realize first utilizing purpose IP address lookup routing table, the processing procedure of recycling target MAC (Media Access Control) address inquiry mac address table, thus cause above-mentioned flow process to realize, namely can't normally forward the message that main frame 1 sends to main frame 2.
Summary of the invention
The embodiment of the present invention provides a kind of message transmitting method and equipment, handling process at chip can't realize first utilizing purpose IP address lookup routing table, during recycling target MAC (Media Access Control) address inquiry mac address table, can normally forward needs the message that transmits between different terminal equipment.
In order to achieve the above object, the embodiment of the present invention provides a kind of message transmitting method, is applied to comprise in the large double layer network of terminal equipment, edge bridge equipment and gateway device, wherein, described edge bridge equipment directly is connected with described terminal equipment, said method comprising the steps of:
described edge bridge equipment receives the first message from the GRE encapsulation of described gateway device, described the first message is that described gateway device obtains the 3rd message after the second message decapsulation that the large double layer network that receives is encapsulated, and when the target MAC (Media Access Control) address of the 3rd message is the MAC Address of described gateway device, purpose IP address according to the 3rd message, search terminal device IP address and the MAC Address safeguarded in local routing table, and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address, and IP address and the MAC Address of the edge bridge equipment corresponding according to the purpose IP address of the 3rd message that finds, the 3rd message is carried out generating and sending after GRE encapsulates,
Described edge bridge equipment obtains the 3rd message to described the first message solution GRE encapsulation, purpose IP address according to the 3rd message, search the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determine to forward after MAC Address corresponding to the purpose IP address of the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
Described edge bridge equipment is searched the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, also comprises before:
Described edge bridge equipment receives the ARP request message from local terminal, IP address and the MAC Address of carrying described local terminal in described ARP request message;
IP address and the MAC Address of the local terminal that carries in the described ARP request message of described edge bridge learning equipment, and record the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
IP address and the MAC Address of the local terminal that carries in the described ARP request message of described edge bridge learning equipment, and record the IP address of described local terminal and the corresponding relation of MAC Address in local routing table, specifically comprise:
Described edge bridge equipment enables ARP Snooping function connecting on the VLAN of local terminal, and enables the described edge bridge equipment of ARP Snooping functional representation and need to learn IP address and the MAC Address of carrying in ARP request message that in described VLAN, all of the port is received;
After receiving described ARP request message on the port of described edge bridge equipment in described VLAN, the CPU of this equipment will be delivered on described ARP request message, with IP address and the MAC Address of the local terminal learning to carry in described ARP request message, and record the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
The embodiment of the present invention provides a kind of message transmitting method, is applied to comprise that in the large double layer network of terminal equipment, edge bridge equipment and gateway device, wherein, described edge bridge equipment directly is connected with described terminal equipment, said method comprising the steps of:
Described gateway device receives the second message of large double layer network encapsulation, and obtains the 3rd message after the second message decapsulation to the large double layer network encapsulation that receives; When the target MAC (Media Access Control) address of described the 3rd message is the MAC Address of described gateway device, described gateway device is according to the purpose IP address of described the 3rd message, searches the terminal device IP address safeguarded in local routing table and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address;
IP address and the MAC Address of the edge bridge equipment that described gateway device is corresponding according to the purpose IP address of the 3rd message that finds carry out generating the first message after the GRE encapsulation to described the 3rd message;
Described gateway device sends to described edge bridge equipment with the first message of GRE encapsulation; By described edge bridge equipment, described the first message solution GRE encapsulation is obtained the 3rd message, purpose IP address according to the 3rd message, search the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determine to forward after MAC Address corresponding to the purpose IP address of the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
Described gateway device search the terminal device IP address safeguarded in local routing table and MAC Address and the IP address and the corresponding relation between MAC Address of the edge bridge equipment that is connected with terminal equipment before, described method also comprises:
The ARP request message from described terminal equipment of the edge bridge device forwards that described gateway device receiving terminal apparatus is connected, IP address and the MAC Address of carried terminal equipment in this ARP request message;
IP address and the MAC Address of the terminal equipment that carries in the described ARP request message of described gateway device study, and obtain IP address and the MAC Address of the edge bridge equipment that terminal equipment is connected;
Described gateway device records terminal device IP address and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address in local routing table.
Described gateway device obtains IP address and the MAC Address of the connected edge bridge equipment of terminal equipment, specifically comprises:
Described gateway device is safeguarded the IP address of each edge bridge equipment in described large double layer network and the corresponding relation between MAC Address in advance in topology table;
Described gateway device is determined the MAC Address of described edge bridge equipment when the ARP request message of receiving from edge bridge equipment, and the described topology table of MAC Address inquiry by described edge bridge equipment, to obtain the IP address of described edge bridge equipment.
The embodiment of the present invention provides a kind of gateway device, is applied to comprise that in the large double layer network of terminal equipment, edge bridge equipment and described gateway device, wherein, described edge bridge equipment directly is connected with described terminal equipment, and described gateway device specifically comprises:
Receiver module is used for receiving the second message that large double layer network encapsulates;
Decapsulation module obtains the 3rd message after the second message decapsulation that is used for the large double layer network that receives is encapsulated;
Enquiry module, be used for when the target MAC (Media Access Control) address of described the 3rd message is the MAC Address of this gateway equipment, according to the purpose IP address of described the 3rd message, search the terminal device IP address safeguarded in local routing table and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address;
Package module is used for IP address and the MAC Address of the edge bridge equipment corresponding according to the purpose IP address of the 3rd message that finds, and described the 3rd message is carried out generating the first message after the GRE encapsulation;
Sending module is used for the first message of GRE encapsulation is sent to described edge bridge equipment; By described edge bridge equipment, described the first message solution GRE encapsulation is obtained the 3rd message, purpose IP address according to the 3rd message, search the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determine to forward after MAC Address corresponding to the purpose IP address of the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
Also comprise: maintenance module;
Described receiver module also is used for the ARP request message from terminal equipment of the edge bridge device forwards that receiving terminal apparatus is connected, IP address and the MAC Address of carried terminal equipment in the ARP request message;
Described maintenance module is used for learning IP address and the MAC Address of the terminal equipment that described ARP request message carries, and obtains IP address and the MAC Address of the edge bridge equipment that terminal equipment is connected;
And, record terminal device IP address and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address in local routing table.
Described maintenance module is further used for safeguarding in advance the IP address of each edge bridge equipment in described large double layer network and the corresponding relation between MAC Address in topology table; When the ARP request message of receiving from edge bridge equipment, determine the MAC Address of described edge bridge equipment, and the described topology table of MAC Address inquiry by described edge bridge equipment, to obtain the IP address of described edge bridge equipment.
The embodiment of the present invention provides a kind of edge bridge equipment, is applied to comprise that in the large double layer network of terminal equipment, described edge bridge equipment and gateway device, wherein, described edge bridge equipment directly is connected with described terminal equipment, and described edge bridge equipment specifically comprises:
receiver module, be used for receiving the first message from the GRE encapsulation of described gateway device, described the first message is that described gateway device obtains the 3rd message after the second message decapsulation that the large double layer network that receives is encapsulated, and when the target MAC (Media Access Control) address of the 3rd message is the MAC Address of described gateway device, purpose IP address according to the 3rd message, search terminal device IP address and the MAC Address safeguarded in local routing table, and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address, and IP address and the MAC Address of the edge bridge equipment corresponding according to the purpose IP address of the 3rd message that finds, the 3rd message is carried out generating and sending after GRE encapsulates,
Decapsulation module is used for described the first message solution GRE encapsulation is obtained the 3rd message;
Processing module is used for the purpose IP address according to described the 3rd message, searches the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determines to forward after MAC Address corresponding to the purpose IP address of described the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
Also comprise: maintenance module;
Described receiver module also is used for receiving the ARP request message from local terminal, IP address and the MAC Address of carrying described local terminal in described ARP request message;
Described maintenance module is used for learning IP address and the MAC Address of the local terminal that described ARP request message carries, and records the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
Described maintenance module, concrete being used for enables the ARPSnooping function on the VLAN that connects local terminal, and enables this edge bridge of ARP Snooping functional representation equipment and need to learn IP address and the MAC Address of carrying in ARP request message that in described VLAN, all of the port is received;
After receiving described ARP request message on port in described VLAN, the CPU of this equipment will be delivered on described ARP request message, with IP address and the MAC Address of the local terminal learning to carry in described ARP request message, and record the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
compared with prior art, the embodiment of the present invention has the following advantages at least: in the embodiment of the present invention, gateway device is by carrying out GRE(Generic Routing Encapsulation to message, generic route encapsulation) encapsulation, and the message after encapsulating to edge bridge equipment transmission GRE, to avoid first utilizing purpose IP address lookup routing table, the handling process of recycling target MAC (Media Access Control) address inquiry mac address table, thereby the handling process at chip can't realize first utilizing purpose IP address lookup routing table, during recycling target MAC (Media Access Control) address inquiry mac address table, can normally forward and need the message that transmits between different terminal equipment, avoid in SPBM network use SPB agreement or when the TRILL network uses the TRILL agreement, message can't normal transmission situation.
Description of drawings
Fig. 1 is the networking structure schematic diagram of SPBM network in prior art;
Fig. 2 is the application scenarios schematic diagram of the embodiment of the present invention;
Fig. 3 and Fig. 4 are a kind of message transmitting method schematic flow sheets that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of gateway device of providing of the embodiment of the present invention;
Fig. 6 is the structural representation of a kind of edge bridge equipment of providing of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the present invention, the technical scheme in the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
For problems of the prior art, the embodiment of the present invention proposes a kind of message transmitting method, and the method is applied to comprise that in the large double layer network of terminal equipment, edge bridge equipment and gateway device, wherein, edge bridge equipment directly is connected with terminal equipment; Gateway device is by carrying out the GRE encapsulation to message, and the message after encapsulating to edge bridge equipment transmission GRE, to avoid first utilizing purpose IP address lookup routing table, the handling process of recycling target MAC (Media Access Control) address inquiry mac address table, thereby the handling process at chip can't realize first utilizing purpose IP address lookup routing table, during recycling target MAC (Media Access Control) address inquiry mac address table, can normally forward needs the message that transmits between different terminal equipment.
In the embodiment of the present invention, gateway device obtains the 3rd message after the second message decapsulation to the large double layer network encapsulation that receives when receiving the second message of large double layer network encapsulation; When the target MAC (Media Access Control) address of the 3rd message is the MAC Address of this gateway equipment, according to the purpose IP address of the 3rd message, search the terminal device IP address safeguarded in local routing table and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address; IP address and the MAC Address of the edge bridge equipment corresponding according to the purpose IP address of the 3rd message that finds carry out generating the first message after the GRE encapsulation to the 3rd message, and the first message of GRE encapsulation is sent to edge bridge equipment.
Edge bridge equipment receives the first message from the GRE encapsulation of gateway device, the first message solution GRE encapsulation is obtained the 3rd message, purpose IP address according to the 3rd message, search the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determine to forward after MAC Address corresponding to the purpose IP address of the 3rd message.
In the embodiment of the present invention, gateway device safeguards that the process of local routing table comprises: the ARP request message from terminal equipment of the edge bridge device forwards that the gateway device receiving terminal apparatus is connected, IP address and the MAC Address of carried terminal equipment in this ARP request message; IP address and the MAC Address of the terminal equipment that carries in study ARP request message, and obtain IP address and the MAC Address of the edge bridge equipment that terminal equipment is connected; The IP address of the edge bridge equipment that records terminal device IP address and MAC Address and be connected with terminal equipment in local routing table and the corresponding relation between MAC Address.
Further, gateway device obtains IP address and the MAC Address of the connected edge bridge equipment of terminal equipment, and specifically comprise: gateway device is safeguarded the IP address of each edge bridge equipment in large double layer network and the corresponding relation between MAC Address in advance in topology table; When the ARP request message of receiving from edge bridge equipment, determine the MAC Address of edge bridge equipment, and the MAC Address inquiry topology table by edge bridge equipment, to obtain the IP address of this edge bridge equipment.
In the embodiment of the present invention, the process of edge bridge plant maintenance local routing table comprises: edge bridge equipment receives the ARP request message from local terminal, IP address and the MAC Address of carrying local terminal in this ARP request message; IP address and the MAC Address of the local terminal that carries in study ARP request message, and record the IP address of local terminal and the corresponding relation of MAC Address in local routing table.
Further, IP address and the MAC Address of edge bridge learning equipment local terminal, and the IP address of recording local terminal in local routing table specifically comprises with the corresponding relation of MAC Address: edge bridge equipment enables ARP Snooping function being connected on the VLAN of local terminal, and enables ARP Snooping functional representation edge bridge equipment and need to learn IP address and the MAC Address of carrying in ARP request message that in this VLAN, all of the port is received; After receiving the ARP request message on port in this VLAN, the CPU of this equipment will be delivered on described ARP request message, with IP address and the MAC Address of the local terminal that carries in study ARP request message, and record the IP address of local terminal and the corresponding relation of MAC Address in local routing table.
In the embodiment of the present invention, large double layer network is the SPBM network, and edge bridge equipment is BEB equipment, and large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, large double layer network is the TRILL network, and edge bridge equipment is RB equipment, and large double layer network is encapsulated as the TRILL encapsulation.
The technical scheme that provides in order more clearly to set forth the embodiment of the present invention, take based on the SPBM network of SPB agreement as example, the application scenarios of this SPBM network can be as shown in Figure 2; The message transmitting method that the embodiment of the present invention proposes can be applied to comprise in the SPBM network of source terminal equipment, source BEB equipment, purpose terminal equipment, purpose BEB equipment and gateway device.
In main frame 1 sent the process of message to main frame 2, source terminal equipment was main frame 1, and source BEB equipment is BEB1, and the purpose terminal equipment is main frame 2, and purpose BEB equipment is BEB2, and under application scenarios shown in Figure 2, gateway device is deployed on BCB1.In main frame 2 sent the process of message to main frame 1, source terminal equipment was main frame 2, and source BEB equipment is BEB2, and the purpose terminal equipment is main frame 1, and purpose BEB equipment is BEB1, and under application scenarios shown in Figure 2, gateway device is deployed on BCB1.
One, under above-mentioned application scenarios, the ARP learning process for main frame 1 comprises the following steps:
Step 1, main frame 1 send the ARP request message to BEB1, carry in this ARP request message as the MAC Address (1-1-1) of the main frame 1 of transmitting terminal and IP address (1.1.1.2) and as IP address and the MAC Address of the gateway device of destination end, wherein the MAC Address of gateway device is filled to full 0, and the source MAC in this ARP request message ethernet header is the MAC Address of main frame 1.
Step 2, BEB1 carry out source MAC study after receiving the ARP request message, thereby study is recorded the corresponding relation of MAC Address (1-1-1) and receiving port to the MAC Address of main frame 1 in mac address table; And MAC Address (1-1-1) and the IP address (1.1.1.2) of the transmitting terminal that carries in study ARP request message, record the corresponding relation between MAC Address (1-1-1), IP address (1.1.1.2) and receiving port in routing table.
Concrete, BEB1 is after the ARP request message (carrying IP address and the MAC Address of main frame 1) that receives from main frame 1, and this BEB1 learns IP address and the MAC Address of main frame 1, and records the IP address of main frame 1 and the corresponding relation of MAC Address in routing table.
In the embodiment of the present invention, can configure each BEB equipment enables ARP Snooping(and surveys connecting on the VLAN of main frame), enable ARP Snooping functional representation BEB equipment and need to learn IP address and the MAC Address of carrying in ARP message that in this VLAN, all of the port is received; Therefore, connect the VLAN of main frame on BEB equipment after enabling ARP Snooping, the ARP request message that receives on all of the port in this VLAN all can be redirected to CPU(Central Processing Unit, CPU), by CPU, the ARP request message that send on being redirected is analyzed, to obtain the information such as transmitting terminal IP address, transmitting terminal MAC Address, VLAN and inbound port of carrying in the ARP request message.
Based on this, BEB1 enables ARP Snooping function on the VLAN that connects main frame 1 after, if receive the ARP request message on the port of BEB1 in this VLAN, BEB1 need to learn IP address and the MAC Address of the main frame 1 that carries in this ARP request message, and record the IP address of this main frame 1 and the corresponding relation of MAC Address in the routing table of this equipment, repeat no more for the out of Memory in routing table.
Step 3, BEB1 carry out the MAC-in-MAC encapsulation to the ARP request message, can the ARP request message after the MAC-in-MAC encapsulation be sent to gateway device (gateway device is deployed on BCB1) by broadcast mode.
ARP request message after step 4, gateway device encapsulate MAC-in-MAC carries out decapsulation, to obtain corresponding ARP request message; Carry out source MAC study according to the ARP request message, thereby study is to the MAC Address (1-1-1) of main frame 1, record the corresponding relation of MAC Address (1-1-1) and neighbor information in mac address table, this neighbor information comprises the packaging information when port (being the receiving port of ARP request message) that MAC Address (1-1-1) is corresponding and MAC-in-MAC forward; The corresponding relation between MAC Address (1-1-1), IP address (1.1.1.2) and the receiving port of transmitting terminal is recorded in MAC Address (1-1-1) and the IP address (1.1.1.2) of the transmitting terminal that carries in study ARP request message in routing table.
in the embodiment of the present invention, gateway device is after the ARP request message (carrying MAC Address (1-1-1) and the IP address (1.1.1.2) of main frame 1) that receives from BEB1, this gateway device need to be learnt MAC Address (1-1-1) and the IP address (1.1.1.2) of the main frame 1 that carries in the ARP request message, and further obtain IP address (private network IP address 192.168.1.4) and the MAC Address (5-5-5) of BEB1, thereby record MAC Address (1-1-1) and the IP address (1.1.1.2) of main frame 1 in routing table, and the IP address (192.168.1.4) of BEB1 and the corresponding relation between MAC Address (5-5-5).
Further, can obtain IP address and the MAC Address of BEB1 in order to make gateway device, gateway device can be in topology table the IP address of each BEB equipment and the corresponding relation between MAC Address in maintaining network in advance; When the ARP request message of receiving from BEB1, gateway device is directly determined the MAC Address of BEB1, and the MAC Address inquiry topology table by BEB1, obtains the IP address of BEB1.
Concrete, in the SPBM network, each equipment need to keep a VLAN(for preventing two layers of forwarding loop, and two layers of forwarding capability on this reservation VLAN need to be closed), this VLAN is used for learning MAC Address and the IP address of miscellaneous equipment reservation VLAN in the SPBM network.Based on this VLAN, each equipment in the SPBM network is by the mode of expansion ISIS agreement, notifies all devices in the SPBM network with keeping the MAC Address of VLAN and hop-by-hop ground, IP address on this equipment; Therefore, gateway device can be safeguarded the IP address of each BEB equipment in the SPBM network and the corresponding relation between MAC Address in advance in topology table.
Step 5, gateway device respond described ARP request message, generate an arp reply message, and this arp reply message is carried out the MAC-in-MAC encapsulation, and the arp reply message after encapsulation is sent to BEB1; In this arp reply message, transmitting terminal IP address is the IP address (1.1.1.1) of gateway device, destination end IP address is the IP address (1.1.1.2) of main frame 1, the transmitting terminal MAC Address is the MAC Address (3-3-3) of gateway device, the destination end MAC Address is the MAC Address (1-1-1) of main frame 1, and the source of the ethernet header of this arp reply message, target MAC (Media Access Control) address are respectively the MAC Address of gateway device and main frame 1.
Arp reply message after step 6, BEB1 encapsulate MAC-in-MAC carries out decapsulation, obtain the arp reply message, carry out source MAC study according to this arp reply message, thereby study is to the MAC Address of gateway device, record the corresponding relation of MAC Address (3-3-3) Yu the neighbor information of gateway device in mac address table, this neighbor information comprises outbound port (being the receiving port of arp reply message) and the MAC-in-MAC packaging information that gateway device MAC Address (3-3-3) is corresponding.
Step 7, BEB1 inquire about mac address table according to the target MAC (Media Access Control) address (1-1-1) of this arp reply message, obtain corresponding outbound port, thereby by this outbound port, the arp reply message are sent to main frame 1.
Step 8, main frame 1 are after receiving the arp reply message, and study is to the IP address (1.1.1.1) of gateway device and the corresponding relation between MAC Address (3-3-3).
Two, under above-mentioned application scenarios, the ARP learning process for main frame 2 comprises the following steps:
Step 1, main frame 2 send the ARP request message to BEB2, carry in this ARP request message as the MAC Address (2-2-2) of the main frame 2 of transmitting terminal and IP address (2.2.2.2) and as IP address and the MAC Address of the gateway device of destination end, wherein the MAC Address of gateway device is filled to full 0, and the source MAC in this ARP request message ethernet header is the MAC Address of main frame 2.
Step 2, BEB2 carry out source MAC study after receiving the ARP request message, thereby study is recorded the corresponding relation of MAC Address (2-2-2) and receiving port to the MAC Address of main frame 2 in mac address table; And MAC Address (2-2-2) and the IP address (2.2.2.2) of the transmitting terminal that carries in study ARP request message, record the corresponding relation between MAC Address (2-2-2), IP address (2.2.2.2) and receiving port in routing table.
Concrete, BEB2 is after the ARP request message (carrying IP address and the MAC Address of main frame 2) that receives from main frame 2, this BEB2 need to learn IP address and the MAC Address of main frame 2, and records the IP address of main frame 2 and the corresponding relation of MAC Address in routing table.
In the embodiment of the present invention, can configure each BEB equipment and enable ARPSnooping connecting on the VLAN of main frame, enable ARP Snooping functional representation BEB equipment and need to learn IP address and the MAC Address of carrying in ARP request message that in this VLAN, all of the port is received; Therefore, connect the VLAN of main frame on BEB equipment after enabling ARP Snooping, the ARP request message that receives on all of the port in this VLAN all can be redirected to CPU, by CPU, the ARP request message that send on being redirected is analyzed the information such as transmitting terminal IP address, transmitting terminal MAC Address, VLAN and inbound port of carrying to obtain the ARP request message.
Based on this, BEB2 enables ARP Snooping function on the VLAN that connects main frame 2 after, if receive the ARP request message on the port of BEB2 in this VLAN, BEB2 need to learn IP address and the MAC Address of the main frame 2 that carries in this ARP request message, and record the IP address of this main frame 2 and the corresponding relation of MAC Address in the routing table of this equipment, repeat no more for the out of Memory in routing table.
Step 3, BEB2 carry out the MAC-in-MAC encapsulation to the ARP request message, can the ARP request message after the MAC-in-MAC encapsulation be sent to gateway device (gateway device is deployed on BCB1) by broadcast mode.
ARP request message after step 4, gateway device encapsulate MAC-in-MAC carries out decapsulation, to obtain corresponding ARP request message; Carry out source MAC study according to the ARP request message, thereby study is to the MAC Address (2-2-2) of main frame 2, record the corresponding relation of MAC Address (2-2-2) and neighbor information in mac address table, this neighbor information comprises the packaging information when port (being the receiving port of ARP request message) that MAC Address (2-2-2) is corresponding and MAC-in-MAC forward; The corresponding relation between MAC Address (2-2-2), IP address (2.2.2.2) and the receiving port of transmitting terminal is recorded in MAC Address (2-2-2) and the IP address (2.2.2.2) of the transmitting terminal that carries in study ARP request message in routing table.
in the embodiment of the present invention, gateway device is after the ARP request message (carrying MAC Address (2-2-2) and the IP address (2.2.2.2) of main frame 2) that receives from BEB2, this gateway device need to be learnt MAC Address (2-2-2) and the IP address (2.2.2.2) of the main frame 2 that carries in the ARP request message, and further obtain IP address (private network IP address 192.168.1.5) and the MAC Address (6-6-6) of BEB2, thereby record MAC Address (2-2-2) and the IP address (2.2.2.2) of main frame 2 in routing table, and the IP address (192.168.1.5) of BEB2 and the corresponding relation between MAC Address (6-6-6).
Further, can obtain IP address and the MAC Address of BEB2 in order to make gateway device, gateway device can be in topology table the IP address of each BEB equipment and the corresponding relation between MAC Address in maintaining network in advance; When the ARP request message of receiving from BEB2, gateway device is directly determined the MAC Address of BEB2, and the MAC Address inquiry topology table by BEB2, obtains the IP address of BEB2.
Concrete, in the SPBM network, each equipment need to keep a VLAN(for preventing two layers of forwarding loop, and two layers of forwarding capability on this reservation VLAN need to be closed), this VLAN is used for learning MAC Address and the IP address of miscellaneous equipment reservation VLAN in the SPBM network.Based on this VLAN, each equipment in the SPBM network is by the mode of expansion ISIS agreement, notifies all devices in the SPBM network with keeping the MAC Address of VLAN and hop-by-hop ground, IP address on this equipment; Therefore, gateway device can be safeguarded the IP address of each BEB equipment in the SPBM network and the corresponding relation between MAC Address in advance in topology table.
Step 5, gateway device respond described ARP request message, generate an arp reply message, and this arp reply message is carried out the MAC-in-MAC encapsulation, and the arp reply message after encapsulation is sent to BEB2; In this arp reply message, transmitting terminal IP address is the IP address (2.2.2.1) of gateway device, destination end IP address is the IP address (2.2.2.2) of main frame 2, the transmitting terminal MAC Address is the MAC Address (3-3-3) of gateway device, the destination end MAC Address is the MAC Address (2-2-2) of main frame 1, and the source of the ethernet header of this arp reply message, target MAC (Media Access Control) address are respectively the MAC Address of gateway device and main frame 2.
Arp reply message after step 6, BEB2 encapsulate MAC-in-MAC carries out decapsulation, obtain the arp reply message, carry out source MAC study according to this arp reply message, thereby study is to the MAC Address of gateway device, record the corresponding relation of MAC Address (3-3-3) Yu the neighbor information of gateway device in mac address table, this neighbor information comprises outbound port (being the receiving port of arp reply message) and the MAC-in-MAC packaging information that gateway device MAC Address (3-3-3) is corresponding.
Step 7, BEB2 inquire about mac address table according to the target MAC (Media Access Control) address (2-2-2) of this arp reply message, obtain corresponding outbound port, thereby by this outbound port, the arp reply message are sent to main frame 2.
Step 8, main frame 2 are after receiving the arp reply message, and study is to the IP address (2.2.2.1) of gateway device and the corresponding relation between MAC Address (3-3-3).
Three, under above-mentioned application scenarios, based on the ARP learning process of main frame 1 and the ARP learning process of main frame 2, when main frame 1 sent message to main frame 2, as shown in Figure 3, this message transmitting method comprised the following steps:
Step 301, main frame 1 sends messages to main frame 2, and the purpose IP address of this message is the IP address (2.2.2.2) of main frame 2, and target MAC (Media Access Control) address is the MAC Address (3-3-3) of gateway device; The source IP address of this message is the IP address (1.1.1.2) of main frame 1, and source MAC is the MAC Address (1-1-1) of main frame 1.
Step 302, BEB1 Receiving Host 1 sends to the above-mentioned message of main frame 2, and (purpose IP address is the IP address (2.2.2.2) of main frame 2, target MAC (Media Access Control) address is the MAC Address (3-3-3) of gateway device), message is carried out the MAC-in-MAC encapsulation, and the message after the MAC-in-MAC encapsulation is sent to gateway device.
Concrete, BEB1 need to utilize target MAC (Media Access Control) address (3-3-3) the inquiry mac address table of message, hits the list item of (3-3-3); After the neighbor information of the list item of foundation (3-3-3) was carried out the MAC-in-MAC encapsulation to message, the message clean culture after needing to utilize outbound port corresponding to (3-3-3) list item with the MAC-in-MAC encapsulation sent to gateway device.
Step 303, message after gateway device encapsulates MAC-in-MAC carries out decapsulation, and (concrete decapsulation mode repeats no more, send to the message of main frame 2 to obtain main frame 1), and when finding that target MAC (Media Access Control) address is this device mac address (3-3-3), utilize purpose IP address (2.2.2.2) table of query and routing of message, obtain IP address (192.168.1.5) and the MAC Address (6-6-6) of BEB2 corresponding to purpose IP address (2.2.2.2).
Concrete, in the routing table that gateway device is safeguarded, record MAC Address (2-2-2) and the IP address (192.168.1.5) of IP address (2.2.2.2) and BEB2 and the corresponding relation between MAC Address (6-6-6) of main frame 2; Therefore, gateway device can obtain IP address (192.168.1.5) and the MAC Address (6-6-6) of BEB2 when utilizing purpose IP address (2.2.2.2) table of query and routing.
Step 304, gateway device utilize the IP address (192.168.1.5) of BEB2 and MAC Address (6-6-6) to carry out the GRE encapsulation to message, and be concrete, first obtains the GRE message for this message increases GRE head (GRE header); According to IP address (192.168.1.5) and the MAC Address (6-6-6) of BEB2, increase heading (Delivery header) and the ethernet header of host-host protocol for this GRE message again, obtain the message after GRE encapsulates; Wherein, in the gre tunneling head of the message after GRE encapsulation, purpose IP address is the IP address (192.168.1.5) of BEB2, and target MAC (Media Access Control) address is the MAC Address (6-6-6) of BEB2.
Step 305, the target MAC (Media Access Control) address of the message after the GRE encapsulation is the MAC Address (6-6-6) of BEB2, the message after gateway device encapsulates GRE according to this target MAC (Media Access Control) address sends to BEB2.
Step 306, message after BEB2 encapsulates GRE carries out the GRE decapsulation, and (concrete decapsulation mode does not repeat them here, send to the message of main frame 2 to obtain main frame 1), utilize purpose IP address (2.2.2.2) table of query and routing of message, obtain the MAC Address (2-2-2) of main frame 2.
Concrete, in the routing table that BEB2 safeguards, record the IP address (2.2.2.2) of main frame 2 and the corresponding relation between MAC Address (2-2-2); Therefore, BEB2 can obtain the MAC Address (2-2-2) of main frame 2 when utilizing purpose IP address (2.2.2.2) table of query and routing.
Step 307, BEB2 is revised as the target MAC (Media Access Control) address of message the MAC Address (2-2-2) of main frame 2, the source MAC of message is revised as the MAC Address (6-6-6) of this equipment.
When if situation one gateway device carries out the GRE encapsulation to message, peel target MAC (Media Access Control) address and the source MAC of message off, BEB2 directly in message the adding purpose MAC Address be the MAC Address (2-2-2) of main frame 2, source MAC is the MAC Address (6-6-6) of this equipment.
When if mode two gateway devices carry out the GRE encapsulation to message, do not peel target MAC (Media Access Control) address and the source MAC of message off, BEB2 is revised as the target MAC (Media Access Control) address of message the MAC Address (2-2-2) of main frame 2, the source MAC of message is revised as the MAC Address (6-6-6) of this equipment.
Step 308, BEB2 sends to main frame 2 with amended message.
Four, under above-mentioned application scenarios, based on the ARP learning process of main frame 1 and the ARP learning process of main frame 2, when main frame 2 sent message to main frame 1, as shown in Figure 4, this message transmitting method comprised the following steps:
Step 401, main frame 2 sends message to main frame 1, and the purpose IP address of this message is the IP address (1.1.1.2) of main frame 1, and target MAC (Media Access Control) address is the MAC Address (3-3-3) of gateway device; The source IP address of this message is the IP address (2.2.2.2) of main frame 2, and source MAC is the MAC Address (2-2-2) of main frame 2.
Step 402, BEB2 Receiving Host 2 sends to the above-mentioned message of main frame 1, and (purpose IP address is the IP address (1.1.1.2) of main frame 1, target MAC (Media Access Control) address is the MAC Address (3-3-3) of gateway device), message is carried out the MAC-in-MAC encapsulation, and the message after the MAC-in-MAC encapsulation is sent to gateway device.
Concrete, BEB2 need to utilize target MAC (Media Access Control) address (3-3-3) the inquiry mac address table of message, hits the list item of (3-3-3); After the neighbor information of the list item of foundation (3-3-3) was carried out the MAC-in-MAC encapsulation to message, the message clean culture after needing to utilize outbound port corresponding to (3-3-3) list item with the MAC-in-MAC encapsulation sent to gateway device.
Step 403, message after gateway device encapsulates MAC-in-MAC carries out decapsulation, and (concrete decapsulation mode repeats no more, send to the message of main frame 1 to obtain main frame 2), and when finding that target MAC (Media Access Control) address is this device mac address (3-3-3), utilize purpose IP address (1.1.1.2) table of query and routing of message, obtain IP address (192.168.1.4) and the MAC Address (5-5-5) of BEB1 corresponding to purpose IP address (1.1.1.2).
Concrete, in the routing table that gateway device is safeguarded, record MAC Address (1-1-1) and the IP address (192.168.1.4) of IP address (1.1.1.2) and BEB1 and the corresponding relation between MAC Address (5-5-5) of main frame 1; Therefore, gateway device can obtain IP address (192.168.1.4) and the MAC Address (5-5-5) of BEB1 when utilizing purpose IP address (1.1.1.2) table of query and routing.
Step 404, gateway device utilize the IP address (192.168.1.4) of BEB1 and MAC Address (5-5-5) to carry out the GRE encapsulation to message, and be concrete, first obtains the GRE message for this message increases GRE head (GRE header); According to IP address (192.168.1.4) and the MAC Address (5-5-5) of BEB1, increase heading (Delivery header) and the ethernet header of host-host protocol for this GRE message again, obtain the message after GRE encapsulates; Wherein, in the gre tunneling head of the message after GRE encapsulation, purpose IP address is the IP address (192.168.1.4) of BEB1, and target MAC (Media Access Control) address is the MAC Address (5-5-5) of BEB1.
Step 405, the target MAC (Media Access Control) address of the message after the GRE encapsulation is the MAC Address (5-5-5) of BEB1, the message after gateway device encapsulates according to this target MAC (Media Access Control) address GRE sends to BEB1.
Step 406, message after BEB1 encapsulates GRE carries out the GRE decapsulation, and (concrete decapsulation mode does not repeat them here, send to the message of main frame 1 to obtain main frame 2), utilize purpose IP address (1.1.1.2) table of query and routing of message, obtain the MAC Address (1-1-1) of main frame 1.
Concrete, in the routing table that BEB1 safeguards, record the IP address (1.1.1.2) of main frame 1 and the corresponding relation between MAC Address (1-1-1); Therefore, BEB1 can obtain the MAC Address (1-1-1) of main frame 1 when utilizing purpose IP address (1.1.1.2) table of query and routing.
Step 407, BEB1 is revised as the target MAC (Media Access Control) address of message the MAC Address (1-1-1) of main frame 1, the source MAC of message is revised as the MAC Address (5-5-5) of this equipment.
When if situation one gateway device carries out the GRE encapsulation to message, peel target MAC (Media Access Control) address and the source MAC of message off, BEB1 directly in message the adding purpose MAC Address be the MAC Address (1-1-1) of main frame 1, source MAC is the MAC Address (5-5-5) of this equipment.
When if mode two gateway devices carry out the GRE encapsulation to message, do not peel target MAC (Media Access Control) address and the source MAC of message off, BEB1 is revised as the target MAC (Media Access Control) address of message the MAC Address (1-1-1) of main frame 1, the source MAC of message is revised as the MAC Address (5-5-5) of this equipment.
Step 408, BEB1 sends to main frame 1 with amended message.
Need to prove, above-mentioned is message transmissions flow process based on the SPBM network of SPB agreement, for the TRILL network based on the TRILL agreement, BEB equipment is corresponding entrance routing bridge (Ingress RB, Ingress Routing Bridge) equipment (being equivalent to source BEB equipment) and outlet RB equipment (Egress RB) (being equivalent to purpose BEB equipment), BCB equipment are corresponding transmission RB(Transit RB) equipment; In the TRILL network, compare with above-mentioned message transmissions flow process, just many ECMP(Equal Cost Multipath Routing, equal cost multipath) processing, be gateway device when sending message to entrance RB equipment and outlet RB equipment, need to calculate cryptographic Hash according to the field of message, thereby select an optimal path to send message, other flow processs and above-mentioned message transmissions flow process are similar, do not repeat them here.
Certainly; the method that the embodiment of the present invention provides is not limited to based on the SPBM network of SPB agreement with based on the TRILL network of TRILL agreement; realize the network of message repeating for other according to above-mentioned flow process, all within protection range of the present invention, do not repeat them here for the processing of other network.
In sum, in the embodiment of the present invention, gateway device is by carrying out the GRE encapsulation to message, and send the rear message of GRE encapsulation to BEB equipment, to avoid first utilizing purpose IP address lookup routing table, the recycling target MAC (Media Access Control) address is inquired about the handling process of mac address table, thereby can't realize first utilizing purpose IP address lookup routing table in the handling process of chip, during recycling target MAC (Media Access Control) address inquiry mac address table, can normally forward needs the message that transmits between different terminal equipment; Further, can avoid when the SPBM network uses the SPB agreement or use the TRILL agreement in the TRILL network, the situation that message can't normal transmission makes it still can be at the corresponding network repeating.
Based on the inventive concept same with said method, a kind of gateway device also is provided in the embodiment of the present invention, be applied to comprise in the large double layer network of terminal equipment, edge bridge equipment and described gateway device, described edge bridge equipment directly is connected with described terminal equipment, as shown in Figure 5, described gateway device comprises:
Receiver module 11 is used for receiving the second message that large double layer network encapsulates;
Decapsulation module 12 obtains the 3rd message after the second message decapsulation that is used for the large double layer network that receives is encapsulated;
Enquiry module 13, be used for when the target MAC (Media Access Control) address of described the 3rd message is the MAC Address of this gateway equipment, according to the purpose IP address of described the 3rd message, search the terminal device IP address safeguarded in local routing table and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address;
Package module 14 is used for IP address and the MAC Address of the edge bridge equipment corresponding according to the purpose IP address of the 3rd message that finds, and described the 3rd message is carried out generating the first message after the GRE encapsulation;
Sending module 15 is used for the first message of GRE encapsulation is sent to described edge bridge equipment; By described edge bridge equipment, described the first message solution GRE encapsulation is obtained the 3rd message, purpose IP address according to the 3rd message, search the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determine to forward after MAC Address corresponding to the purpose IP address of the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
Described receiver module 11 also is used for the ARP request message from terminal equipment of the edge bridge device forwards that receiving terminal apparatus is connected, IP address and the MAC Address of carried terminal equipment in the ARP request message; This gateway device also comprises: maintenance module 16; Be used for learning IP address and the MAC Address of the terminal equipment that described ARP request message carries, and obtain IP address and the MAC Address of the edge bridge equipment that terminal equipment is connected; And, record terminal device IP address and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address in local routing table.
Described maintenance module 16 is further used for safeguarding in advance the IP address of each edge bridge equipment in described large double layer network and the corresponding relation between MAC Address in topology table; When the ARP request message of receiving from edge bridge equipment, determine the MAC Address of described edge bridge equipment, and the described topology table of MAC Address inquiry by described edge bridge equipment, to obtain the IP address of described edge bridge equipment.
Wherein, the modules 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.
Based on the inventive concept same with said method, a kind of edge bridge equipment also is provided in the embodiment of the present invention, be applied to comprise in the large double layer network of terminal equipment, described edge bridge equipment and gateway device, wherein, described edge bridge equipment directly is connected with described terminal equipment, as shown in Figure 6, described edge bridge equipment specifically comprises:
receiver module 21, be used for receiving the first message from the GRE encapsulation of described gateway device, described the first message is that described gateway device obtains the 3rd message after the second message decapsulation that the large double layer network that receives is encapsulated, and when the target MAC (Media Access Control) address of the 3rd message is the MAC Address of described gateway device, purpose IP address according to the 3rd message, search terminal device IP address and the MAC Address safeguarded in local routing table, and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address, and IP address and the MAC Address of the edge bridge equipment corresponding according to the purpose IP address of the 3rd message that finds, the 3rd message is carried out generating and sending after GRE encapsulates,
Decapsulation module 22 is used for described the first message solution GRE encapsulation is obtained the 3rd message;
Processing module 23 is used for the purpose IP address according to described the 3rd message, searches the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determines to forward after MAC Address corresponding to the purpose IP address of described the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
Described receiver module 21 also is used for receiving the ARP request message from local terminal, IP address and the MAC Address of carrying described local terminal in described ARP request message; This edge bridge equipment also comprises maintenance module 24, is used for learning IP address and the MAC Address of the local terminal that described ARP request message carries, and records the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
Described maintenance module 24, concrete being used for enables ARP Snooping function on the VLAN that connects local terminal, and enables this edge bridge of ARP Snooping functional representation equipment and need to learn IP address and the MAC Address of carrying in ARP request message that in described VLAN, all of the port is received;
After receiving described ARP request message on port in described VLAN, the CPU of this equipment will be delivered on described ARP request message, with IP address and the MAC Address of the local terminal learning to carry in described ARP request message, and record the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
Wherein, the modules 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 above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in 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 the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
Above disclosed be only several specific embodiment of the present invention, still, the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (12)

1. message transmitting method is applied to comprise that in the large double layer network of terminal equipment, edge bridge equipment and gateway device, wherein, described edge bridge equipment directly is connected with described terminal equipment, it is characterized in that, said method comprising the steps of:
described edge bridge equipment receives the first message from the GRE encapsulation of described gateway device, described the first message is that described gateway device obtains the 3rd message after the second message decapsulation that the large double layer network that receives is encapsulated, and when the target MAC (Media Access Control) address of the 3rd message is the MAC Address of described gateway device, purpose IP address according to the 3rd message, search terminal device IP address and the MAC Address safeguarded in local routing table, and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address, and IP address and the MAC Address of the edge bridge equipment corresponding according to the purpose IP address of the 3rd message that finds, the 3rd message is carried out generating and sending after GRE encapsulates,
Described edge bridge equipment obtains the 3rd message to described the first message solution GRE encapsulation, purpose IP address according to the 3rd message, search the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determine to forward after MAC Address corresponding to the purpose IP address of the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
2. the method for claim 1, is characterized in that, described edge bridge equipment is searched the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, also comprises before:
Described edge bridge equipment receives the ARP request message from local terminal, IP address and the MAC Address of carrying described local terminal in described ARP request message;
IP address and the MAC Address of the local terminal that carries in the described ARP request message of described edge bridge learning equipment, and record the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
3. method as claimed in claim 2, it is characterized in that, IP address and the MAC Address of the local terminal that carries in the described ARP request message of described edge bridge learning equipment, and record the IP address of described local terminal and the corresponding relation of MAC Address in local routing table, specifically comprise:
Described edge bridge equipment enables ARP Snooping function connecting on the VLAN of local terminal, and enables the described edge bridge equipment of ARP Snooping functional representation and need to learn IP address and the MAC Address of carrying in ARP request message that in described VLAN, all of the port is received;
After receiving described ARP request message on the port of described edge bridge equipment in described VLAN, the CPU of this equipment will be delivered on described ARP request message, with IP address and the MAC Address of the local terminal learning to carry in described ARP request message, and record the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
4. message transmitting method is applied to comprise that in the large double layer network of terminal equipment, edge bridge equipment and gateway device, wherein, described edge bridge equipment directly is connected with described terminal equipment, it is characterized in that, said method comprising the steps of:
Described gateway device receives the second message of large double layer network encapsulation, and obtains the 3rd message after the second message decapsulation to the large double layer network encapsulation that receives; When the target MAC (Media Access Control) address of described the 3rd message is the MAC Address of described gateway device, described gateway device is according to the purpose IP address of described the 3rd message, searches the terminal device IP address safeguarded in local routing table and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address;
IP address and the MAC Address of the edge bridge equipment that described gateway device is corresponding according to the purpose IP address of the 3rd message that finds carry out generating the first message after the GRE encapsulation to described the 3rd message;
Described gateway device sends to described edge bridge equipment with the first message of GRE encapsulation; By described edge bridge equipment, described the first message solution GRE encapsulation is obtained the 3rd message, purpose IP address according to the 3rd message, search the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determine to forward after MAC Address corresponding to the purpose IP address of the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
5. method as claimed in claim 4, it is characterized in that, described gateway device search the terminal device IP address safeguarded in local routing table and MAC Address and the IP address and the corresponding relation between MAC Address of the edge bridge equipment that is connected with terminal equipment before, described method also comprises:
The ARP request message from described terminal equipment of the edge bridge device forwards that described gateway device receiving terminal apparatus is connected, IP address and the MAC Address of carried terminal equipment in this ARP request message;
IP address and the MAC Address of the terminal equipment that carries in the described ARP request message of described gateway device study, and obtain IP address and the MAC Address of the edge bridge equipment that terminal equipment is connected;
Described gateway device records terminal device IP address and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address in local routing table.
6. method as claimed in claim 5, is characterized in that, described gateway device obtains IP address and the MAC Address of the connected edge bridge equipment of terminal equipment, specifically comprises:
Described gateway device is safeguarded the IP address of each edge bridge equipment in described large double layer network and the corresponding relation between MAC Address in advance in topology table;
Described gateway device is determined the MAC Address of described edge bridge equipment when the ARP request message of receiving from edge bridge equipment, and the described topology table of MAC Address inquiry by described edge bridge equipment, to obtain the IP address of described edge bridge equipment.
7. a gateway device, be applied to comprise that in the large double layer network of terminal equipment, edge bridge equipment and described gateway device, wherein, described edge bridge equipment directly is connected with described terminal equipment, it is characterized in that, described gateway device specifically comprises:
Receiver module is used for receiving the second message that large double layer network encapsulates;
Decapsulation module obtains the 3rd message after the second message decapsulation that is used for the large double layer network that receives is encapsulated;
Enquiry module, be used for when the target MAC (Media Access Control) address of described the 3rd message is the MAC Address of this gateway equipment, according to the purpose IP address of described the 3rd message, search the terminal device IP address safeguarded in local routing table and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address;
Package module is used for IP address and the MAC Address of the edge bridge equipment corresponding according to the purpose IP address of the 3rd message that finds, and described the 3rd message is carried out generating the first message after the GRE encapsulation;
Sending module is used for the first message of GRE encapsulation is sent to described edge bridge equipment; By described edge bridge equipment, described the first message solution GRE encapsulation is obtained the 3rd message, purpose IP address according to the 3rd message, search the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determine to forward after MAC Address corresponding to the purpose IP address of the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
8. equipment as claimed in claim 7, is characterized in that, also comprises: maintenance module;
Described receiver module also is used for the ARP request message from terminal equipment of the edge bridge device forwards that receiving terminal apparatus is connected, IP address and the MAC Address of carried terminal equipment in the ARP request message;
Described maintenance module is used for learning IP address and the MAC Address of the terminal equipment that described ARP request message carries, and obtains IP address and the MAC Address of the edge bridge equipment that terminal equipment is connected;
And, record terminal device IP address and MAC Address and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address in local routing table.
9. equipment as claimed in claim 8, is characterized in that,
Described maintenance module is further used for safeguarding in advance the IP address of each edge bridge equipment in described large double layer network and the corresponding relation between MAC Address in topology table; When the ARP request message of receiving from edge bridge equipment, determine the MAC Address of described edge bridge equipment, and the described topology table of MAC Address inquiry by described edge bridge equipment, to obtain the IP address of described edge bridge equipment.
10. an edge bridge equipment, be applied to comprise that in the large double layer network of terminal equipment, described edge bridge equipment and gateway device, wherein, described edge bridge equipment directly is connected with described terminal equipment, it is characterized in that, described edge bridge equipment specifically comprises:
receiver module, be used for receiving the first message from the GRE encapsulation of described gateway device, described the first message is that described gateway device obtains the 3rd message after the second message decapsulation that the large double layer network that receives is encapsulated, and when the target MAC (Media Access Control) address of the 3rd message is the MAC Address of described gateway device, purpose IP address according to the 3rd message, search terminal device IP address and the MAC Address safeguarded in local routing table, and the IP address of the edge bridge equipment that is connected with terminal equipment and the corresponding relation between MAC Address, and IP address and the MAC Address of the edge bridge equipment corresponding according to the purpose IP address of the 3rd message that finds, the 3rd message is carried out generating and sending after GRE encapsulates,
Decapsulation module is used for described the first message solution GRE encapsulation is obtained the 3rd message;
Processing module is used for the purpose IP address according to described the 3rd message, searches the IP address of the local terminal of safeguarding in local routing table and the corresponding relation of MAC Address, determines to forward after MAC Address corresponding to the purpose IP address of described the 3rd message;
Wherein, described large double layer network is the SPBM network, and described edge bridge equipment is BEB equipment, and described large double layer network is encapsulated as the MAC-in-MAC encapsulation; Perhaps, described large double layer network is the TRILL network, and described edge bridge equipment is RB equipment, and described large double layer network is encapsulated as the TRILL encapsulation.
11. equipment as claimed in claim 10 is characterized in that, also comprises: maintenance module;
Described receiver module also is used for receiving the ARP request message from local terminal, IP address and the MAC Address of carrying described local terminal in described ARP request message;
Described maintenance module is used for learning IP address and the MAC Address of the local terminal that described ARP request message carries, and records the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
12. equipment as claimed in claim 11 is characterized in that,
Described maintenance module, concrete being used for enables the ARPSnooping function on the VLAN that connects local terminal, and enables this edge bridge of ARP Snooping functional representation equipment and need to learn IP address and the MAC Address of carrying in ARP request message that in described VLAN, all of the port is received;
After receiving described ARP request message on port in described VLAN, the CPU of this equipment will be delivered on described ARP request message, with IP address and the MAC Address of the local terminal learning to carry in described ARP request message, and record the IP address of described local terminal and the corresponding relation of MAC Address in local routing table.
CN201310080293.4A 2013-03-13 2013-03-13 A kind of message transmitting method and equipment Active CN103139075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310080293.4A CN103139075B (en) 2013-03-13 2013-03-13 A kind of message transmitting method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310080293.4A CN103139075B (en) 2013-03-13 2013-03-13 A kind of message transmitting method and equipment

Publications (2)

Publication Number Publication Date
CN103139075A true CN103139075A (en) 2013-06-05
CN103139075B CN103139075B (en) 2016-01-20

Family

ID=48498404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310080293.4A Active CN103139075B (en) 2013-03-13 2013-03-13 A kind of message transmitting method and equipment

Country Status (1)

Country Link
CN (1) CN103139075B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369064A (en) * 2013-07-03 2013-10-23 杭州华三通信技术有限公司 Method and equipment for learning ARP (Address Resolution Protocol) entries
CN104301232A (en) * 2014-10-29 2015-01-21 杭州华三通信技术有限公司 Method and device for forwarding messages in network of transparent interconnection of lots of links
CN104683315A (en) * 2013-12-03 2015-06-03 华为技术有限公司 Method and device for transmitting data messages
CN104753789A (en) * 2013-12-26 2015-07-01 华为技术有限公司 Message forwarding method and system
CN106385366A (en) * 2016-08-31 2017-02-08 迈普通信技术股份有限公司 TRILL network management method and device
CN107181681A (en) * 2016-03-10 2017-09-19 中兴通讯股份有限公司 SDN layer 2 forwarding methods and system
CN107682264A (en) * 2017-09-26 2018-02-09 迅雷计算机(深圳)有限公司 Data transmission method and system based on real-time active path planning
WO2019104858A1 (en) * 2017-11-28 2019-06-06 华为技术有限公司 Message forwarding method, control plane gateway, and user plane gateway

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488964A (en) * 2009-02-20 2009-07-22 杭州华三通信技术有限公司 Method, system and router for implementing address resolution and double layered communication
US20110310904A1 (en) * 2010-06-17 2011-12-22 Gero Balazs Peter L2 method for partial vlan service migration
CN102316028A (en) * 2011-08-24 2012-01-11 华为技术有限公司 Method and apparatus for sending internet protocol packet
CN102368727A (en) * 2011-09-14 2012-03-07 杭州华三通信技术有限公司 Crossed IP network TRILL network communication method, system thereof and devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488964A (en) * 2009-02-20 2009-07-22 杭州华三通信技术有限公司 Method, system and router for implementing address resolution and double layered communication
US20110310904A1 (en) * 2010-06-17 2011-12-22 Gero Balazs Peter L2 method for partial vlan service migration
CN102316028A (en) * 2011-08-24 2012-01-11 华为技术有限公司 Method and apparatus for sending internet protocol packet
CN102368727A (en) * 2011-09-14 2012-03-07 杭州华三通信技术有限公司 Crossed IP network TRILL network communication method, system thereof and devices

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369064B (en) * 2013-07-03 2016-08-31 杭州华三通信技术有限公司 The learning method of a kind of ARP and equipment
CN103369064A (en) * 2013-07-03 2013-10-23 杭州华三通信技术有限公司 Method and equipment for learning ARP (Address Resolution Protocol) entries
CN104683315B (en) * 2013-12-03 2018-07-20 华为技术有限公司 Data message transmission method and equipment
CN104683315A (en) * 2013-12-03 2015-06-03 华为技术有限公司 Method and device for transmitting data messages
CN104753789A (en) * 2013-12-26 2015-07-01 华为技术有限公司 Message forwarding method and system
CN104753789B (en) * 2013-12-26 2018-10-30 华为技术有限公司 A kind of method and system to E-Packet
CN104301232B (en) * 2014-10-29 2017-10-03 新华三技术有限公司 Message forwarding method and device in a kind of transparent interconnection of lots of links internet
CN104301232A (en) * 2014-10-29 2015-01-21 杭州华三通信技术有限公司 Method and device for forwarding messages in network of transparent interconnection of lots of links
CN107181681A (en) * 2016-03-10 2017-09-19 中兴通讯股份有限公司 SDN layer 2 forwarding methods and system
CN106385366A (en) * 2016-08-31 2017-02-08 迈普通信技术股份有限公司 TRILL network management method and device
CN106385366B (en) * 2016-08-31 2019-07-02 迈普通信技术股份有限公司 TRILL network management method and device
CN107682264A (en) * 2017-09-26 2018-02-09 迅雷计算机(深圳)有限公司 Data transmission method and system based on real-time active path planning
CN107682264B (en) * 2017-09-26 2018-11-16 迅雷计算机(深圳)有限公司 Data transmission method and system based on real-time active path planning
WO2019104858A1 (en) * 2017-11-28 2019-06-06 华为技术有限公司 Message forwarding method, control plane gateway, and user plane gateway

Also Published As

Publication number Publication date
CN103139075B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN103166858B (en) A kind of message transmitting method and equipment
CN103139075B (en) A kind of message transmitting method and equipment
EP2600573B1 (en) Method for transmitting addresses correspondence relationship in second-layer protocol using link status routing
CN102971992B (en) Virtual special local area network equipment, networking component and data frame forwarding method
CN100563211C (en) The implementation method of a kind of virtual gateway, virtual subnet and system
CN103200069B (en) A kind of method and apparatus of Message processing
CN102368727B (en) Crossed IP network TRILL network communication method, system thereof and devices
CN103685022B (en) Message forwarding method and service provider network edge equipment
CN102333028B (en) Method and communication equipment for sending messages by using layered bi-layer virtual private network
EP2912812B1 (en) Traffic interconnection between virtual devices
WO2016045637A1 (en) Forwarding data packets in software defined network
CN102868614B (en) Message forwarding method in TRILL network and route-bridge
CN108718278B (en) Message transmission method and device
CN104378297A (en) Message forwarding method and device
JP6722816B2 (en) Packet transfer
CN107317752B (en) Method and device for forwarding data message
CN104065582A (en) Message transmission method and gateway device
CN102882781B (en) Method, route bridge and system for transmitting message
US20150341263A1 (en) Associating internet protocol (ip) addresses with ethernet virtualisation interconnection (evi) links
CN107645433A (en) Message forwarding method and device
CN103490968B (en) Method and device for interconnecting across data centers in FCoE network
CN101286918A (en) Virtual private network system and data processing method thereof
CN102946350B (en) A kind of data transmission method based on priority and equipment
CN104378302B (en) Address corresponding relation sending method and route bridge device
CN103152265A (en) Message forwarding method and equipment in SPB (Shortest Path Bridge) network

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
CP03 Change of name, title or address

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

Patentee after: NEW H3C TECHNOLOGIES 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: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230627

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

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

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.