CN101217463A - Method and device for controlling message forwarding - Google Patents
Method and device for controlling message forwarding Download PDFInfo
- Publication number
- CN101217463A CN101217463A CNA2007103043526A CN200710304352A CN101217463A CN 101217463 A CN101217463 A CN 101217463A CN A2007103043526 A CNA2007103043526 A CN A2007103043526A CN 200710304352 A CN200710304352 A CN 200710304352A CN 101217463 A CN101217463 A CN 101217463A
- Authority
- CN
- China
- Prior art keywords
- broadcast domain
- access control
- interface
- sign
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and a device for forwarding control message and belongs to communication filed. The method comprises: dividing a first broadcast domain and a second broadcast domain; preserving marks of the first broadcast domain at all the interfaces of the public network side while preserving marks of the second broadcast domain at all the interfaces of the accessing side; receiving the forwarding message, studying the source medium access control address of the forwarding message and obtaining the corresponding relationship of the source medium access control address, the receiving interface and the broadcast domain mark and mapping the broadcast domain mark of the corresponding relationship and finally getting the corresponding source medium access control address forwarding item after mapping. The device consists of: a division module, a reservation module, a receiving module and a mapping module. By dividing broadcast domain and mapping broadcast domain mark, the invention does not have to modify the forwarding engine chip of the existing message forwarding device and satisfies the requirements of accessing side isolation in the two-layer network and realizes successful message forwarding.
Description
Technical field
The present invention relates to the communications field, particularly a kind of method and apparatus of controlling the message forwarding.
Background technology
In double layer network, the operation principle of two-layer equipment such as message forwarding equipment is: according to the purpose MAC that carries in the message that receives (Media Access Control, medium access control) address, the MAC that searches equipment self transmits, and the outgoing interface by the MAC address entries correspondence of hitting E-Packets.Message forwarding equipment receives message and carries out message forwarding, when also not writing down the corresponding relation of target MAC (Media Access Control) address and interface on the message forwarding equipment (this target MAC (Media Access Control) address is not also learnt to obtain), can be with this message, on equipment self other total interfaces except that the receiving interface (can be that physical interface also can be a logic interfacing) that receives this message, broadcast, after receiving response message, according to the source MAC (target MAC (Media Access Control) address that promptly E-Packets) of this response message of noting and the corresponding relation of receiving interface (outgoing interface that promptly E-Packets), thus the successful forwarding of realization message; Simultaneously, message forwarding equipment also can be learnt the source MAC of message, and the corresponding relation that is about to this source MAC and receives the receiving interface of this message adds to during MAC transmits.When message forwarding equipment receives when being the reverse message of destination address with this source MAC, just can search MAC and transmit the interface that directly obtains this reverse message correspondence, so need not broadcast, saved the network bandwidth to this message.
Two-layer equipment in the most double layer network is all supported (the Virtual Local Area Network according to VLAN, VLAN) or VSI (Virtual Switch Instance, virtual switch instance) carries out the division of broadcast domain (corresponding broadcast domain ID), avoided under the situation that target MAC (Media Access Control) address not have to learn to obtain by dividing broadcast domain, when broadcasting to the not influence of other interfaces under same broadcast domain.After the division of having carried out broadcast domain, correspondingly, the MAC in the message forwarding equipment transmits also and is divided into different many parts according to broadcast domain sign ID.For example, be divided into broadcast domain A and broadcast domain B, receive behind the message target MAC (Media Access Control) address that broadcast domain ID (is example with A) and message according to the receiving interface correspondence carry and search and transmit; When target MAC (Media Access Control) address when also study does not obtain, only need with this message in broadcast domain A except that receiving interface other total interfaces broadcast, avoided in the message forwarding equipment not in the influence of the interface of broadcast domain A scope.
Referring to Fig. 1, forwarding structural representation for existing two-layer network device, after receiver module receives the message that needs to transmit, send to forwarding engine, forwarding engine is searched the list item that the list item memory module is obtained the correspondence of MAC in transmitting, according to the interface of target MAC (Media Access Control) address correspondence in the list item that obtains, forwarding engine is sent to sending module with this message and transmits; Simultaneously, forwarding engine with the mac learning information of this message (as broadcast domain ID, MAC Address and receiving interface) report the upper strata study module, the upper strata study module carries out mac learning according to mac learning information, and the list item that study obtains is sent to the list item memory module preserves.
At present, when making up double layer network, usually have the demand that side is isolated that inserts, it is public network side and insert between the side can the intercommunication two layer message, and can not E-Packet mutually between the equipment between the access side, referring to Fig. 2, insert VPLS (the Virtual Provate LAN Service that side is isolated for having enabled, the virtual special local area network service) equipment network schematic diagram, wherein, message forwarding equipment describes for example with SPE (Superstratum Provider Edge, top service merchant's edge device) 4; The public network side apparatus comprises: SPE1, PE (Provider Edge, provider edge equipment) 2 and SPE3; Access side device comprises: UPE (Underlayer PE, the PE of lower floor) 1, UPE2, CE (Customer Edge, customer edge devices) 1 and CE2; Correspondingly, the public network side interface of SPE4 is respectively interface 1, the interface 2 that connects SPE1 that connects SPE3, the interface 3 that connects PE2; Insert side interface and be respectively interface 4, the interface 5 that connects UPE2, the interface 6 that connects CE1 that connects UPE1, the interface 7 that connects CE2, require the public network side interface this moment and insert the mutual forwarding that to carry out message between the side interface, and insert the mutual forwarding that does not allow to carry out message between the side interface.
The inventor finds in realizing process of the present invention: because the proposition of the demand that the access side is isolated in two layers of networking is newer, also do not form standard, and the two-layer network device forwarding engine generally is to adopt ASIC (Application Specific IntergratedCircuits, application-specific integrated circuit (ASIC)) chip of the non-programmable modification of Huaing is finished, when design, do not carry out the consideration of this demand, so can not support to satisfy the forwarding demand that above-mentioned access side is isolated automatically.
Summary of the invention
In order on two-layer network device, to realize the forwarding of control message, realized that particularly the message of satisfied access side isolation requirement is transmitted, the embodiment of the invention provides a kind of method and apparatus that message is transmitted of controlling.Described technical scheme is as follows:
A kind of method of controlling the message forwarding, described method comprises:
Divide first broadcast domain and second broadcast domain; Described first broadcast domain comprises the public network side and inserts the side total interface; Described second broadcast domain comprises described public network side total interface;
On described public network side total interface, preserve described first broadcast domain sign, on described access side total interface, preserve described second broadcast domain sign;
Reception E-Packets, the described source medium access control address learning that E-Packets is obtained the corresponding relation of described source Media Access Control address, receiving interface and broadcast domain sign, and the broadcast domain in described corresponding relation sign shone upon, obtain shining upon the corresponding source Media Access Control address forwarding-table item of back broadcast domain sign.
A kind of equipment of controlling the message forwarding, described equipment comprises:
Divide module, be used to divide first broadcast domain and second broadcast domain; Described first broadcast domain comprises described public network side and inserts the side total interface; Described second broadcast domain comprises described public network side total interface;
Preserve module, be used on described public network side total interface, preserving described first broadcast domain sign, on described access side total interface, preserve described second broadcast domain sign;
Receiver module is used for reception and E-Packets;
Mapping block, be used for when described receiver module receive E-Packet after, the described source medium access control address learning that E-Packets is obtained the corresponding relation of described source Media Access Control address, described receiving interface and broadcast domain sign, and the broadcast domain in described corresponding relation sign shone upon, obtain shining upon the corresponding source Media Access Control address forwarding-table item of back broadcast domain sign.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
By the mode of on message forwarding equipment, dividing a plurality of broadcast domains and the broadcast domain sign being shone upon, realize the control message forwarding, need not revise on the basis of the forwarding engine in the present message forwarding equipment, can support automatically and satisfy to have realized in double layer network, satisfying under the condition that inserts the side isolation to E-Packet.
Description of drawings
Fig. 1 is the structural representation of the message forwarding equipment that provides of prior art;
Fig. 2 is the equipment network schematic diagram of enabling the isolation of access side that prior art provides;
Fig. 3 is the method flow diagram that the control message that provides of the embodiment of the invention 1 is transmitted;
Fig. 4 is the equipment schematic diagram that the control message that provides of the embodiment of the invention 4 is transmitted.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
The technical scheme that the embodiment of the invention provides, realize controlling message forwarding by the mode of on message forwarding equipment, dividing a plurality of broadcast domains and the broadcast domain sign is shone upon, realized in double layer network, satisfying under the condition that inserts the side isolation E-Packeting.
The embodiment of the invention provides a kind of method that message is transmitted of controlling, the VPLS message forwarding equipment networking schematic diagram that provides with Fig. 2 is that example describes, wherein, when making up double layer network, enabled isolation to inserting side as required, the equipment that does not promptly allow to insert between the side carries out the mutual forwarding of message, the method that adopts the embodiment of the invention to provide can support to insert the side isolation on the basis of the message forwarding equipment forwarding engine that does not change existing double layer network, realize the successful forwarding to message.Referring to Fig. 3, the method flow diagram that the control message that provides for the embodiment of the invention is transmitted, particular content comprises:
101: will enable the double layer network that inserts the side isolation and be divided into two broadcast domains: broadcast domain A and broadcast domain B, wherein broadcast domain A comprises all public network side interfaces 1,2,3 of message forwarding equipment and inserts side interface 4,5,6,7; Broadcast domain B only comprises public network side interface 1,2,3.
102: the sign A that in the information table of the interface of all public network side interfaces 1,2,3, preserves broadcast domain A; And in inserting the interface message table of side interfaces 4,5,6,7, all preserve the sign B of broadcast domain B.
103: receive to E-Packet, searching the MAC that is designated index with the broadcast domain of receiving interface correspondence transmits and carries out message forwarding, and carry out the source mac learning that this E-Packets, and the sign of the broadcast domain in the corresponding relation that study is obtained is shone upon the corresponding MAC forwarding-table item of broadcast domain sign after obtaining shining upon accordingly.
Receive from the situation of public network side message with from the situation that inserts the side message at this message forwarding equipment respectively below to be described in detail that particular content is as follows:
1) receives to be forwarded to the message that inserts side from the public network side time when message forwarding equipment, the MAC that is designated index that searches with broadcast domain A transmits, and carry out the source mac learning, and the sign of the broadcast domain in the corresponding relation that will obtain after will learning A is mapped as broadcast domain sign B.
Present embodiment receives that with public network side interface 1 message that need transmit to the access side is that example describes, and thes contents are as follows:
A. when this target MAC (Media Access Control) address that E-Packets is the equipment CE1 of access side, and the interface that message forwarding equipment has been learnt this CE1 correspondence is 6 o'clock, then the sign A of the broadcast domain A that preserves with interface 1 is an index, the MAC that searches broadcast domain A correspondence transmits, obtain the interface 6 of this purpose MAC correspondence, this is E-Packeted sends to the interface 6 of access side correspondence according to the mode of clean culture.
When on this message forwarding equipment, when also not writing down the corresponding relation of this purpose MAC that E-Packets and interface (this target MAC (Media Access Control) address does not also have study to obtain), the interface message of the broadcast domain A that preserves in the information table of this message forwarding equipment according to the interface of interface 1 then, to total interface 1 to broadcast domain A correspondence, 2,3,4,5,6,7 broadcast, pass through comparison then to the receiving interface and the transmission interface of message, to mail to the message packet loss of interface 1, realized that other interfaces except receiving interface carry out message broadcasting in the total interface of broadcast domain A correspondence this moment; After receiving response message, in like manner, message forwarding equipment can be according to the source MAC of this response message of noting and the corresponding relation of receiving interface, thereby the source MAC of the response message noted according to message forwarding equipment of realizing E-Packeting and the corresponding relation of receiving interface are transmitted.
B. carry out the source mac learning to E-Packeting, the broadcast domain A in the corresponding relation of the broadcast domain A that study is obtained, MAC Address, receiving interface is mapped as broadcast domain B, obtains the MAC forwarding-table item of broadcast domain B.
For example: carry out the source mac learning to E-Packeting, obtain the corresponding relation of this MAC Address, broadcast domain A, receiving interface, the sign of the broadcast domain in this corresponding relation is shone upon, be about to identify A and be mapped as sign B, obtain the MAC forwarding-table item of broadcast domain B.Referring to table 1,,, be the example of the MAC forwarding-table item that obtains after the mapping referring to table 2 for the corresponding relation example that generates before the mapping.Wherein, when carrying out the mapping of broadcast domain sign, can realize that the embodiment of the invention does not limit the mapping algorithm that is adopted by the mapping algorithm of the supported correspondence of software.
Table 1
The broadcast domain sign | MAC Address | Interface |
A | |
1 |
Table 2
The broadcast domain sign | MAC Address | |
B | MAC1 | |
1 |
Because to the source mac learning, the broadcast domain A in the corresponding relation of the broadcast domain A that study is obtained, MAC Address, receiving interface is mapped as broadcast domain B, obtains the MAC forwarding-table item of broadcast domain B above-mentioned.This moment is when receiving from access the E-Packeting of side when message forwarding equipment (and the target MAC (Media Access Control) address corresponding equipment of this message in the public network side time), can be that index search MAC transmits just, this message is sent to the public network side interface according to mode of unicast to insert the broadcast domain sign B that preserves on the side interface.
2) when message forwarding equipment was received the message that need transmit from the access side, the MAC that is designated index that searches with broadcast domain B transmitted, and carries out the source mac learning, and the sign of the broadcast domain after will learning B is mapped as broadcast domain sign A.
Present embodiment thes contents are as follows to receive that by inserting side interface 4 message that needs to transmit is that example describes:
A. when equipment PE2 that this target MAC (Media Access Control) address that E-Packets is the public network side, and the interface that message forwarding equipment has been learnt this PE2 correspondence is 3 o'clock, then the sign B of the broadcast domain B that preserves with interface 4 is an index, the MAC that searches broadcast domain B correspondence transmits, obtain the interface 3 of this target MAC (Media Access Control) address correspondence, this message is sent to the interface 3 of public network side correspondence according to the mode of clean culture.
When on this message forwarding equipment, when also not writing down the corresponding relation of this purpose MAC that E-Packets and interface (this target MAC (Media Access Control) address does not also have study to obtain), then the interface message of the broadcast domain B that preserves in the interface message table of this message forwarding equipment according to interface 4 is broadcasted to the total interface 1,2,3 to broadcast domain B correspondence; After receiving response message, in like manner, message forwarding equipment can be according to the source MAC of this response message of noting and the corresponding relation of receiving interface, thereby the source MAC of the response message noted according to message forwarding equipment of realizing E-Packeting and the corresponding relation of receiving interface are transmitted.
B. carry out the source mac learning to E-Packeting, the broadcast domain B in the corresponding relation of the broadcast domain B that study is obtained, MAC Address, receiving interface is mapped as broadcast domain A, obtains the MAC forwarding-table item of broadcast domain A.
For example: when carrying out the source mac learning, obtain the corresponding relation of this MAC Address, broadcast domain A, receiving interface, the sign of the broadcast domain in this corresponding relation is shone upon, be about to identify B and be mapped as sign A, obtain the MAC forwarding-table item of broadcast domain A.Referring to table 3, be the corresponding relation example of the generation before the mapping; Referring to table 4, be the example of the MAC forwarding-table item that obtains after the mapping.
Table 3
The broadcast domain sign | MAC Address | |
B | MAC4 | |
4 |
Table 4
The broadcast domain sign | MAC Address | Interface |
A | |
4 |
Because to the source mac learning, the broadcast domain B in the corresponding relation of the broadcast domain B that study is obtained, MAC Address, receiving interface is mapped as broadcast domain A, obtains the MAC forwarding-table item of broadcast domain A above-mentioned.Receive from the E-Packeting of public network side (and the target MAC (Media Access Control) address corresponding equipment of this message in the access side time) when message forwarding equipment this moment, can be that index search MAC transmits just, this message is sent to the access side interface according to mode of unicast with the broadcast domain sign A that preserves on the public network side interface.
In sum, can be implemented in the double layer network, can realize satisfying when message is transmitted and insert the requirement that side is isolated by said method:
When receiving by the public network side interface when E-Packeting, because what preserve on the interface of public network side is the sign of broadcast domain A, so being to use broadcast domain A is the index forwarding of tabling look-up, when target MAC (Media Access Control) address is unknown, this message can be broadcast to (comprising inserting side interface) of the total interface among the broadcast domain A; When the target MAC (Media Access Control) address corresponding equipment when inserting side because when carrying out MAC address learning, the MAC Address list item of broadcast domain B is mapped as the MAC Address list item of broadcast domain A, the message that the public network side joint is received just can send to the access side interface according to mode of unicast.
When receiving when E-Packeting by inserting side interface, because what preserve on the interface that inserts side is the sign of broadcast domain B, so being to use broadcast domain B is the index forwarding of tabling look-up, when target MAC (Media Access Control) address is unknown, this message can be broadcast to the total interface (wherein include only the public network side interface, do not comprise and insert side interface) among the broadcast domain B; When target MAC (Media Access Control) address corresponding equipment during in the public network side, because when carrying out MAC address learning, the MAC Address list item of broadcast domain A has been mapped as the MAC Address list item of broadcast domain B, insert the message that side receives and just can send to the public network side interface according to mode of unicast.
The public network side this shows, owing to can intercom mutually with the message that inserts side; And between the access side interface since can not learn the other side be index with broadcast domain B the time MAC Address, so can not carry out the communication of mode of unicast according to the situation of known MAC Address; And because when carrying out broadcast mode communication by the situation of unknown MAC Address, the interface that inserts side not in the broadcast domain B of correspondence, so broadcast mode also can't be communicated by letter, inserts the purpose that side is isolated thereby reached.
The mode of the embodiment of the invention by on message forwarding equipment, dividing a plurality of broadcast domains and the broadcast domain sign being shone upon, realize the control message forwarding, need not revise on the basis of the forwarding engine in the present message forwarding equipment, can support automatically and satisfy to have realized in double layer network, satisfying under the condition that inserts the side isolation to E-Packet.
The method that the control message that the embodiment of the invention 1 provides is transmitted can also further be optimized, present embodiment is by shining upon the corresponding relation of generation before at carrying out MAC address entries among the embodiment 1, MAC address entries according to this corresponding relation generation, the interface that is provided with in this MAC address entries is the black hole interface, avoided effectively owing in MAC transmits, can not find out source MAC, and caused continuing the problem of reporting MAC study message.
Present embodiment still is elaborated with the situation that the access side interface receives message at receive message from the public network side interface respectively, and particular content is as follows:
1) receives when desiring to be forwarded to E-Packeting of interface 1 when message forwarding equipment by other interfaces of public network side, for example, this target MAC (Media Access Control) address that E-Packets is MAC1, this moment is when the MAC that searches broadcast domain A transmits, owing to do not write down the list item of this MAC1 and interface 1 correspondence during the MAC of this broadcast domain A transmits, and cause continuing reporting MAC study message owing in the MAC of broadcast domain A transmits, can not find out corresponding list item.Present embodiment is by in the transmitting of broadcast domain A, and the mode that generates a MAC address entries corresponding with the MAC1 address of learning solves the problems referred to above, and solution is as follows:
In the transmitting of broadcast domain A, MAC1, the broadcast domain A that obtains according to study and the corresponding relation of interface 1, generate a MAC address entries according to this corresponding relation, and the interface of this MAC address entries correspondence is set to the black hole interface, making the state of this interface correspondence is the black hole pattern, that is to say that hitting this interface packets can directly be dropped.Referring to table 5, at because table 1 provides corresponding relation, generate the MAC address entries of a broadcast domain A, as shown in table 5, the interface in this list item is set to the black hole interface.At this moment, when the target MAC (Media Access Control) address of reverse message has hit this MAC address entries because the interface of this MAC address entries correspondence is the black hole interface, thus this reverse message directly abandoned, thereby avoided lasting reporting MAC to learn the problem of message effectively.
Table 5
The broadcast domain sign | MAC Address | Interface |
A | MAC1 | The black hole |
2) receive when desiring to be forwarded to E-Packeting of interface 4 when message forwarding equipment by other interfaces that insert side, this target MAC (Media Access Control) address that E-Packets is MAC4, this moment is when the MAC that searches broadcast domain B transmits, owing to do not write down the list item of this MAC4 and interface 4 correspondences during the MAC of this broadcast domain B transmits, and cause continuing reporting MAC study message owing in the MAC of broadcast domain B transmits, can not find out corresponding list item.During present embodiment is transmitted by the MAC at broadcast domain B, generate the mode corresponding to the MAC address entries of MAC4 address and solve the problems referred to above, solution is as follows:
In the transmitting of broadcast domain B, MAC4, the broadcast domain B that obtains according to study and the corresponding relation of interface 4, generate a MAC address entries according to this corresponding relation, and the interface of this list item correspondence is set to the black hole interface, and making the state of this interface correspondence is the black hole pattern, that is to say that hitting this interface packets can directly be dropped, referring to table 6, provide corresponding relation at table 3, generate the MAC address entries of a broadcast domain B, the interface of this list item is set to the black hole interface.At this moment, when the target MAC (Media Access Control) address of reverse message has hit this MAC address entries, because the interface of this MAC address entries correspondence is the black hole interface, so this reverse message is dropped.
Table 6
The broadcast domain sign | MAC Address | Interface |
B | MAC4 | The black hole |
Present embodiment, outgoing interface among the broadcast domain B is set to the purpose of black hole interface, be in order to insert between the side interface, though can be index search the other side's MAC Address with broadcast domain B, but both sides still can not communicate, promptly guaranteed in this case, message forwarding equipment can have been reached when E-Packeting insert the purpose that side is isolated.
Because the method that has adopted present embodiment to provide, so preserving before the MAC address entries of newly learning at the upper strata of existing two-layer network device study module, information according to the broadcast domain mapping block judges whether two corresponding broadcast domains earlier, if have then respectively issue a MAC address entries of newly learning for these two broadcast domains, the outgoing interface of a copy of it MAC address entries interface that is set to learn only, another part is set to the black hole interface.
The embodiment of the invention reaches when guaranteeing that message forwarding equipment E-Packets and inserts side and isolate under the prerequisite of purpose, has also avoided effectively owing to can not find out source MAC in MAC transmits, and has caused continuing the problem of reporting MAC study message.
One skilled in the art will appreciate that and carrying out double layer network when safeguarding, the broadcasting of carrying out when regular meeting adopts the mode of the static MAC of human configuration to avoid mac learning is transmitted, and maybe will E-Packet to introduce a target MAC (Media Access Control) address not at the interface of its scope.Therefore, in the present embodiment, preserve list item (broadcast domain sign, MAC Address and corresponding interface) in can also transmitting at the MAC of broadcast domain A and/or B by the static mac address correspondence of webmaster or human configuration.Usually configuring static MAC has certain special purpose, promptly when message hits this list item, just message is forwarded on the interface of this list item correspondence, thereby realizes the specific purposes that message is transmitted.The mode that goes out MAC Address by this static configuration can be implemented under the situation of enabling the isolation of access side, and the equipment that inserts between the side can intercom mutually.
The embodiment of the invention goes out the mode of MAC Address by static configuration, has realized inserting under the situation that side isolates enabling, and access side device carries out can completely carrying out mutual message forwarding when specific purposes are communicated by letter when needs.
Referring to Fig. 4, the embodiment of the invention provides a kind of equipment that message is transmitted of controlling, and equipment comprises:
Divide module, be used to divide first broadcast domain and second broadcast domain; First broadcast domain comprises the public network side and inserts the side total interface; Second broadcast domain comprises public network side total interface;
Preserve module, be used on public network side total interface, preserving first broadcast domain sign, inserting preservation second broadcast domain sign on the side total interface;
Receiver module is used for reception and E-Packets;
Mapping block, be used for when receiver module receive E-Packet after, the source medium access control address learning that E-Packets is obtained the corresponding relation of source Media Access Control address, receiving interface and broadcast domain sign, and the broadcast domain in corresponding relation sign shone upon, obtain shining upon the corresponding source Media Access Control address forwarding-table item of back broadcast domain sign.
Wherein, when the interface that E-Packets when reception was the public network side interface, mapping block can also specifically comprise:
First map unit, be used for that to E-Packet be during from the public network side interface when receiver module receives, the source medium access control address learning that E-Packets is obtained the corresponding relation of source Media Access Control address, receiving interface and first broadcast domain sign, first broadcast domain sign in the corresponding relation is mapped as second broadcast domain sign, generates the corresponding source Media Access Control address forwarding-table item of second broadcast domain sign.
Wherein, the interface that E-Packets when reception is that mapping block can also specifically comprise when inserting side interface:
Second map unit, be used for when E-Packeting of receiving of receiver module be when inserting side interface, receive the corresponding relation that the source medium access control address learning that E-Packets obtains source Media Access Control address, receiving interface and second broadcast domain sign to inserting side interface, second broadcast domain sign in the corresponding relation of source Media Access Control address, receiving interface and second broadcast domain sign is mapped as first broadcast domain sign, generates the corresponding source Media Access Control address forwarding-table item of first broadcast domain sign.
Wherein, equipment comprises that also forwarding module is used for the broadcast domain sign of the interface correspondence that E-Packets according to reception, searches the corresponding forwarding table of medium access control of broadcast domain sign and carries out message and transmit.
For fear of the situation that continues reporting MAC study message, this equipment can also comprise:
Module is set, be used for when mapping block is learnt the corresponding relation of source Media Access Control address, receiving interface and broadcast domain sign, generate the corresponding forwarding table of medium access control item of broadcast domain sign, and the interface in the forwarding table of medium access control item of broadcast domain sign correspondence is set to the black hole interface.
For the forwarding of the specific purposes that realize message, for example insert under the situation that side isolates having enabled, for special purpose, insert side and insert when certain two equipment need carry out mutual communication between the side, equipment also comprises:
Configuration module is used for obtaining the corresponding forwarding table of medium access control item of broadcast domain sign by the mode of static configuration.
The equipment that the control message that the embodiment of the invention provides is transmitted by splitting the mode of broadcast domain and broadcast domain sign mapping, is realized the control message forwarding.Particularly at present message forwarding equipment under the prerequisite that satisfy to insert the demand that side isolates, and need not revise forwarding engine in the forwarding process, realized the successful forwarding of message.
The technical scheme that the embodiment of the invention provides, by the mode of on message forwarding equipment, dividing a plurality of broadcast domains and the broadcast domain sign being shone upon, realize the control message forwarding, need not revise on the basis of the forwarding engine in the present message forwarding equipment, can support automatically and satisfy to have realized in double layer network, satisfying under the condition that inserts the side isolation to E-Packet.
Part steps in the embodiment of the invention can utilize software to realize that corresponding software programs can be stored in the storage medium that can read, as CD or hard disk etc.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (12)
1. control the method that message is transmitted for one kind, it is characterized in that described method comprises:
Divide first broadcast domain and second broadcast domain; Described first broadcast domain comprises the public network side and inserts the side total interface; Described second broadcast domain comprises described public network side total interface;
On described public network side total interface, preserve described first broadcast domain sign, on described access side total interface, preserve described second broadcast domain sign;
Reception E-Packets, the described source medium access control address learning that E-Packets is obtained the corresponding relation of described source Media Access Control address, receiving interface and broadcast domain sign, and the broadcast domain in described corresponding relation sign shone upon, obtain shining upon the corresponding source Media Access Control address forwarding-table item of back broadcast domain sign.
2. the method that control message as claimed in claim 1 is transmitted, it is characterized in that, described reception E-Packets, the described source medium access control address learning that E-Packets is obtained the corresponding relation of described source Media Access Control address, receiving interface and broadcast domain sign, and the broadcast domain in described corresponding relation sign shone upon, obtain shining upon the corresponding source Media Access Control address forwarding-table item of back broadcast domain sign, be specially:
Described public network side interface receives and E-Packets, the described source medium access control address learning that E-Packets is obtained the corresponding relation of described source Media Access Control address, receiving interface and described first broadcast domain sign, first broadcast domain sign in the described corresponding relation is mapped as second broadcast domain sign, generates the corresponding source Media Access Control address forwarding-table item of described second broadcast domain sign.
3. the method that control message as claimed in claim 1 is transmitted, it is characterized in that, described reception E-Packets, the described source medium access control address learning that E-Packets is obtained the corresponding relation of described source Media Access Control address, receiving interface and broadcast domain sign, and the broadcast domain in described corresponding relation sign shone upon, obtain shining upon the corresponding source Media Access Control address forwarding-table item of back broadcast domain sign, be specially:
Described access side interface receives and E-Packets, described access side interface is received the corresponding relation that the source medium access control address learning that E-Packets obtains described source Media Access Control address, receiving interface and described second broadcast domain sign, described second broadcast domain sign in the corresponding relation of described source Media Access Control address, receiving interface and described second broadcast domain sign is mapped as described first broadcast domain sign, generates the corresponding source Media Access Control address forwarding-table item of described first broadcast domain sign.
4. the method that control message as claimed in claim 1 is transmitted, it is characterized in that, described method also comprises: receive when E-Packeting, according to the broadcast domain sign of the interface correspondence that receives described message, search the corresponding forwarding table of medium access control of described broadcast domain sign and carry out the message forwarding.
5. the method that control message as claimed in claim 1 is transmitted, it is characterized in that, after the described corresponding relation that the described source medium access control address learning that E-Packets is obtained described source Media Access Control address, receiving interface and broadcast domain sign, also comprise:
According to described corresponding relation, generate the corresponding forwarding table of medium access control item of described broadcast domain sign, and the interface in the forwarding table of medium access control item of described broadcast domain sign correspondence is set to the black hole interface.
6. the method that control message as claimed in claim 1 is transmitted is characterized in that described method also comprises: the mode by static configuration obtains the corresponding forwarding table of medium access control item of broadcast domain sign.
7. control the equipment that message is transmitted for one kind, it is characterized in that described equipment comprises:
Divide module, be used to divide first broadcast domain and second broadcast domain; Described first broadcast domain comprises described public network side and inserts the side total interface; Described second broadcast domain comprises described public network side total interface;
Preserve module, be used on described public network side total interface, preserving described first broadcast domain sign, on described access side total interface, preserve described second broadcast domain sign;
Receiver module is used for reception and E-Packets;
Mapping block, be used for when described receiver module receive E-Packet after, the described source medium access control address learning that E-Packets is obtained the corresponding relation of described source Media Access Control address, described receiving interface and broadcast domain sign, and the broadcast domain in described corresponding relation sign shone upon, obtain shining upon the corresponding source Media Access Control address forwarding-table item of back broadcast domain sign.
8. the equipment that control message as claimed in claim 7 is transmitted is characterized in that described mapping block specifically comprises:
First map unit, be used for that to E-Packet be during from the public network side interface when described receiver module receives, the described source medium access control address learning that E-Packets is obtained the corresponding relation of described source Media Access Control address, receiving interface and described first broadcast domain sign, first broadcast domain sign in the described corresponding relation is mapped as second broadcast domain sign, generates the corresponding source Media Access Control address forwarding-table item of described second broadcast domain sign.
9. the equipment that control message as claimed in claim 7 is transmitted is characterized in that described mapping block specifically comprises:
Second map unit, be used for when E-Packeting of receiving of described receiver module be during from described access side interface, described access side interface is received the source medium access control address learning that E-Packets obtain described source Media Access Control address, the corresponding relation of receiving interface and described second broadcast domain sign, with described source Media Access Control address, described second broadcast domain sign in the corresponding relation of receiving interface and described second broadcast domain sign is mapped as described first broadcast domain sign, generates the corresponding source Media Access Control address forwarding-table item of described first broadcast domain sign.
10. the equipment that control message as claimed in claim 7 is transmitted, it is characterized in that, described equipment comprises that also forwarding module is used for according to the broadcast domain sign that receives the described interface correspondence that E-Packets, and searches the corresponding forwarding table of medium access control of described broadcast domain sign and carries out the message forwarding.
11. the equipment that control message as claimed in claim 7 is transmitted is characterized in that described equipment also comprises:
Module is set, be used for when described mapping block is learnt the corresponding relation of described source Media Access Control address, receiving interface and described broadcast domain sign, generate the corresponding forwarding table of medium access control item of described broadcast domain sign, and the interface in the forwarding table of medium access control item of described broadcast domain sign correspondence is set to the black hole interface.
12. the equipment that control message as claimed in claim 7 is transmitted is characterized in that described equipment also comprises:
Configuration module is used for obtaining the corresponding forwarding table of medium access control item of broadcast domain sign by the mode of static configuration.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103043526A CN101217463B (en) | 2007-12-27 | 2007-12-27 | Method and device for controlling message forwarding |
PCT/CN2008/073131 WO2009086757A1 (en) | 2007-12-27 | 2008-11-20 | Method and device for controlling message forwarding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103043526A CN101217463B (en) | 2007-12-27 | 2007-12-27 | Method and device for controlling message forwarding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101217463A true CN101217463A (en) | 2008-07-09 |
CN101217463B CN101217463B (en) | 2012-04-18 |
Family
ID=39623826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007103043526A Expired - Fee Related CN101217463B (en) | 2007-12-27 | 2007-12-27 | Method and device for controlling message forwarding |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101217463B (en) |
WO (1) | WO2009086757A1 (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009086757A1 (en) * | 2007-12-27 | 2009-07-16 | Huawei Technologies Co., Ltd. | Method and device for controlling message forwarding |
CN101494610B (en) * | 2009-03-12 | 2011-06-22 | 福建星网锐捷网络有限公司 | Method for processing message and switch |
CN102137108A (en) * | 2011-03-16 | 2011-07-27 | 华为技术有限公司 | Method for message registration and exchanger |
CN101616082B (en) * | 2009-07-29 | 2011-09-07 | 杭州华三通信技术有限公司 | Method for message processing in VPLS service network and device |
CN102308539A (en) * | 2011-07-08 | 2012-01-04 | 华为技术有限公司 | Method and device of fast shift of forwarding port |
CN102801625A (en) * | 2012-08-17 | 2012-11-28 | 杭州华三通信技术有限公司 | Method and device for double layered mutual communication in heterogeneous network |
CN102811173A (en) * | 2012-07-26 | 2012-12-05 | 杭州华三通信技术有限公司 | Media access control (MAC) address learning method and equipment |
CN102916877A (en) * | 2012-09-19 | 2013-02-06 | 华为技术有限公司 | Method and device for setting up black hole media access control (MAC) forwarding table |
CN103401782A (en) * | 2013-07-24 | 2013-11-20 | 杭州华三通信技术有限公司 | MAC (Media Access Control) address synchronizing method and equipment |
CN104065571A (en) * | 2014-06-05 | 2014-09-24 | 福建星网锐捷网络有限公司 | Broadcast message processing method, device and system |
CN104272679A (en) * | 2012-05-09 | 2015-01-07 | 日本电气株式会社 | Communication system, control device, communication method, and program |
CN106850388A (en) * | 2017-02-27 | 2017-06-13 | 迈普通信技术股份有限公司 | The method and device that VPLS network E-Packets |
CN111817958A (en) * | 2020-06-10 | 2020-10-23 | 新华三信息安全技术有限公司 | Message forwarding method and network equipment |
CN115941383A (en) * | 2022-11-28 | 2023-04-07 | 北京神经元网络技术有限公司 | Method, device and equipment for distributing network domain of broadband field bus multi-domain switching system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111541610A (en) * | 2020-04-21 | 2020-08-14 | 北京天融信网络安全技术有限公司 | Communication method, communication device, network equipment and computer readable storage medium |
CN113472655B (en) * | 2021-06-18 | 2023-06-13 | 新华三信息安全技术有限公司 | Method and device for managing two-layer forwarding table items |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6208649B1 (en) * | 1998-03-11 | 2001-03-27 | Cisco Technology, Inc. | Derived VLAN mapping technique |
CN1277378C (en) * | 2002-12-11 | 2006-09-27 | 华为技术有限公司 | Two-layer message isolating method |
US8352637B2 (en) * | 2003-09-23 | 2013-01-08 | Hewlett-Packard Development Company, L.P. | Techniques for resolving network connectivity |
CN1286298C (en) * | 2003-10-23 | 2006-11-22 | 华为技术有限公司 | Method of isolation of bilayer VLAN port |
US20070177597A1 (en) * | 2006-02-02 | 2007-08-02 | Yu Ju | Ethernet connection-based forwarding process |
CN100407704C (en) * | 2006-02-20 | 2008-07-30 | 杭州华三通信技术有限公司 | Method of dynamically learning address on MAC layer |
CN100568853C (en) * | 2007-05-15 | 2009-12-09 | 杭州华三通信技术有限公司 | Layer 2 forwarding method and forwarding unit |
CN101217463B (en) * | 2007-12-27 | 2012-04-18 | 华为技术有限公司 | Method and device for controlling message forwarding |
-
2007
- 2007-12-27 CN CN2007103043526A patent/CN101217463B/en not_active Expired - Fee Related
-
2008
- 2008-11-20 WO PCT/CN2008/073131 patent/WO2009086757A1/en active Application Filing
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009086757A1 (en) * | 2007-12-27 | 2009-07-16 | Huawei Technologies Co., Ltd. | Method and device for controlling message forwarding |
CN101494610B (en) * | 2009-03-12 | 2011-06-22 | 福建星网锐捷网络有限公司 | Method for processing message and switch |
CN101616082B (en) * | 2009-07-29 | 2011-09-07 | 杭州华三通信技术有限公司 | Method for message processing in VPLS service network and device |
WO2012122824A1 (en) * | 2011-03-16 | 2012-09-20 | 华为技术有限公司 | Message registration method and switch |
CN102137108A (en) * | 2011-03-16 | 2011-07-27 | 华为技术有限公司 | Method for message registration and exchanger |
CN102308539A (en) * | 2011-07-08 | 2012-01-04 | 华为技术有限公司 | Method and device of fast shift of forwarding port |
US9584568B2 (en) | 2012-05-09 | 2017-02-28 | Nec Corporation | Signal processing apparatus and signal processing method thereof for implementing a broadcast or a multicast communication |
CN104272679A (en) * | 2012-05-09 | 2015-01-07 | 日本电气株式会社 | Communication system, control device, communication method, and program |
CN102811173B (en) * | 2012-07-26 | 2015-12-02 | 杭州华三通信技术有限公司 | A kind of MAC address learning method and apparatus |
CN102811173A (en) * | 2012-07-26 | 2012-12-05 | 杭州华三通信技术有限公司 | Media access control (MAC) address learning method and equipment |
CN102801625A (en) * | 2012-08-17 | 2012-11-28 | 杭州华三通信技术有限公司 | Method and device for double layered mutual communication in heterogeneous network |
CN102916877A (en) * | 2012-09-19 | 2013-02-06 | 华为技术有限公司 | Method and device for setting up black hole media access control (MAC) forwarding table |
CN102916877B (en) * | 2012-09-19 | 2015-06-17 | 华为技术有限公司 | Method and device for setting up black hole media access control (MAC) forwarding table |
CN103401782B (en) * | 2013-07-24 | 2017-04-05 | 杭州华三通信技术有限公司 | A kind of MAC Address synchronous method and equipment |
CN103401782A (en) * | 2013-07-24 | 2013-11-20 | 杭州华三通信技术有限公司 | MAC (Media Access Control) address synchronizing method and equipment |
CN104065571A (en) * | 2014-06-05 | 2014-09-24 | 福建星网锐捷网络有限公司 | Broadcast message processing method, device and system |
CN104065571B (en) * | 2014-06-05 | 2017-11-03 | 福建星网锐捷网络有限公司 | A kind of broadcasting packet processing method, apparatus and system |
CN106850388A (en) * | 2017-02-27 | 2017-06-13 | 迈普通信技术股份有限公司 | The method and device that VPLS network E-Packets |
CN106850388B (en) * | 2017-02-27 | 2020-04-03 | 迈普通信技术股份有限公司 | Method and device for forwarding message by VPLS network |
CN111817958A (en) * | 2020-06-10 | 2020-10-23 | 新华三信息安全技术有限公司 | Message forwarding method and network equipment |
CN111817958B (en) * | 2020-06-10 | 2023-04-07 | 新华三信息安全技术有限公司 | Message forwarding method and network equipment |
CN115941383A (en) * | 2022-11-28 | 2023-04-07 | 北京神经元网络技术有限公司 | Method, device and equipment for distributing network domain of broadband field bus multi-domain switching system |
CN115941383B (en) * | 2022-11-28 | 2023-12-22 | 北京神经元网络技术有限公司 | Network domain distribution method, device and equipment for broadband field bus multi-domain switching system |
Also Published As
Publication number | Publication date |
---|---|
CN101217463B (en) | 2012-04-18 |
WO2009086757A1 (en) | 2009-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101217463B (en) | Method and device for controlling message forwarding | |
CN103685006B (en) | A kind of message forwarding method on edge device and edge device | |
EP1919127B1 (en) | A data packet transmission method and a lan switch device based on the vlan | |
CN101815107B (en) | Method, system and equipment for managing address in Ethernet ring | |
CN101877671B (en) | Sending method of mirror image message, switch chip and Ethernet router | |
CN103259725B (en) | Messaging method and network equipment | |
CN101820392B (en) | A kind of method and network processing unit realizing multi-service forwarding | |
CN102611634A (en) | IP (Internet protocol) network access method and edge device | |
CN102238091B (en) | A kind of file transmitting method and access controller | |
CN100568853C (en) | Layer 2 forwarding method and forwarding unit | |
CN102347889B (en) | Message forwarding method, system and device in H-VPLS (Hierarchical Virtual Private local area network service) | |
CN101110747A (en) | Method, device and system for eliminating medium accesses to control address | |
WO2007135666A3 (en) | Mac address learning in a distributed bridge | |
CN101808042A (en) | Access method and device of multiprotocol label switching double-layer virtual private network | |
CN102811173B (en) | A kind of MAC address learning method and apparatus | |
CN104869081B (en) | MESSAGE EXCHANGE processing method, business board and internet exchange system | |
WO2015127643A1 (en) | Method and communication node for learning mac address in a layer-2 communication network | |
CN101572655A (en) | Method and equipment for port isolation | |
CN106657442A (en) | Method and system for realizing media shared storage network based on VxLAN | |
CN100382531C (en) | Switching in method for virtual special network and realizing apparatus | |
CN107800549A (en) | The method and apparatus that multi-tenant facility environment MDC is realized in port based on switching equipment | |
CN102394825B (en) | Method and device for processing message | |
CN1980176A (en) | Mixed virtual private network system and backbone network edge apparatus and configuration method | |
CN104253751B (en) | A kind of message transmitting method and equipment based on multi-role host | |
US20080175254A1 (en) | Method of learning address in Virtual LAN system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120418 Termination date: 20191227 |