WO2014079208A1 - Trill网络的通信方法及装置、系统 - Google Patents
Trill网络的通信方法及装置、系统 Download PDFInfo
- Publication number
- WO2014079208A1 WO2014079208A1 PCT/CN2013/076061 CN2013076061W WO2014079208A1 WO 2014079208 A1 WO2014079208 A1 WO 2014079208A1 CN 2013076061 W CN2013076061 W CN 2013076061W WO 2014079208 A1 WO2014079208 A1 WO 2014079208A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- broadcast
- subdomain
- vlan
- message
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000010586 diagram Methods 0.000 description 10
- 108020001568 subdomains Proteins 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 235000008694 Humulus lupulus Nutrition 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4604—LAN interconnection over a backbone network, e.g. Internet, Frame Relay
- H04L12/462—LAN interconnection over a bridge based backbone
- H04L12/4625—Single bridge functionality, e.g. connection of two networks over a single bridge
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1886—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
Definitions
- TRILL Transparent Interconnection of Lots of Links
- IEIF Internet Engineering Task Force
- DC Data Center
- tenants In the TRILL network, tenants (English: Tenant) can be divided into virtual local area networks (English: Virtual Local Area Network, VLAN). Each tenant corresponds to one VLAN.
- the existing TRILL network communication method when the RB bridge receives When the packet is flooded, the multicast forwarding table corresponding to the VLAN information is determined according to the VLAN information included in the flooding packet, and the flooding packet is sent according to the determined multicast forwarding table, thereby ensuring each tenant.
- the flooding message is limited to the VLAN to which the tenant belongs.
- the VLAN field supports up to 4094 VLANs. That is, in a TRILL network, the maximum number of tenants is no more than 4094. , can not meet the practical application needs of TRILL network development.
- the embodiments of the present invention provide a TRILL network communication method, apparatus, and system, which can solve the problem that the TRILL network limits the number of tenants.
- the present invention provides a TRILL network communication method, including:
- the RB receives the packet, and if the packet is a flooding packet, the broadcast subdomain information and the virtual local area network VLAN information of the flooding packet are obtained, and the flooding packet includes a multicast packet or a broadcast. a packet or an unknown unicast packet; the broadcast subdomain information is used to identify a broadcast subdomain, and the VLAN information is used to identify a VLAN, and the VLAN packet One or more broadcast subdomains, one for each broadcast subdomain;
- the obtaining the broadcast sub-domain information of the flooding message includes: if the RB bridge receives the packet through a user-side port, the user-side port is The configuration information acquires broadcast subdomain information of the flooding message;
- the broadcast sub-domain information of the flooding packet is obtained by using the broadcast sub-domain information included in the TRILL frame header.
- the method before the obtaining the broadcast sub-domain information of the flooding packet by using the user-side port configuration information, the method includes:
- the routing bridge identifies different broadcast sub-domain information for different tenants in the VLAN
- the routing bridge allocates different user-side ports to different tenants in the VLAN, and adds corresponding broadcast sub-domain information to configuration information of different user-side ports;
- Corresponding relationships respectively determine a broadcast tree corresponding to each of the broadcast subdomain information and the associated VLAN information.
- a third possible implementation manner before determining the multicast forwarding table of the flooding packet according to the broadcast subdomain information and the VLAN information, :
- the routing bridge establishes a multicast forwarding table corresponding to the broadcast sub-domain information and the VLAN information, where the multicast forwarding table includes a local multicast forwarding table and a network-side multicast forwarding table.
- the local multicast forwarding table includes user side port set information corresponding to the broadcast subdomain information and the VLAN information determined by the RB bridge according to the broadcast subdomain information and the VLAN information;
- the network side multicast forwarding table is a broadcast tree corresponding to the broadcast subdomain information and the VLAN information calculated by the routing bridge according to the broadcast subdomain information and the VLAN information sent by other routing bridges.
- the flooding packet is copied and sent according to the multicast forwarding table, including:
- the RB sends the flooding message according to the user-side port set information included in the local multicast forwarding table
- the RB is configured to encapsulate the broadcast sub-domain information into a TRILL frame header, and the flooding packet is encapsulated into a TRILL frame, and the encapsulated flooding packet is broadcasted by the network-side multicast forwarding table.
- the present invention provides a TRILL network communication device, including a routing bridge, where the routing bridge includes: The obtaining module is configured to receive the packet, and if the packet is a flooding packet, obtain the broadcast subdomain information and the virtual local area network VLAN information of the flooding packet, where the flooding packet includes multicast a message or a broadcast message or an unknown unicast message; the broadcast sub-domain information is used to identify a broadcast sub-domain, the VLAN information is used to identify a VLAN, and the VLAN includes one or more broadcast sub-domains, each broadcast sub- The domain corresponds to a tenant;
- a determining module configured to determine, according to the broadcast subdomain information and the VLAN information acquired by the acquiring module, a multicast forwarding table of the flooding packet
- a sending module configured to copy and send the flooding packet according to the multicast forwarding table determined by the determining module.
- the acquiring module is configured to obtain, by using the configuration information of the user-side port, the broadcaster of the flooding packet, if the packet is received by the user-side port. If the packet is received by the TRILL network port, the broadcast sub-domain information of the flooded packet is obtained through the broadcast sub-domain information included in the TRILL frame header.
- the device further includes: a configuration module, configured to identify different broadcast sub-domain information for different tenants in the VLAN; The method is used to allocate different user-side ports to different tenants in the VLAN, and add corresponding broadcast sub-domain information to the configuration information of the different user-side ports.
- the sending module is further configured to use the broadcast sub-domains.
- the correspondence between the information and the associated VLAN information is broadcasted to the TRILL network, so that other RBridges in the TRILL network are respectively determined according to the correspondence between the broadcast subdomain information and the associated VLAN information.
- the broadcast tree corresponding to the broadcast subdomain information and the associated VLAN information.
- the apparatus further includes: an establishing module, configured to establish a multicast forwarding corresponding to the broadcast subdomain information and the VLAN information
- the multicast forwarding table includes a local multicast forwarding table and a network side multicast forwarding table, where the local multicast forwarding table includes the routing bridge determined according to the broadcast subdomain information and the VLAN information.
- the calculated broadcast tree corresponding to the broadcast subdomain information and the VLAN information is calculated.
- the sending module is specifically configured to: according to the user-side port set information included in the local multicast forwarding table, Sending the flooding message; or encapsulating the broadcast subdomain information into a TRILL frame header, and encapsulating the flooding packet into a TRILL frame, and broadcasting the encapsulated by using the network side multicast forwarding table Flooding message.
- the present invention provides a TRILL network communication system, including: the above network communication device.
- the routing bridge obtains the broadcast sub-domain information and the VLAN information of the flooding packet when receiving the flooding packet; and determining the flooding packet according to the broadcast sub-domain information and the VLAN information.
- the multicast forwarding table is configured to copy and send the flooding packet according to the multicast forwarding table. Since the broadcast sub-domain information used by the present invention is that the RBridge is configured with corresponding broadcast sub-domain information configured by different tenants of the same virtual local area network VLAN, it is possible to allocate the same access VLAN to different tenants in the TRILL network, so that the tenant of the TRILL network The number can exceed the limit of the number of VLANs to meet the needs of practical applications.
- FIG. 1 is a schematic flowchart of a TRILL network communication method according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a TRILL network communication apparatus according to another embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of a TRILL network communication system according to another embodiment of the present invention.
- FIG. 4 is a structural diagram of a TRILL network communication system according to another embodiment of the present invention.
- FIG. 5 is a schematic diagram of a TRILL frame format used in an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a TRILL network communication apparatus according to another embodiment of the present invention.
- the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
- the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
- the routing bridge (English: Routing Bridge, RB for short) is a switch in the network of Transparent Interconnection of Lots of Links (TRILL), which has Layer 2 forwarding function and Layer 3 routing. Features.
- the TRILL network runs on the data link layer (English: Data Link Layer), which is the second layer in the open communication system interconnection reference model, and uses link state routing technology at the data link layer without interfering with the upper layer. Routing The work of the bridge.
- Data Link Layer International: Data Link Layer
- FIG. 1 is a schematic flowchart of a TRILL network communication method according to an embodiment of the present invention. As shown in FIG. 1, the method specifically includes:
- the routing bridge receives the packet, and if it is determined that the packet is a flooding packet, the broadcast subdomain information and the VLAN information of the flooding packet are obtained.
- the broadcast sub-domain information is used to identify a broadcast sub-domain
- the VLAN information is used to identify a VLAN
- the VLAN includes one or more broadcast sub-domains
- each broadcast sub-domain corresponds to one tenant.
- FIG. 5 is a schematic diagram of a TRILL frame format used in the embodiment of the present invention. As shown in FIG. 5, the TRILL frame includes:
- DA Outer destination medium access control (English: Media Access Control, MAC for short);
- VLAN the VLAN tag (TAG) header
- Original Frame Original Frame
- FCS Frame Check Sequence (English: Frame Check Sequence);
- Hop The maximum number of hops, which is decremented by one hop, and is discarded by 0 to prevent loop storms;
- TRILLHeader TRILL frame header
- the parameters in the TRILL frame header are defined:
- TRILL Ethertype TRILL Ethernet type field
- V Corresponding to the trill version, the current value is 0. If the version is not 0, the packet will be discarded directly.
- M Whether the message is a flooding flag, 0 is unicast, and 1 is flooding;
- the ingress nickname and egress nickname of the ingress are: the alias of the network device corresponding to the TRILL entry and exit; and when the flooding message is broadcast, the RBridge alias of the egress (English: Rbridge nickname) is the device alias of the root node of the broadcast tree used. .
- the outer VLAN TAG header is used to fill the VLAN information of the broadcast sub-domain that receives the flooding message.
- the reserved bits in the egress nickname are used to fill the broadcast sub-domain information of the flooding message.
- the RB can determine whether the packet is a flooding packet according to the M flag in the TRILL header. For example, M is 1 for flooding packets, and M is 0 for unicast packets.
- the flooding packet includes a multicast packet or a broadcast packet or an unknown unicast packet.
- the RB after receiving the packet, the RB can obtain the VLAN of the packet according to the VLAN in the TRILL frame. information.
- the broadcast sub-domain information of the flooded message is obtained by using the user-side port configuration information.
- the RB can assign different broadcasters to different tenants in the same VLAN according to the forwarding plane.
- a domain is used to identify different broadcast sub-domains for different tenants in the VLAN. For example, if tenant A and tenant B belong to the same VLAN, the hosts of tenant A and tenant B are mounted on the user-side port set.
- the router keeps a number of bits in the Nickname field in the encapsulated TRILL header to identify the RBridge as the broadcast subdomain information of different tenants in the same VLAN.
- the RB provides different user-side ports for different tenants in the same VLAN, and adds corresponding broadcast sub-domain information to the configuration information of the user-side ports.
- the RB bridge receives the packets through the user-side port, Obtaining broadcast subdomain information of the packet by using configuration information of the user side port.
- the RB After the RB is configured with the corresponding broadcast sub-domain information for the different tenants in the same network VLAN, the RB can broadcast the correspondence between the broadcast sub-domain information and the VLAN information to which it belongs to the TRILL network.
- the other routing bridges in the TRILL network respectively calculate a broadcast tree corresponding to each broadcast subdomain information and the VLAN information to which it belongs according to the correspondence between the broadcast subdomain information and the VLAN information to which it belongs. After the prune is performed on each broadcast sub-domain and its associated VLAN, it is delivered to the forwarding plane.
- the broadcast sub-domain information of the flooding packet is obtained by using the broadcast sub-domain information included in the TRILL frame header.
- the packet is a TRILL frame.
- the RB can resolve the packet according to the egress Rbbridge nickname in the TRILL frame header. Contains broadcast subdomain information.
- the RBridge identifies different broadcast sub-domain information for different tenants in the VLAN, and the RB bridge assigns different user-side ports to different tenants in the VLAN, and is in different user-side ports. After the corresponding broadcast sub-domain information is added to the configuration information, the RB bridge can establish different multicast forwarding tables according to different broadcast sub-domain information and the VLAN information to which it belongs.
- Each multicast forwarding table includes a local multicast forwarding table and a network side multicast forwarding table.
- the local multicast forwarding table includes the broadcast subdomain information determined by the RB bridge according to the broadcast subdomain information and VLAN information.
- the network side multicast forwarding table is a broadcast tree corresponding to the broadcast subdomain information and the VLAN information calculated by the routing bridge according to the broadcast subdomain information and the VLAN information sent by other routing bridges.
- the flooding packet is copied and sent according to the multicast forwarding table.
- the RB bridge may send the flooding message according to the user-side port set information included in the determined local multicast forwarding table.
- the RB can send the flooding packet according to the determined network-side multicast forwarding table.
- the flooding packet in each tenant is limited to the tenant.
- the RB encapsulates the broadcast subdomain information of the flooded packet into the reserved bit bit of the egress Rbbridge nickname of the TRILL frame header.
- the flooded message is encapsulated into the original frame (English: Original Frame), and then the package is broadcasted by the network side multicast forwarding table (ie, the broadcast tree corresponding to the broadcast subdomain information and the VLAN information to which it belongs)
- the RB in the TRILL network calculates the broadcast corresponding to the broadcast subdomain information and the VLAN information to which it belongs according to the broadcast subdomain information broadcasted by other RBridges and the VLAN information to which it belongs.
- the tree needs to be pruneed by the broadcast sub-domain and its associated VLAN, and then sent to the forwarding plane. Generally, if there is no corresponding broadcast sub-domain on other RBs. If the other RBs do not receive the flooding packet, the other RBs do not receive the flooding packet. If the other RBs do not have the broadcast subdomain information and VLAN information in the flooding packet, Discard the packet directly.
- FIG. 4 is a schematic structural diagram of a TRILL network communication system according to another embodiment of the present invention. As shown in FIG. 4, it is assumed that hosts hostl ⁇ host8 belong to the same VLAN; wherein hostl, host2, host5, and host6 belong to tenant A; host3, Host4, host7, and host8 belong to tenant 8.
- the TRILL network communication method in the embodiment of the present invention can ensure that the flooding traffic in the tenant A is limited to the broadcast subdomain to which the tenant A belongs. Similarly, the flooding traffic in the tenant B is limited to the broadcast subordinate to which the tenant B belongs. Within the domain.
- the RB1 is the same VLAN.
- the different tiers A and tenants B are identified in the same VLAN.
- the broadcast sub-domain information may be specifically identified by the bit bits reserved in the nickname field of RB1, further,
- RB1 adds the broadcast sub-domain information corresponding to the tenant A to the configuration information of the user-side port A corresponding to the tenant A according to the broadcast sub-domain information of the tenant A.
- the broadcast sub-domain information of the packet is obtained according to the configuration information of the port A of the user side.
- RB 1 identifies the corresponding broadcast sub-domain information for the different tenants A and tenants B in the same VLAN, and determines the corresponding multicast forwarding table according to the broadcast sub-domain information corresponding to the tenant A and the VLAN information of the tenant A.
- the multicast forwarding table includes a local multicast forwarding table and a network multicast forwarding table.
- the local multicast forwarding table includes a user-side port set corresponding to the broadcast sub-domain information of the tenant A configured by the RB1.
- hostl, host2, host5, and host6 belong to tenant A, that is, hostl, host2, host5, and host6 correspond to the same broadcast subdomain information.
- Hostl and host2 are connected to RBI, and host5 and host6 are connected to RB3.
- the broadcast subdomain information corresponding to the tenant A the broadcast subdomain information and VLAN information of the tenant A need to be broadcasted to the TRILL network.
- the RB3 identifies the broadcast subdomain information corresponding to the tenant A
- the broadcast subdomain information and the VLAN information of the tenant A are also broadcasted to the TRILL network, so that other RBs in the TRILL network are broadcast according to the received tenant A.
- Subdomain information and VLAN information, and a broadcast tree corresponding to the broadcast subdomain information and VLAN information of tenant A is calculated. Therefore, the network-side multicast forwarding table included in the multicast forwarding table established by RB1 is the broadcast sub-domain information and VLAN calculated by the RB1 according to the broadcast sub-domain information and the VL AN information of the tenant A broadcasted by the RB3. The broadcast tree corresponding to the information.
- the RB1 After the RB1 determines the multicast forwarding table, the RB1 obtains the user-side port set corresponding to the tenant A according to the local multicast forwarding table, and sends the packet to the host connected to the RB1 through the port of the user-side port set, for example, The message is sent to the host host2.
- the TRILL frame is sent by using a broadcast tree corresponding to the broadcast subdomain information and the VLAN information of the tenant A.
- the RB1 encapsulates the flooding message into a TRILL frame, including: encapsulating the broadcast subdomain information of the tenant A into a reserved bit of an egress Rbridge nickname in the TRILL frame header, and the flooding report
- the text is encapsulated into the original frame (English: Original Frame), and the M flag in the TRILL frame header is set to 1.
- the M flag bit 1 in the TRILL frame header in the TRILL frame can determine that the packet is a flooding message, according to an exit alias in the TRILL frame header. : Reserved bit in Egress Rbridge nickname), obtain the broadcast subdomain information of the packet.
- the RB3 is configured with the broadcast sub-domain information of the tenant A. It is assumed that the RB3 establishes a multicast forwarding table corresponding to the broadcast sub-domain information and the VLAN information of the tenant A. The RB3 further obtains the broadcast sub-domain information and VLAN information of the tenant A obtained.
- the multicast forwarding table includes a local multicast forwarding table, where the local multicast forwarding table includes the RB3 configuration and the tenant A
- the routing bridge obtains the broadcast sub-domain information and the VLAN information of the flooding packet when receiving the flooding packet; and determining the flooding according to the broadcast sub-domain information and the VLAN information. Packet multicast Forwarding the packet; copying and transmitting the flooding packet according to the multicast forwarding table. Since the broadcast sub-domain information used by the present invention is that the RBridge is configured with corresponding broadcast sub-domain information configured by different tenants of the same virtual local area network VLAN, it is possible to allocate the same access VLAN to different tenants in the TRILL network, so that the tenant of the TRILL network The number can exceed the limit of the number of VLANs to meet the needs of practical applications.
- FIG. 2 is a schematic structural diagram of a TRILL network communication apparatus according to another embodiment of the present invention. As shown in FIG. 2, the TRILL network communication apparatus provided in this embodiment specifically includes a routing bridge, where the routing bridge includes:
- the obtaining module 21 is configured to receive the packet, and if the packet is a flooding packet, obtain the broadcast subdomain information and the virtual local area network VLAN information of the flooding packet, where the flooding packet includes a group Broadcasting a broadcast message or an unknown unicast message; the broadcast subdomain information is used to identify a broadcast subdomain, the VLAN information is used to identify a VLAN, and the VLAN includes one or more broadcast subdomains, each broadcast The subdomain corresponds to a tenant;
- a determining module 22 configured to determine, according to the broadcast subdomain information and the VLAN information acquired by the acquiring module, a multicast forwarding table of the flooding packet;
- the sending module 23 is configured to copy and send the flooding packet according to the multicast forwarding table determined by the determining module.
- the obtaining module 21 is configured to: if the packet is received by the user-side port, obtain the broadcast sub-domain information of the flooding packet by using the configuration information of the user-side port; or After receiving the packet, the network side port obtains the broadcast subdomain information of the flooding packet by using the broadcast subdomain information included in the TRILL frame header.
- the device further includes:
- the configuration module 24 is configured to identify different broadcast sub-domain information for different tenants in the VLAN.
- the configuration module 24 is further configured to allocate different user-side ports to different tenants in the VLAN, and on different user-side ports. Add corresponding broadcast subdomain information to the configuration information.
- the sending module 23 is further configured to broadcast the correspondence between the broadcast subdomain information and the associated VLAN information to the TRILL network, so that other RBridges in the TRILL network are based on the broadcast subdomain information.
- Corresponding relationships with the associated VLAN information respectively determine a broadcast tree corresponding to each of the broadcast subdomain information and the associated VLAN information.
- the device further includes:
- the establishing module 25 is configured to establish a multicast forwarding table corresponding to the broadcast sub-domain information and the VLAN information, where the multicast forwarding table includes a local multicast forwarding table and a network-side multicast forwarding table.
- the local multicast forwarding table includes user side port set information corresponding to the broadcast subdomain information and the VLAN information determined by the RB bridge according to the broadcast subdomain information and the VLAN information;
- the network side multicast forwarding table is a broadcast tree corresponding to the broadcast subdomain information and the VLAN information calculated by the routing bridge according to the broadcast subdomain information and the VLAN information sent by other routing bridges.
- the sending module 23 is configured to send the flooding packet according to the user-side port set information included in the local multicast forwarding table, or encapsulate the broadcast sub-domain information into a TRILL frame header, where The flooding packet is encapsulated into a TRILL frame, and the encapsulated flooding packet is broadcasted by the network side multicast forwarding table.
- the routing bridge obtains the broadcast sub-domain information and the VLAN information of the flooding packet when receiving the flooding packet; and determining the flooding according to the broadcast sub-domain information and the VLAN information.
- FIG. 3 is a schematic structural diagram of a TRILL network communication system according to another embodiment of the present invention; as shown in FIG. 3, the method includes: multiple routing bridges, wherein each routing bridge is a TRILL network communication provided by the embodiment shown in FIG.
- the detailed description of the device is referred to the related content in the TRILL network communication device provided in the embodiment shown in FIG. 2, and details are not described herein again.
- FIG. 6 is a schematic structural diagram of a TRILL network communication apparatus according to another embodiment of the present invention.
- the TRILL network communication apparatus in this embodiment is specifically a routing bridge, and the routing bridge includes: a processor, When the processor is running, perform the following steps:
- the packet if the packet is a flooding packet, obtaining the broadcast subdomain information and the virtual local area network VLAN information of the flooding packet, where the flooding packet includes a multicast packet or a broadcast packet. Or the unknown unicast message; the broadcast subdomain information is used to identify a broadcast subdomain, the VLAN information is used to identify a VLAN, the VLAN includes one or more broadcast subdomains, and each broadcast subdomain corresponds to one tenant;
- the obtaining the broadcast sub-domain information of the flooding packet includes: obtaining, by using the user-side port, the configuration information of the user-side port Broadcast subdomain information of the flooding message;
- the broadcast subdomain information of the flooding packet is obtained by using the broadcast subdomain information included in the TRILL frame header.
- the method before the obtaining the broadcast sub-domain information of the flooding packet by using the user-side port configuration information, the method includes: Identify different broadcast subdomain information for different tenants in the VLAN;
- Corresponding relationships respectively determine a broadcast tree corresponding to each of the broadcast subdomain information and the associated VLAN information.
- a third possible implementation manner before determining the multicast forwarding table of the flooding packet according to the broadcast subdomain information and the VLAN information, :
- the multicast forwarding table includes a local multicast forwarding table and a network side multicast forwarding table;
- the local multicast forwarding table includes user side port set information corresponding to the broadcast subdomain information and the VLAN information determined according to the broadcast subdomain information and the VLAN information;
- the network side multicast forwarding table is a broadcast tree corresponding to the broadcast subdomain information and the VLAN information calculated according to the broadcast subdomain information and the VLAN information sent by other routing bridges.
- the flooding packet is copied and sent according to the multicast forwarding table, including:
- the routing bridge includes, in addition to the processor, a memory, a bus, and a processor, where the processor is connected to the memory through a bus.
- the routing bridge obtains the broadcast sub-domain information and the VLAN information of the flooding packet when receiving the flooding packet; and determining the flooding according to the broadcast sub-domain information and the VLAN information.
- the disclosed systems, devices, and methods can be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
- the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the above-described integrated unit implemented in the form of a software functional unit may be stored in the form of code in a computer readable storage medium.
- the above code is stored in a computer readable storage medium and includes instructions for causing a processor or hardware circuit to perform some or all of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a universal serial bus interface, a micro high-capacity mobile storage disk without a physical drive, a mobile hard disk, a read-only memory (English: Read-Only Memory, ROM for short), and a random access memory (English: Random A variety of media that can store program code, such as Access Memory (RAM), disk, or optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例公开了一种TRILL网络通信方法及装置、系统。路由桥接收到报文,若确定所述报文为泛洪报文,则获取所述泛洪报文的广播子域信息和虚拟局域网VLAN信息;根据所述广播子域信息和所述VLAN信息,确定所述泛洪报文的组播转发表;将所述泛洪报文根据所述组播转发表进行复制并发送。本发明能够实现在TRILL网络中为不同租户分配相同接入VLAN,使TRILL网络的租户数量能够突破VLAN数量的限制,满足实际的应用需求。
Description
TRILL网络的通信方法及装置、 系统 本申请要求于 2012年 11月 20日提交中国专利局、 申请号为 201210471797.4、 发明名 称为" TRILL网络的通信方法及装置、 系统"的中国专利申请的优先权, 其全部内容通过 引用结合在本申请中。
技术领域 本发明实施例涉及网络通信技术领域, 尤其涉及一种 TRILL网络通信方法及装置、 系统。 背景技术 多链接透明互联 (英文: Transparent Interconnection of Lots of Links, 简称 TRILL) 是互联网工程任务组 (英文: Internet Engineering Task Force, 简称 IEIF) 推荐的二层网 络标准, 用于解决大型数据中心 (英文: Data Center, 简称 DC) 中生成树协议 (英文: Spanning Tree Protocol) 的不足。
在 TRILL网络中,租户(英文: Tenant)可以用虚拟局域网(英文: Virtual Local Area Network, 简称 VLAN) 进行划分, 每一个租户对应一个 VLAN, 在现有的 TRILL网络通 信方法中, 当路由桥接收到泛洪报文时, 根据泛洪报文中包含的 VLAN信息, 确定与该 VLAN信息对应的组播转发表, 根据确定的组播转发表发送该泛洪报文, 从而可以保证 每一租户中的泛洪报文只限定在该租户所属的 VLAN内; 然而, 按 802.1Q标准, VLAN 字段最多支持 4094个 VLAN, 也就是说, 在一个 TRILL网络, 最多支持不超过 4094个租 户数量, 因此, 无法满足 TRILL网络发展的实际应用需求。 发明内容 本发明实施例提供一种 TRILL网络通信方法及装置、 系统, 能够解决上述 TRILL 网络对租户数量限制的问题。
第一方面, 本发明提供一种 TRILL网络通信方法, 包括:
路由桥接收报文, 若确定所述报文为泛洪报文, 则获取所述泛洪报文的广播子域信 息和虚拟局域网 VLAN信息, 所述泛洪报文包括组播报文或广播报文或未知单播报文; 所述广播子域信息用于识别广播子域, 所述 VLAN信息用于识别 VLAN, 所述 VLAN包
括一个或多个广播子域, 每一广播子域对应一个租户;
根据所述广播子域信息和所述 VLAN信息, 确定所述泛洪报文的组播转发表; 将所述泛洪报文根据所述组播转发表进行复制并发送。
在第一种可能的实现方式中, 所述获取所述泛洪报文的广播子域信息, 包括: 若所述路由桥通过用户侧端口接收所述报文, 则通过所述用户侧端口的配置信息获 取所述泛洪报文的广播子域信息;
若所述路由桥通过 TRILL网络侧端口接收所述报文, 则通过 TRILL帧头中包含的 广播子域信息获取所述泛洪报文的广播子域信息。
基于第一种可能的实现方式, 在第二种可能的实现方式中, 通过所述用户侧端口配 置信息获取所述泛洪报文的广播子域信息之前, 包括:
所述路由桥为所述 VLAN中不同租户标识不同的广播子域信息;
所述路由桥为所述 VLAN中不同租户分配不同的用户侧端口,并在不同的用户侧端 口的配置信息中添加对应的广播子域信息;
将所述各广播子域信息和所属的 VLAN信息之间的对应关系广播到 TRILL网络中, 以使所述 TRILL网络中的其他路由桥根据所述各广播子域信息和所属的 VLAN信息之 间的对应关系, 分别确定与所述各广播子域信息和所属的 VLAN信息对应的广播树。
基于第一、 第二种可能的实现方式, 在第三种可能的实现方式中, 根据所述广播子 域信息和所述 VLAN信息, 确定所述泛洪报文的组播转发表之前, 包括:
所述路由桥建立与所述广播子域信息和所述 VLAN信息对应的组播转发表,所述组 播转发表中包括本地组播转发表和网络侧组播转发表;
所述本地组播转发表中包含所述路由桥根据所述广播子域信息和所述 VLAN信息 确定的与所述广播子域信息和所述 VLAN信息对应的用户侧端口集信息;
所述网络侧组播转发表是所述路由桥根据其他路由桥发送的所述广播子域信息和 所述 VLAN信息计算得到的与所述广播子域信息和所述 VLAN信息对应的广播树。
基于第一、 第二和第三种可能的实现方式, 在第四种可能的实现方式中, 将所述泛 洪报文根据所述组播转发表进行复制并发送, 包括:
所述路由桥根据所述本地组播转发表中包含的用户侧端口集信息, 发送所述泛洪报 文;
所述路由桥将所述广播子域信息封装到 TRILL帧头,将所述泛洪报文封装到 TRILL 帧中, 通过所述网络侧组播转发表广播所述封装后的泛洪报文。
第二方面, 本发明提供一种 TRILL网络通信装置, 包括路由桥, 所述路由桥包括:
获取模块, 用于接收到报文, 若确定所述报文为泛洪报文, 则获取所述泛洪报文的 广播子域信息和虚拟局域网 VLAN信息,所述泛洪报文包括组播报文或广播报文或未知 单播报文; 所述广播子域信息用于识别广播子域, 所述 VLAN信息用于识别 VLAN, 所述 VLAN包括一个或多个广播子域, 每一广播子域对应一个租户;
确定模块,用于根据所述获取模块获取的广播子域信息和所述 VLAN信息,确定所 述泛洪报文的组播转发表;
发送模块,用于将所述泛洪报文根据所述确定模块确定的组播转发表进行复制并发 送。
在第一种可能的实现方式中, 所述获取模块, 具体用于若通过用户侧端口接收到所 述报文, 则通过所述用户侧端口的配置信息获取所述泛洪报文的广播子域信息; 或者若 通过 TRILL网络侧端口接收到所述报文, 则通过 TRILL帧头中包含的广播子域信息获 取所述泛洪报文的广播子域信息。
基于第一种可能的实现方式, 在第二种可能的实现方式中, 所述装置还包括配置模 块, 用于为所述 VLAN中不同租户标识不同的广播子域信息; 所述配置模块, 还用于为 所述 VLAN中不同租户分配不同的用户侧端口,并在不同的用户侧端口的配置信息中添 加对应的广播子域信息; 所述发送模块, 还用于将所述各广播子域信息和所属的 VLAN 信息之间的对应关系广播到 TRILL网络中, 以使所述 TRILL网络中的其他路由桥根据 所述各广播子域信息和所属的 VLAN信息之间的对应关系,分别确定与所述各广播子域 信息和所属的 VLAN信息对应的广播树。
基于第一、 第二种可能的实现方式, 在第三种可能的实现方式中, 所述装置还包括 建立模块,用于建立与所述广播子域信息和所述 VLAN信息对应的组播转发表,所述组 播转发表中包括本地组播转发表和网络侧组播转发表; 所述本地组播转发表中包含所述 路由桥根据所述广播子域信息和所述 VLAN 信息确定的与所述广播子域信息和所述 VLAN信息对应的用户侧端口集信息;所述网络侧组播转发表是所述路由桥根据其他路 由桥发送的所述广播子域信息和所述 VLAN信息计算得到的与所述广播子域信息和所 述 VLAN信息对应的广播树。
基于第一、 第二和第三种可能的实现方式, 在第四种可能的实现方式中, 所述发送 模块, 具体用于根据所述本地组播转发表中包含的用户侧端口集信息, 发送所述泛洪报 文; 或者将所述广播子域信息封装到 TRILL帧头中, 将所述泛洪报文封装到 TRILL帧 中, 通过所述网络侧组播转发表广播所述封装后的泛洪报文。
第三方面, 本发明提供一种 TRILL网络通信系统, 包括: 上述网络通信装置。
本发明中, 路由桥接收到泛洪报文的情况下, 获取所述泛洪报文的广播子域信息和 VLAN信息; 根据所述广播子域信息和 VLAN信息, 确定所述泛洪报文的组播转发表; 将所述泛洪报文根据所述组播转发表进行复制并发送。 由于本发明采用的广播子域信息 是路由桥为同一虚拟局域网 VLAN的不同租户配置的对应的广播子域信息,因此能够实 现在 TRILL网络中为不同租户分配相同接入 VLAN, 使 TRILL网络的租户数量能够突 破 VLAN数量的限制, 满足实际应用需求。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例或现有 技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的附图是本发 明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还 可以根据这些附图获得其他的附图。
图 1为本发明一实施例提供的 TRILL网络通信方法的流程示意图;
图 2为本发明另一实施例提供的 TRILL网络通信装置的结构示意图;
图 3为本发明另一实施例提供的 TRILL网络通信系统的结构示意图;
图 4为本发明另一实施例提供的 TRILL网络通信系统架构图;
图 5为本发明实施例采用的 TRILL帧格式示意图;
图 6为本发明另一实施例提供的 TRILL网络通信装置的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发明实施例中 的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例 是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技 术人员在没有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范 围。
本实施例应用的路由桥 (英文: Routing Bridge, 简称 RB) 为多链接透明互联 (英 文: Transparent Interconnection of Lots of Links, 简称 TRILL) 网络中的交换机, 其同时 具有二层转发功能和三层路由功能。
其中, TRILL网络运行在数据链路层(英文: Data Link Layer), 即开放式通信系统 互连参考模型中的二层, 将链路状态路由技术用在数据链路层, 而且不会干扰上层路由
桥的工作。
图 1为本发明一实施例提供的 TRILL网络通信方法的流程示意图, 如图 1所示, 具体包括:
101、 路由桥接收报文, 若确定所述报文为泛洪报文, 则获取所述泛洪报文的广播 子域信息和 VLAN信息。
其中, 所述广播子域信息用于识别广播子域, 所述 VLAN信息用于识别 VLAN, 所述 VLAN包括一个或多个广播子域, 每个广播子域对应一个租户。
在本发明的一个实施方式中, 图 5为本发明实施例采用的 TRILL帧格式示意图, 如 图 5所示, TRILL帧包括:
DA:外层目的介质访问控制 (英文: Media Access Control, 简称 MAC);
SA:外层源 MAC;
VLAN:夕卜层 VLAN标签 (TAG) 头;
Original Frame: 原始巾贞;
FCS: 帧校验序列 (英文: Frame Check Sequence) ;
Hop : 最大跳数, 逐跳减一, 为 0丢弃, 防止环路风暴;
TRILLHeader: TRILL帧头;
其中, TRILL帧头中的各参数定义:
TRILL Ethertype: TRILL以太网类型字段;
V: 对应 trill的版本, 当前为 0, 如果发现不为 0的版本会直接丢弃报文;
M: 报文是否为泛洪标志, 0为单播, 1为泛洪;
R (Reserved): 保留比特 bit位;
Op-Length: TRILL帧头 (;英文: TRILL Header)头扩展选项的长度;
入口 Ingress nickname和出口 Egress nickname分别为:对应 TRILL入口和出口的网 络设备的别名; 而广播泛洪报文时, 出口的路由桥别名 (英文: Rbridge nickname) 是 使用的广播树根节点的设备别名。
其中,外层 VLAN TAG头用于填充接收该泛洪报文的广播子域所属的 VLAN信息; 出口 Egress nickname中保留的比特位用于填充该泛洪报文的广播子域信息。
路由桥接收报文之后,可以根据 TRILL帧头中的 M标志确定该报文是否为泛洪报文, 例如 M为 1表示为泛洪报文, M为 0表示单播报文。 其中, 泛洪报文包括组播报文或广播 报文或未知单播报文。
如图 5所示, 路由桥接收报文之后, 可以根据 TRILL帧中 VLAN获取该报文的 VLAN
信息。
在本发明的一个实施方式中, 若所述路由桥通过用户侧端口接收到报文, 则通过所 述用户侧端口配置信息获取所述泛洪报文的广播子域信息。 具体实现时:
为了能够实现在 TRILL 网络中为不同租户分配相同 VLAN, 转发层面为同一个 VLAN 中的不同租户分配不同的广播子域, 路由桥可以根据转发层面为同一个 VLAN 中的不同租户分配不同的广播子域, 为所述 VLAN 中不同租户标识不同的广播子域信 息, 具体实现时, 例如, 假设租户 A和租户 B的属于同一 VLAN, 租户 A和租户 B的 宿主机通过用户侧端口集挂载在同一路由桥上, 该路由器将封装的 TRILL 帧头中的 Nickname字段中保留出数个 bit位,用于标识该路由桥为同一 VLAN中不同租户的广播 子域信息。之后, 该路由桥为同一 VLAN中不同租户分配不同的用户侧端口, 并在不同 的用户侧端口的配置信息中添加对应的广播子域信息, 从而当路由桥通过用户侧端口接 收到报文时, 通过所述用户侧端口的配置信息获取所述报文的广播子域信息。
其中,在路由桥为同一网 VLAN中不同租户配置了对应的广播子域信息之后,该路 由桥可以将各广播子域信息及其所属的 VLAN信息之间的对应关系广播到 TRILL网络 中, 以使所述 TRILL网络中的其他路由桥根据所述各广播子域信息及其所属的 VLAN 信息之间的对应关系,分别计算与所述各广播子域信息及其所属的 VLAN信息对应的广 播树, 按各广播子域及其所属的 VLAN进行剪枝后, 下发到转发平面。
在本发明的一个实施方式中, 若所述路由桥通过 TRILL 网络侧端口接收到报文, 则通过 TRILL帧头中包含的广播子域信息获取所述泛洪报文的广播子域信息。 具体实 现时:
若所述路由桥通过 TRILL网络侧端口接收到报文时,该报文为 TRILL帧,如图 5所示, 路由桥可以根据 TRILL帧头中的出口别名 (英文: Egress Rbbridge nickname) 解析出其 中包含的广播子域信息。
102、 根据所述获取的广播子域信息和 VLAN信息, 确定所述泛洪报文的组播转发 表。
在本发明的一个实施方式中,路由桥为所述 VLAN中不同租户标识不同的广播子域 信息, 以及路由桥为所述 VLAN中不同租户分配不同的用户侧端口,并在不同的用户侧 端口的配置信息中添加对应的广播子域信息之后, 该路由桥可以根据不同的广播子域信 息和其所属的 VLAN信息建立不同的组播转发表。
其中, 每个组播转发表中包括本地组播转发表和网络侧组播转发表。 本地组播转发 表中包含所述路由桥根据所述广播子域信息和 VLAN信息确定的与所述广播子域信息
和 VLAN信息对应的用户侧端口集信息。网络侧组播转发表是所述路由桥根据其他路由 桥发送的所述广播子域信息和 VLAN信息计算得到的与所述广播子域信息和 VLAN信 息对应的广播树。
103、 将所述泛洪报文根据所述组播转发表进行复制并发送。
在本发明的一个实施方式中,路由桥可以根据确定的本地组播转发表中包含的用户 侧端口集信息, 发送所述泛洪报文;
在本发明的一个实施方式中,路由桥可以根据确定的网络侧组播转发表发送所述泛 洪报文, 具体实现时, 为了能够实现每一租户中的泛洪报文只限定在该租户所属的广播 子域内, 如图 5所示, 路由桥将泛洪报文的广播子域信息封装到 TRILL帧头的出口别名 (英文: Egress Rbbridge nickname) 的保留比特 bit位中, 将所述泛洪报文封装到原始帧 (英文: Original Frame) 中, 之后, 通过所述网络侧组播转发表(即与所述广播子域信 息及其所属的 VLAN信息对应的广播树) 广播所述封装后的泛洪报文, 通常, TRILL网 络中的路由桥根据其他路由桥广播的广播子域信息及其所属的 VLAN信息, 分别计算与 所述广播子域信息及其所属的 VLAN信息对应的广播树, 需要按广播子域及其所属的 VLAN进行剪枝后, 下发到转发平面, 一般来说, 如果其他 RB上没有对应的广播子域信 息和 VLAN信息, 则其他 RB是接收不到泛洪报文的, 假设其他 RB接收到泛洪报文, 由 于该其他 RB本地没有配置泛洪报文中的广播子域信息和 VLAN信息, 则直接丢弃该报 文。
图 4为本发明另一实施例提供的 TRILL网络通信系统架构图, 如图 4所示, 假设宿主 机 hostl~host8属于同一个 VLAN; 其中, hostl、 host2、 host5、 host6属于租户 A; host3、 host4、 host7、 host8属于租户8。 通过本发明实施例所述的 TRILL网络通信方法, 可以保 证租户 A中的泛洪流量只限定在租户 A所属的广播子域内,同样租户 B中的泛洪流量只限 定在租户 B所属的广播子域内。
当宿主机 hostl发出一个泛洪报文, 为了保证租户 A中的泛洪流量只限定在租户 A所 属的广播子域内,假设路由桥 RB1为同一个 VLAN中不同租户 A和租户 B分别标识了对应 的广播子域信息,具体可以通过 RB1的 nickname字段中保留的 bit位进行标识,进一步地,
RB1根据租户 A的广播子域信息, 分别在与租户 A对应的用户侧端口 A的配置信息中添加 租户 A对应的广播子域信息, 当路由桥 RB1通过用户侧端口 A接收到报文时,根据用户侧 端口 A的配置信息, 获取该报文的广播子域信息。
进一步假设 RB 1为同一个 VLAN中不同租户 A和租户 B标识了对应的广播子域信息 之后, 根据租户 A对应的广播子域信息以及租户 A的 VLAN信息确定对应的组播转发表,
其中, 该组播转发表包括本地组播转发表和网络组播转发表。
其中, 本地组播转发表中包括 RB1配置的与租户 A的广播子域信息对应的用户侧端 口集。
如图 4所示, hostl、 host2 host5、 host6属于租户 A, 即 hostl、 host2 host5、 host6 对应同一个广播子域信息, 其中, hostl、 host2与 RBI连接, host5、 host6与 RB3连接, 当 RBI标识了租户 A对应的广播子域信息之后,需要将租户 A的广播子域信息和 VLAN信 息广播到 TRILL网络中。 同样, 当 RB3标识了租户 A对应的广播子域信息之后, 也需要 将租户 A的广播子域信息和 VLAN信息广播到 TRILL网络中, 使得 TRILL网络中的其他 RB根据接收到的租户 A的广播子域信息和 VLAN信息, 计算与租户 A的广播子域信息和 VLAN信息对应的广播树。 由此可知, RB1建立的组播转发表中包含的网络侧组播转发 表是 RB1根据 RB3广播的租户 A的广播子域信息和 VL AN信息计算得到的与租户 A的广 播子域信息和 VLAN信息对应的广播树。
进一步地, RB1确定组播转发表之后, 根据本地组播转发表, 获取租户 A对应的用 户侧端口集, 通过该用户侧端口集中的端口将该报文发送给连接 RB1的宿主机, 例如, 将该报文发送给宿主机 host2。
进一步地, RB1将所述泛洪报文封装成 TRILL帧后, 通过与租户 A的广播子域信息 和 VLAN信息对应的广播树发送所述 TRILL帧。 RB1将所述泛洪报文封装成 TRILL帧包 括: 将租户 A的广播子域信息封装到 TRILL帧头中的出口别名 (英文: Egress Rbridge nickname) 的保留 bit位中, 将所述泛洪报文封装到原始帧 (英文: Original Frame) 中, 以及将 TRILL帧头中的 M标志置 1。
对应地, RB3通过网络侧端口接收该 TRILL帧后, 根据该 TRILL帧中的 TRILL帧头 中的 M标志位 1可以确定该报文为泛洪报文,根据 TRILL帧头中的出口别名(英文: Egress Rbridge nickname)中的保留 bit位, 获取该报文的广播子域信息。 由于 RB3中配置有租户 A的广播子域信息,假设 RB3建立了与租户 A的广播子域信息和 VLAN信息对应的组播转 发表, RB3进一步根据获取的租户 A的广播子域信息和 VLAN信息, 获取与租户 A的广播 子域信息和 VLAN信息对应的组播转发表,其中,该组播转发表中包含本地组播转发表, 该本地组播转发表中包括 RB3配置的与租户 A的广播子域信息对应的用户侧端口集; 进 一步地, RB3根据本地组播转发表, 获取租户 A对应的用户侧端口集, 通过该用户侧端 口集中的端口将该报文发送给宿主机 host5和 host6。
本发明实施例中, 路由桥接收到泛洪报文的情况下, 获取所述泛洪报文的广播子域 信息和 VLAN信息; 根据所述广播子域信息和 VLAN信息, 确定所述泛洪报文的组播
转发表; 将所述泛洪报文根据所述组播转发表进行复制并发送。 由于本发明采用的广播 子域信息是路由桥为同一虚拟局域网 VLAN的不同租户配置的对应的广播子域信息,因 此能够实现在 TRILL网络中为不同租户分配相同接入 VLAN, 使 TRILL网络的租户数 量能够突破 VLAN数量的限制, 满足实际应用需求。
图 2为本发明另一实施例提供的 TRILL网络通信装置的结构示意图; 如图 2所示, 本实施例提供的 TRILL网络通信装置具体包括路由桥, 所述路由桥包括:
获取模块 21, 用于接收到报文, 若确定所述报文为泛洪报文, 则获取所述泛洪报文 的广播子域信息和虚拟局域网 VLAN信息,所述泛洪报文包括组播报文或广播报文或未 知单播报文; 所述广播子域信息用于识别广播子域, 所述 VLAN信息用于识别 VLAN, 所述 VLAN包括一个或多个广播子域, 每个广播子域对应一个租户;
确定模块 22, 用于根据所述获取模块获取的广播子域信息和所述 VLAN信息, 确 定所述泛洪报文的组播转发表;
发送模块 23,用于将所述泛洪报文根据所述确定模块确定的组播转发表进行复制并 发送。
举例来说, 获取模块 21, 具体用于若通过用户侧端口接收到所述报文, 则通过所述 用户侧端口的配置信息获取所述泛洪报文的广播子域信息; 或者若通过 TRILL 网络侧 端口接收到所述报文, 则通过 TRILL帧头中包含的广播子域信息获取所述泛洪报文的 广播子域信息。
举例来说, 所述装置还包括:
配置模块 24, 用于为所述 VLAN中不同租户标识不同的广播子域信息; 配置模块 24, 还用于为所述 VLAN中不同租户分配不同的用户侧端口, 并在不同 的用户侧端口的配置信息中添加对应的广播子域信息;
发送模块 23, 还用于将所述各广播子域信息和所属的 VLAN信息之间的对应关系 广播到 TRILL网络中, 以使所述 TRILL网络中的其他路由桥根据所述各广播子域信息 和所属的 VLAN信息之间的对应关系,分别确定与所述各广播子域信息和所属的 VLAN 信息对应的广播树。
举例来说, 所述装置还包括:
建立模块 25,用于建立与所述广播子域信息和所述 VLAN信息对应的组播转发表, 所述组播转发表中包括本地组播转发表和网络侧组播转发表;
所述本地组播转发表中包含所述路由桥根据所述广播子域信息和所述 VLAN信息 确定的与所述广播子域信息和所述 VLAN信息对应的用户侧端口集信息;
所述网络侧组播转发表是所述路由桥根据其他路由桥发送的所述广播子域信息和 所述 VLAN信息计算得到的与所述广播子域信息和所述 VLAN信息对应的广播树。
发送模块 23,具体用于根据所述本地组播转发表中包含的用户侧端口集信息,发送 所述泛洪报文; 或者将所述广播子域信息封装到 TRILL帧头中, 将所述泛洪报文封装 到 TRILL帧中, 通过所述网络侧组播转发表广播所述封装后的泛洪报文。
本发明实施例中, 路由桥接收到泛洪报文的情况下, 获取所述泛洪报文的广播子域 信息和 VLAN信息; 根据所述广播子域信息和 VLAN信息, 确定所述泛洪报文的组播 转发表; 将所述泛洪报文根据所述组播转发表进行复制并发送。 由于本发明采用的广播 子域信息是路由桥为同一虚拟局域网 VLAN的不同租户配置的对应的广播子域信息,因 此能够实现在 TRILL网络中为不同租户分配相同接入 VLAN, 使 TRILL网络的租户数 量能够突破 VLAN数量的限制, 满足实际应用需求。
图 3为本发明另一实施例提供的 TRILL网络通信系统的结构示意图; 如图 3所示, 包括: 多个路由桥, 其中, 每个路由桥为图 2所示实施例提供的 TRILL网络通信装置, 有关路由桥的详细说明参考为图 2所示实施例提供的 TRILL网络通信装置中的相关内 容, 不再赘述。
图 6为本发明另一实施例提供的一种 TRILL网络通信装置的结构示意图, 如图 6 所示, 本实施例所述的 TRILL 网络通信装置具体为路由桥, 该路由桥包括: 处理器, 当该处理器运行时, 执行如下步骤:
接收报文, 若确定所述报文为泛洪报文, 则获取所述泛洪报文的广播子域信息和虚 拟局域网 VLAN信息, 所述泛洪报文包括组播报文或广播报文或未知单播报文; 所述广 播子域信息用于识别广播子域, 所述 VLAN信息用于识别 VLAN, 所述 VLAN包括一个 或多个广播子域, 每个广播子域对应一个租户;
根据所述广播子域信息和所述 VLAN信息, 确定所述泛洪报文的组播转发表; 将所述泛洪报文根据所述组播转发表进行复制并发送。
在第一种可能的实现方式中, 所述获取所述泛洪报文的广播子域信息, 包括: 若通过用户侧端口接收所述报文, 则通过所述用户侧端口的配置信息获取所述泛洪 报文的广播子域信息;
若通过 TRILL网络侧端口接收所述报文, 则通过 TRILL帧头中包含的广播子域信 息获取所述泛洪报文的广播子域信息。
基于第一种可能的实现方式, 在第二种可能的实现方式中, 通过所述用户侧端口配 置信息获取所述泛洪报文的广播子域信息之前, 包括:
为所述 VLAN中不同租户标识不同的广播子域信息;
为所述 VLAN中不同租户分配不同的用户侧端口,并在不同的用户侧端口的配置信 息中添加对应的广播子域信息;
将所述各广播子域信息和所属的 VLAN信息之间的对应关系广播到 TRILL网络中, 以使所述 TRILL网络中的其他路由桥根据所述各广播子域信息和所属的 VLAN信息之 间的对应关系, 分别确定与所述各广播子域信息和所属的 VLAN信息对应的广播树。
基于第一、 第二种可能的实现方式, 在第三种可能的实现方式中, 根据所述广播子 域信息和所述 VLAN信息, 确定所述泛洪报文的组播转发表之前, 包括:
建立与所述广播子域信息和所述 VLAN信息对应的组播转发表,所述组播转发表中 包括本地组播转发表和网络侧组播转发表;
所述本地组播转发表中包含根据所述广播子域信息和所述 VLAN信息确定的与所 述广播子域信息和所述 VLAN信息对应的用户侧端口集信息;
所述网络侧组播转发表是根据其他路由桥发送的所述广播子域信息和所述 VLAN 信息计算得到的与所述广播子域信息和所述 VLAN信息对应的广播树。
基于第一、 第二和第三种可能的实现方式, 在第四种可能的实现方式中, 将所述泛 洪报文根据所述组播转发表进行复制并发送, 包括:
根据所述本地组播转发表中包含的用户侧端口集信息, 发送所述泛洪报文; 将所述广播子域信息封装到 TRILL帧头, 将所述泛洪报文封装到 TRILL帧中, 通 过所述网络侧组播转发表广播所述封装后的泛洪报文。
具体地, 所述路由桥除了包括处理器之外, 例如还包括内存、 总线、 其中, 处理器 通过总线与内存进行连接。
本发明实施例中, 路由桥接收到泛洪报文的情况下, 获取所述泛洪报文的广播子域 信息和 VLAN信息; 根据所述广播子域信息和 VLAN信息, 确定所述泛洪报文的组播 转发表; 将所述泛洪报文根据所述组播转发表进行复制并发送。 由于本发明采用的广播 子域信息是路由桥为同一虚拟局域网 VLAN的不同租户配置的对应的广播子域信息,因 此能够实现在 TRILL网络中为不同租户分配相同接入 VLAN, 使 TRILL网络的租户数 量能够突破 VLAN数量的限制, 满足实际应用需求。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描述的系 统, 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在此不 再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方法,
可以通过其它的方式实现。例如, 以上所描述的装置实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是 通过一些接口, 装置或单元的间接耦合或通信连接, 可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作为单元 显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分 布到多个网络单元上。 可以根据实际的需要选择其中的部分或者全部单元来实现本 实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可 以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。 上述 集成的单元既可以采用硬件的形式实现, 也可以采用硬件加软件功能单元的形式实 现。
上述以软件功能单元的形式实现的集成的单元, 可以以代码的形式存储在一个 计算机可读取存储介质中。 上述代码存储在一个计算机可读存储介质中, 包括若干 指令用以使处理器或硬件电路执行本发明各个实施例所述方法的部分或全部步骤。 而前述的存储介质包括: 通用串行总线接口的无需物理驱动器的微型高容量移动存 储盘、 移动硬盘、 只读存储器 (英文: Read-Only Memory, 简称 ROM) 、 随机存 取存储器 (英文: Random Access Memory, 简称 RAM) 、 磁碟或者光盘等各种可 以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理 解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术 特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明 各实施例技术方案的保护范围。
Claims
1、 一种 TRILL网络通信方法, 其特征在于, 包括:
路由桥接收报文, 若确定所述报文为泛洪报文, 则获取所述泛洪报文的广播子域信 息和虚拟局域网 VLAN信息, 所述泛洪报文包括组播报文或广播报文或未知单播报文; 所述广播子域信息用于识别广播子域, 所述 VLAN信息用于识别 VLAN, 所述 VLAN包 括一个或多个广播子域, 每个广播子域对应一个租户;
根据所述广播子域信息和所述 VLAN信息, 确定所述泛洪报文的组播转发表; 将所述泛洪报文根据所述组播转发表进行复制并发送。
2、 根据权利要求 1所述的方法, 其特征在于, 所述获取所述泛洪报文的广播子域 信息, 包括:
若所述路由桥通过用户侧端口接收到所述报文, 则通过所述用户侧端口的配置信息 获取所述泛洪报文的广播子域信息;
若所述路由桥通过 TRILL网络侧端口接收到所述报文, 则通过 TRILL帧头中包含 的广播子域信息获取所述泛洪报文的广播子域信息。
3、 根据权利要求 2所述的方法, 其特征在于, 通过所述用户侧端口的配置信息获 取所述泛洪报文的广播子域信息之前, 所述方法还包括:
所述路由桥为所述 VLAN中不同租户标识不同的广播子域信息;
所述路由桥为所述 VLAN中不同租户分配不同的用户侧端口,并在不同的用户侧端 口的配置信息中添加对应的广播子域信息;
将所述各广播子域信息和所属的 VLAN信息之间的对应关系广播到 TRILL网络中, 以使所述 TRILL网络中的其他路由桥根据所述各广播子域信息和所属的 VLAN信息之 间的对应关系, 分别确定与所述各广播子域信息和所属的 VLAN信息对应的广播树。
4、 根据权利要求 1-3 任一项所述的方法, 其特征在于, 根据所述广播子域信息和 所述 VLAN信息, 确定所述泛洪报文的组播转发表之前, 包括:
所述路由桥建立与所述广播子域信息和所述 VLAN信息对应的组播转发表,所述组 播转发表中包括本地组播转发表和网络侧组播转发表;
所述本地组播转发表中包含所述路由桥根据所述广播子域信息和所述 VLAN信息 确定的与所述广播子域信息和所述 VLAN信息对应的用户侧端口集信息;
所述网络侧组播转发表是所述路由桥根据其他路由桥发送的所述广播子域信息和 所述 VLAN信息计算得到的与所述广播子域信息和所述 VLAN信息对应的广播树。
5、 根据权利要求 4所述的方法, 其特征在于, 将所述泛洪报文根据所述组播转发 表进行复制并发送, 包括:
所述路由桥根据所述本地组播转发表中包含的用户侧端口集信息, 发送所述泛洪报 文;
所述路由桥将所述广播子域信息封装到 TRILL 帧头中, 将所述泛洪报文封装到
TRILL帧中, 通过所述网络侧组播转发表广播所述封装后的泛洪报文。
6、 一种 TRILL网络通信装置, 包括路由桥, 其特征在于, 所述路由桥包括: 获取模块, 用于接收到报文, 若确定所述报文为泛洪报文, 则获取所述泛洪报文的 广播子域信息和虚拟局域网 VLAN信息,所述泛洪报文包括组播报文或广播报文或未知 单播报文; 所述广播子域信息用于识别广播子域, 所述 VLAN信息用于识别 VLAN, 所述 VLAN包括一个或多个广播子域, 每个广播子域对应一个租户;
确定模块,用于根据所述获取模块获取的广播子域信息和所述 VLAN信息,确定所 述泛洪报文的组播转发表;
发送模块,用于将所述泛洪报文根据所述确定模块确定的组播转发表进行复制并发 送。
7、 根据权利要求 6所述的装置, 其特征在于, 所述获取模块, 具体用于若通过用 户侧端口接收到所述报文, 则通过所述用户侧端口的配置信息获取所述泛洪报文的广播 子域信息; 或者若通过 TRILL网络侧端口接收到所述报文, 则通过 TRILL帧头中包含 的广播子域信息获取所述泛洪报文的广播子域信息。
8、 根据权利要求 7所述的装置, 其特征在于, 还包括:
配置模块, 用于为所述 VLAN中不同租户标识不同的广播子域信息;
所述配置模块,还用于为所述 VLAN中不同租户分配不同的用户侧端口,并在不同 的用户侧端口的配置信息中添加对应的广播子域信息;
所述发送模块,还用于将所述各广播子域信息和所属的 VLAN信息之间的对应关系 广播到 TRILL网络中, 以使所述 TRILL网络中的其他路由桥根据所述各广播子域信息 和所属的 VLAN信息之间的对应关系,分别确定与所述各广播子域信息和所属的 VLAN 信息对应的广播树。
9、 根据权利要求 6-8中任意一项所述的装置, 其特征在于, 还包括:
建立模块,用于建立与所述广播子域信息和所述 VLAN信息对应的组播转发表,所 述组播转发表中包括本地组播转发表和网络侧组播转发表;
所述本地组播转发表中包含所述路由桥根据所述广播子域信息和所述 VLAN信息
确定的与所述广播子域信息和所述 VLAN信息对应的用户侧端口集信息; 所述网络侧组播转发表是所述路由桥根据其他路由桥发送的所述广播子域信息和 所述 VLAN信息计算得到的与所述广播子域信息和所述 VLAN信息对应的广播树。
10、 根据权利要求 9所述的装置, 其特征在于, 所述发送模块, 具体用于根据所述 本地组播转发表中包含的用户侧端口集信息, 发送所述泛洪报文; 或者将所述广播子域 信息封装到 TRILL帧头中, 将所述泛洪报文封装到 TRILL帧中, 通过所述网络侧组播 转发表广播所述封装后的泛洪报文。
11、 一种 TRILL网络通信系统, 其特征在于, 包括: 如权利要求 6-10任一项所述 的 TRILL网络通信装置。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210471797.4 | 2012-11-20 | ||
CN201210471797.4A CN102932228B (zh) | 2012-11-20 | 2012-11-20 | Trill网络的通信方法及装置、系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014079208A1 true WO2014079208A1 (zh) | 2014-05-30 |
Family
ID=47646935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/076061 WO2014079208A1 (zh) | 2012-11-20 | 2013-05-22 | Trill网络的通信方法及装置、系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102932228B (zh) |
WO (1) | WO2014079208A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932228B (zh) * | 2012-11-20 | 2016-03-09 | 华为技术有限公司 | Trill网络的通信方法及装置、系统 |
CN104702506B (zh) * | 2013-12-09 | 2018-10-19 | 华为技术有限公司 | 一种报文传输方法、网络节点及报文传输系统 |
CN104954264B (zh) * | 2014-03-24 | 2018-07-13 | 华为技术有限公司 | 组播连接标识符分配方法、装置 |
CN110830371B (zh) * | 2019-11-13 | 2022-04-05 | 迈普通信技术股份有限公司 | 报文重定向方法、装置、电子设备及可读存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110764A (zh) * | 2007-08-13 | 2008-01-23 | 中兴通讯股份有限公司 | 一种以太网交换机数据帧划分虚拟局域网并转发的方法 |
CN102223303A (zh) * | 2011-06-14 | 2011-10-19 | 杭州华三通信技术有限公司 | 一种基于多链接透明互联的负载均衡方法和路由桥 |
CN102932228A (zh) * | 2012-11-20 | 2013-02-13 | 华为技术有限公司 | Trill网络的通信方法及装置、系统 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9806906B2 (en) * | 2010-06-08 | 2017-10-31 | Brocade Communications Systems, Inc. | Flooding packets on a per-virtual-network basis |
CN102684985B (zh) * | 2011-03-17 | 2017-03-29 | 中兴通讯股份有限公司 | 一种多链接互连网络分域互连的方法和系统 |
-
2012
- 2012-11-20 CN CN201210471797.4A patent/CN102932228B/zh active Active
-
2013
- 2013-05-22 WO PCT/CN2013/076061 patent/WO2014079208A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110764A (zh) * | 2007-08-13 | 2008-01-23 | 中兴通讯股份有限公司 | 一种以太网交换机数据帧划分虚拟局域网并转发的方法 |
CN102223303A (zh) * | 2011-06-14 | 2011-10-19 | 杭州华三通信技术有限公司 | 一种基于多链接透明互联的负载均衡方法和路由桥 |
CN102932228A (zh) * | 2012-11-20 | 2013-02-13 | 华为技术有限公司 | Trill网络的通信方法及装置、系统 |
Also Published As
Publication number | Publication date |
---|---|
CN102932228A (zh) | 2013-02-13 |
CN102932228B (zh) | 2016-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10218624B2 (en) | Service instance mapping method, apparatus and system | |
US5684800A (en) | Method for establishing restricted broadcast groups in a switched network | |
US9031069B2 (en) | Method, system, and apparatus for extranet networking of multicast virtual private network | |
JP4801153B2 (ja) | 通信ネットワーク内のIPv6ステートレスアドレス構成をサポートするアクセス装置、ルーティング装置およびその方法 | |
JP2021530912A (ja) | ネットワークスライス制御方法及び装置、コンピュータ読み取り可能な記憶媒体 | |
US10523464B2 (en) | Multi-homed access | |
EP4231597A1 (en) | Method for forwarding bier message, and device and system | |
US20110170545A1 (en) | Data transmission method, network node, and data transmission system | |
US20130343394A1 (en) | Method and Apparatus for Converting Virtual Local Area Network Identity | |
JP2005341591A (ja) | 仮想プライベートネットワーク、マルチサービスプロビジョニングプラットフォーム及び方法 | |
WO2015143879A1 (zh) | 发送组播报文的方法及交换机 | |
US20090225660A1 (en) | Communication device and operation management method | |
US20150215205A1 (en) | Method, Routing Bridge, and System For Sending Packet | |
WO2007124679A1 (fr) | Procédé et système de communication en réseau | |
JP2008147882A5 (zh) | ||
WO2014079208A1 (zh) | Trill网络的通信方法及装置、系统 | |
WO2022160665A1 (zh) | 一种报文转发的方法、报文处理方法及设备 | |
WO2013170746A1 (zh) | 信息处理方法、装置及系统 | |
WO2021129023A1 (zh) | 报文发送的方法、设备和系统 | |
CN218920438U (zh) | 一种基于vxlan的互联网接入控制系统 | |
US20230117218A1 (en) | Cloud-edge forwarding in a network | |
WO2017012443A2 (zh) | 消息传输方法、接入节点、接入控制器及接入系统 | |
WO2013181991A1 (zh) | 报文处理方法、系统及路由设备 | |
US8402474B2 (en) | Message sending method, message sending device and message transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13856338 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13856338 Country of ref document: EP Kind code of ref document: A1 |