CN103248569B - Realize the method and device of TRILL network equivalent path - Google Patents
Realize the method and device of TRILL network equivalent path Download PDFInfo
- Publication number
- CN103248569B CN103248569B CN201210027603.1A CN201210027603A CN103248569B CN 103248569 B CN103248569 B CN 103248569B CN 201210027603 A CN201210027603 A CN 201210027603A CN 103248569 B CN103248569 B CN 103248569B
- Authority
- CN
- China
- Prior art keywords
- bridge
- route
- trill
- head
- virtual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 235000009808 lpulo Nutrition 0.000 claims abstract description 19
- RTZKZFJDLAIYFH-UHFFFAOYSA-N diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 claims description 153
- 230000004044 response Effects 0.000 claims description 37
- 238000005538 encapsulation Methods 0.000 claims description 22
- 230000000875 corresponding Effects 0.000 claims description 16
- 238000000034 method Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 5
- 239000011800 void material Substances 0.000 claims description 5
- 230000001808 coupling Effects 0.000 claims description 4
- 238000010168 coupling process Methods 0.000 claims description 4
- 238000005859 coupling reaction Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 5
- 235000008694 Humulus lupulus Nutrition 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 239000000203 mixture Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 239000000686 essence Substances 0.000 description 1
- 150000002170 ethers Chemical class 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006011 modification reaction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Abstract
The invention provides the method and device realizing TRILL network equivalent path.Wherein the method includes: multiple first route-bridges of interconnection in multilink transparent interconnection TRILL network are constituted backup group;On each first route-bridge, configuration association is in the IP address of each virtual gateway of this backup group and MAC Address;Each first route-bridge configures identical virtual flow-line bridge identifier;Each first route-bridge issues the reachability information of neighbours' route-bridge mark of the reachability information comprising this virtual flow-line bridge identifier in TRILL network;The secondary route bridge for access host is made in TRILL network to be calculated the TRILL equative route information being associated with this virtual flow-line bridge identifier, each down hop of this TRILL equative route information corresponds respectively to each first route-bridge in backup group, thus the up three laminar flow amounts achieved secondary route bridge sends to virtual flow-line bridge by each route-bridge of backup group carry out load balancing.
Description
Technical field
The present invention relates to network technology, particularly to a kind of method and device realizing TRILL network equivalent path.
Background technology
TRILL (Transparent Interconnection of Lots of Links, multilink transparent interconnection) is
The extensive double layer network technical standard formulated by IETF.
TRILL technology be mainly used to solve STP (Spanning-Tree Protocol) network exist problems with:
1) part of links can blocked (block), link utilization is insufficient;
2) forward-path of data stream is not likely to be optimal path;
3) change in topology convergence time is slow, in fact it could happen that temporary loop.
The advantage of TRILL network is as follows:
1) all links are all in work (active) state, make full use of link bandwidth;
2) shortest path is used to forward;
3) support that multipath load is shared.
Fig. 1 show the structural representation of the double layer network having run TRILL protocol.This double layer network is mainly divided into core
Central layer, convergence-level and Access Layer.Core layer includes core switch 141 and 142.Convergence-level includes multiple route-bridge
(RBridge, Routing Bridge) 131 to 134.Access Layer includes multiple route-bridge 121 to 126.Convergence-level and connecing
The route-bridge entering layer constitutes TRILL network.In this double layer network, the gateway of the main frame 111 to 116 of each VLAN is arranged in remittance
On the route-bridge of poly layer.The up three laminar flow amounts of Ethernet from each main frame are accessed TRILL net by the route-bridge of Access Layer
Network also sends the route-bridge to convergence-level, the route-bridge of convergence-level three laminar flows between the different VLAN main frames that will forward
Measure and be forwarded to three laminar flow amounts needs of core layer in TRILL network by the route-bridge of convergence-level in TRILL network
Realize load balancing.
At present, the route-bridge of the convergence-level in TRILL network realizes the technology of three layers of flow load sharing and specifically includes that
Mode one, multiple route-bridges of the convergence-level in TRILL network constitute backup group, such as a VRRP
(Virtual Router Redundancy Protocol, Virtual Router Redundancy Protocol) backup group or HSRP (Hot
Standby Router Protocol, Hot Standy Router Protocol) backup group.Standby for each VLAN one virtual gateway of configuration
The route-bridge of part group and each convergence-level is configured to the host node of different virtual gateway backup group.In fig. 2, main frame 111
Belonging to VLAN1, main frame 112 and main frame 1112 with 1111 and belong to VLAN2, in TRILL network, each route-bridge of Access Layer will not
With up three layers of traffic sharing of VLAN to the different route-bridge of convergence-level.But, each road of Access Layer in TRILL network
The up three laminar flow amounts of one VLAN can only be sent the same route-bridge to convergence-level by bridge, thus like VLAN's
Up three laminar flow amounts cannot carry out load balancing on the route-bridge of different convergence-levels.
Mode two, in TRILL network, multiple route-bridges of convergence-level constitute backup group, such as a VRRPE
(Enhanced VRRP) backup group or GLBP (Gateway Load Balancing Protocol, GLBP)
Backup group.As it is shown on figure 3, the route-bridge of Access Layer is by different main frames (main frame 111,112,1111 and 1112 as shown in the figure)
Three layers of uplink traffic send the different route-bridges to convergence-level.But, the up three laminar flow amounts of same main frame can not be not
Load balancing is carried out on same route-bridge.
Summary of the invention
Present invention aim at providing a kind of method and apparatus realizing TRILL network equivalent path, thus at TRILL
The network load balancing to three layers of uplink traffic.
For achieving the above object, the invention provides a kind of method realizing TRILL network equivalent path, including: will be many
In link transparency interconnection TRILL network, multiple first route-bridges of interconnection constitute backup group;On each first route-bridge
Configuration association is in the IP address of each virtual gateway of backup group and MAC Address;Each first route-bridge configure identical
Virtual flow-line bridge identifier;Each first route-bridge TRILL network issue comprise virtual flow-line bridge identifier up to
Property information neighbours' route-bridge mark reachability information;Make the secondary route net for access host in TRILL network
Bridge is calculated the equative route information being associated with virtual flow-line bridge identifier, and in this equative route information, each down hop is respectively
Corresponding to each first route-bridge in backup group.
For achieving the above object, invention further provides a kind of device realizing TRILL network equivalent path, this dress
Putting the primary route bridge being applied to backup group, this primary route bridge at least includes control unit, retransmission unit, multiple interface
And coupling control unit, retransmission unit and the interconnection mechanism of multiple interface;It is characterized in that, wherein: described control unit, use
Constituting described backup group in other route-bridges with interconnection, configuration association is in the IP ground of each virtual gateway of described backup group
Location and MAC Address and virtual flow-line bridge identifier, and issued in described TRILL network by described interface comprise described
The reachability information of neighbours' route-bridge mark of the reachability information of virtual flow-line bridge identifier.
Invention further provides a kind of device realizing TRILL network equivalent path, this device is applied to backup group
From route-bridge, should at least include control unit, retransmission unit, multiple interface from route-bridge, and coupling control unit,
Retransmission unit and the interconnection mechanism of multiple interface;Described control unit, for constituting described standby with other route-bridges of interconnection
Part group, configuration association in the IP address of each virtual gateway of described backup group and MAC Address and virtual flow-line bridge identifier,
And in described TRILL network, the neighbour of the reachability information comprising described virtual flow-line bridge identifier is issued by described interface
Occupy the reachability information of route-bridge mark.
Such scheme of the present invention utilizes each route-bridge of backup group to issue neighbours' route-bridge mark in TRILL network respectively
The reachability information known, the reachability information of this neighbours' route-bridge mark comprises the accessibility letter of virtual flow-line bridge identifier
Breath;In TRILL network, the route-bridge of Access Layer calculates the equative route information being associated with virtual flow-line bridge identifier so that standby
Each route-bridge of part group is as down hop, energy in the equative route information of the route-bridge arrival virtual flow-line bridge of Access Layer
The up three laminar flow amounts that the route-bridge of Access Layer sends to virtual flow-line bridge are carried out load balancing by enough realization.
Accompanying drawing explanation
Fig. 1 is the structural representation of the double layer network having run TRILL protocol;
Fig. 2 is the schematic diagram of up three layers of flow load sharing mode in double layer network shown in Fig. 1;
Fig. 3 is the schematic diagram of up three another load balancing modes of laminar flow amount in double layer network shown in Fig. 1;
Fig. 4 is the double layer network structural representation that the present invention realizes TRILL network equivalent path;
Fig. 5 A is the virtual topology schematic diagram of the TRILL network shown in Fig. 4;
Fig. 5 B is TRILL envelop address analysis protocol response message structural representation in the TRILL network shown in Fig. 4;
Fig. 6 is the link failure schematic diagram of the double layer network realizing TRILL network equivalent path;
Fig. 7 is the virtual topology schematic diagram of the TRILL network shown in Fig. 6;
Fig. 8 is the structural representation of the device realizing TRILL network equivalent path;
Fig. 9 is the structural representation of another device realizing TRILL network equivalent path.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, develop simultaneously embodiment referring to the drawings, right
The present invention is described in further detail.
Sharing for realizing TRILL network three laminar flow amount multipath load, the present invention proposes following technical scheme: by multilink
In transparent interconnection TRILL network, multiple first route-bridges of interconnection constitute backup group;Each first route-bridge configures
Associate IP address and the MAC Address of each virtual gateway;Each first route-bridge configures identical virtual flow-line bridge
Mark;Each first route-bridge issues the reachability information being associated with neighbours' route-bridge mark, these neighbours in TRILL network
The reachability information of route-bridge mark comprises the reachability information of this virtual flow-line bridge identifier;Make TRILL network is used
Secondary route bridge in access host calculates and comprises the equivalence being associated with this virtual flow-line bridge identifier in TRILL forwarding information
Routing information, each down hop of this equative route information corresponds respectively to each first route-bridge of backup group.Backup group
Each route-bridge arrive the down hop of equative route of virtual flow-line bridge as secondary route bridge, it is possible to realize second
The up three laminar flow amounts that route-bridge sends to virtual flow-line bridge carry out load balancing.
Concrete, that each the first route-bridge is differently configured Nickname, but volume on all first route-bridges
The virtual Nickname that outer configuration one is identical.
Below by a preferred embodiment, technical solution of the present invention is described in detail.
Fig. 4 is the double layer network structural representation realizing TRILL network equivalent path.
Network shown in Fig. 4 is divided into three layers: core layer, convergence-level and Access Layer.Core layer includes core switch 441 He
442;Convergence-level includes multiple route-bridge 431 to 434;Access Layer includes multiple route-bridge 421 to 426.Route-bridge 431
TRILL network is formed with route-bridge 421 to 426 to 434.The main frame 411 belonging to VLAN1 is accessed by route-bridge 421
TRILL network;The main frame 412 belonging to VLAN2 accesses TRILL network by route-bridge 423.
In the present embodiment, the route-bridge mark of route-bridge 431 to 434 can be expressed as RB431-RB434's
Nickname;The route-bridge mark of route-bridge 421 to 426 can be expressed as the Nickname of RB421-RB426.To converge
The route-bridge 431 to 434 of poly layer constitutes a backup group, the empty IP of the virtual gateway of at least VLAN1 and VLAN2 and virtual MAC
It is configured in each member of backup group, i.e. route-bridge 431 to 434.By virtual flow-line bridge identifier, such as, it is expressed as RB5
Nickname, be configured at each member device of backup group, i.e. route-bridge 431 to 434.
In the present embodiment, virtual flow-line bridge identifier represents the virtual non-physical route-bridge of TRILL network
Nickname。
Main frame in the present embodiment can be the equipment such as server, terminal.
In running, the neighbour of each route-bridge transmission TRILL HELLO message in TRILL network to this equipment
Occupy equipment, confirm the health of this equipment.Each route-bridge in TRILL network also sends Link State Protocol Data Unit
(LSP, link state protocol data unit) is to respective neighbor device.Route-bridge 421 to 426 is sent out by LSP
Cloth is associated with the reachability information of neighbours' route-bridge mark;Route-bridge 431 to 434, by LSP, is issued and is comprised virtual flow-line
The reachability information of neighbours' route-bridge mark of the reachability information of bridge identifier, obtains the TRILL network shown in Fig. 5 A empty
Intending topology, this virtual topology includes virtual non-physical route-bridge 435.
In TRILL network, each route-bridge calculates TRILL forwarding information based on this TRILL network virtual topology.Access
The TRILL forwarding information that each route-bridge 421 to 426 of floor calculates comprises the road of equal value being associated with virtual flow-line bridge identifier
Footpath information, the down hop of this equative route information corresponds respectively to each route-bridge of backup group.The route-bridge of backup group
The up three laminar flow amounts that the route-bridge of Access Layer sends to virtual flow-line bridge are carried out load balancing.
In an embodiment, the virtual flow-line bridge identifier of each route-bridge being configured at backup group can be by backup group
As the virtual Nickname of route-bridge stochastic generation of host node as the virtual road of virtual non-physical route-bridge
By bridge identifier, this virtual Nickname is sent to other slave member of backup group by the link between member each in backup group
Equipment, for arranging and issue neighbours' route-bridge reachability information of the reachability information comprising this virtual Nickname.This
In embodiment, it is also possible to virtual Nickname is configured at each member of backup group by the mode manually configured, and i.e. route
Bridge 431 to route-bridge 434.
In conjunction with the double layer network framework realizing equative route in TRILL network shown in accompanying drawing 4, its TRILL is described
The load balancing implementation of three layers of uplink traffic in network.
In Fig. 4 as a example by the three-tier message repeating process of the main frame 412 in main frame 411 to the VLAN 2 in VLAN1:
Main frame 411 obtains the virtual MAC of the virtual gateway of VLAN1.
1) main frame 411 according to the IP address of main frame 412 determine two equipment in different VLAN, and main frame 411 is at ARP
Table does not matches the MAC Address corresponding to VLAN 1 gateway ip address, main frame 411 broadcast ARP request message in VLAN1;
Wherein, transmitting terminal MAC=MAC 411, transmitting terminal ip=IP 411;Destination end MAC=full 0, destination end IP=IP VLAN 1
(the empty IP of the VLAN1 interface of configuration on the route-bridge 431-434 of the empty IP of VLAN 1 gateway, i.e. backup group);
2), after route-bridge 421 receives the ARP request message of broadcast in VLAN1, perform to operate as follows:
Route-bridge 421 is based on the ARP request message received, the MAC Address of study main frame 411.
Route-bridge 421 is that the ARP request message received arranges TRIIL head.Wherein, route-bridge 421 is by this equipment
Nickname RB421 is set to the Ingress Nickname of TRILL head;Route-bridge 421 will be as TRILL network multicast
The route-bridge Nickname of the root of tree is set to the Egress Nickname of TRILL head.
Route-bridge 421 arranges outer layer ether net head.Wherein, route-bridge 421 is by the MAC Address of this equipment (such as
MAC421) source MAC of outer layer ether net head it is set to;By multicast MAC address, such as ALL-RBridges MAC Address
01-80-C2-00-00-40, is set to the target MAC (Media Access Control) address of outer layer ether net head;The VLAN ID of outer layer ether net head is set.
Route-bridge 421 broadcasts the ARP request message being associated with gateway ip address of TRILL encapsulation in TRIIL network;
Other route-bridges in TRILL network, including route-bridge 422 to 426 and route-bridge 431 to 434, are not responding to receive
The ARP request message being associated with gateway ip address.In TRILL network, the route-bridge response TRILL of the host node of backup group
Encapsulated association is in the ARP request message of gateway ip address.
3) route-bridge 431 as the host node of backup group receives the ARP being associated with gateway ip address of TRILL encapsulation
Perform after request message to operate as follows:
Route-bridge 431 determines that the target MAC (Media Access Control) address of outer layer ethernet header is Egress in multicast address and TRILL head
Nickname is the Nickname of the route-bridge of the root as multicast tree, then based on TRILL head and ARP request message, and study
The MAC 411 of main frame 411;Such as, route-bridge 431 records MAC 411+VLAN 1 and Nickname RB 421 (TRILL head
Ingress nickname) corresponding relation.
Route-bridge 431 decapsulates outer layer ether net head and TRILL head, records MAC411's Yu IP 411 in ARP table
Mapping relations.
Route-bridge 431 generates arp response message, wherein: transmitting terminal MAC=MAC VLAN1 (is configured at route-bridge
The virtual MAC of the VLAN1 interface of 431), transmitting terminal IP=IP VLAN 1 (is configured at the void of the VLAN1 interface of route-bridge 431
IP);Destination end MAC=MAC 411, destination end IP=IP 411.
Route-bridge 431 arranges TRILL head for this APR response message.Wherein, route-bridge 431 is according to arp response message
Target MAC (Media Access Control) address, the Nickname RB421 of route-bridge 421 is set to the Egress Nickname of TRILL head;Road
By bridge 431, virtual Nickname RB 5 is set to the Ingress Nickname of TRILL head.
Route-bridge 431 arranges outer layer ether net head.Wherein, route-bridge 431 is according to the Egress of TRILL head
Nickname, is set to the target MAC (Media Access Control) address of outer layer ether net head by the MAC421 of down hop route-bridge 421;By this equipment
MAC 431 be set to the source MAC of outer layer ether net head;The VLAN ID of outer layer ether net head is set.
The arp response that the TRILL with outer layer ethernet header and TRILL head encapsulates is sent to road by route-bridge 431
By bridge 421, the arp response message of this TRILL encapsulation is as shown in Figure 5 B.
4) route-bridge 421 receives the arp response message of TRILL encapsulation and performs following operation:
Route-bridge 421 determines that the target MAC (Media Access Control) address of outer layer ether net head is MAC421 and the TRILL head of this equipment
Egress Nickname is this equipment Nickname RB421, then based on TRILL head and arp response message, learn VLAN1 net
The MAC Address closed, the corresponding relation of record MAC VLAN 1+VLAN1 Yu RB5 (the Ingress Nickname of TRILL head).
Route-bridge 421 decapsulates outer layer ether net head and TRILL head, according to the destination MAC ground of arp response message
Location, is transmitted to main frame 411 by arp response message.
5) perform after main frame 411 receives arp response message to operate as follows:
Main frame 411 is issued to the IP message of main frame 412 and is sent to VLAN 1 gateway.
1) main frame 411 is issued to the IP message encapsulation ether net head of main frame 412.
In TRILL network, this ether net head is counted as internal layer ether net head, wherein: purpose MAC is VLAN1 gateway
Virtual MAC;Source MAC is the MAC Address of main frame 411, and VLAN ID is VLAN 1.The source IP of this IP message and purpose IP are IP respectively
411 and IP 412.
Main frame 411 forwards Ethernet message to route-bridge 421.
2) route-bridge 421 receives after the Ethernet message of main frame 411, performs to operate as follows:
Route-bridge 421 is that the Ethernet message received arranges TRIIL head.Wherein, route-bridge 421 is by this equipment
Nickname RB421 is set to the Ingress Nickname in TRILL head, and route-bridge 421 will be associated with MAC VLAN 1
Nickname RB5 be set to the egress name of TRILL head.
Route-bridge 421, according to the Egress Nickname of TRILL head, finds at TRILL forwarding information and is associated with
The equative route information of RB5, RB431, RB432, RB433 and RB434 are associated with the equative route information of RB 5 respectively
Four down hops.Route-bridge 421 calculates according to default Load Sharing Algorithm, such as hash, selects one in four down hops
Individual routing bridge is as down hop.In the present embodiment, with route-bridge 421 based on load-balancing algorithm, route-bridge 433 is selected to make
For illustrating as a example by down hop.
Route-bridge 421 arranges outer layer ether net head.Wherein, route-bridge 421 is according to the Egress of TRILL head
Nickname, is set to the MAC Address (such as MAC433) arriving the down hop route-bridge 433 of Egress Nickname
The target MAC (Media Access Control) address of outer layer ether net head;This equipment MAC 421 is set to the source MAC of outer layer ether net head;Outside arranging
The VLAN ID of layer Ethernet message, is i.e. assigned to connect the VLAN ID of the link of down hop route-bridge.
The Ethernet message that the TRILL with outer layer ether net head and TRILL head encapsulates is sent to road by route-bridge 421
By bridge 433.
Host B is forwarded the message in VLAN 2:
1) route-bridge 433 receives the Ethernet message of TRILL encapsulation, determines the target MAC (Media Access Control) address of outer layer ether net head
It is virtual Nickname RB 5 for the MAC Address of this equipment and the Egress Nickname of TRILL head, then based on TRILL
Head and the internal layer ether net head of Ethernet message, the MAC Address of study main frame 411, record MAC 411+VLAN 1 and RB421 pair
Should be related to.
Route-bridge 433 decapsulates outer layer ether net head and TRILL head, to perform TRILL termination.
Route-bridge 433 determines that the target MAC (Media Access Control) address of the internal layer ether net head of the Ethernet message received is the net of VLAN1
Close MAC, then ARP table finds the MAC Address that the IP 421 of main frame 412 maps.
In embodiments, if route-bridge 433 finds the MAC 412 that IP 412 maps, by internal layer ether net head
Source MAC replace with the MAC Address of this equipment, the purpose MAC VLAN1 of internal layer ether net head is replaced with main frame 412
MAC 412, is revised as VLAN 2 by the VLAN ID of internal layer ether net head.Route-bridge 433 arranges TRILL for Ethernet message
Head, the Ingress Nickname of TRILL head is the Nickname 433 of this equipment, and the Egress Nickname of TRILL head is
Corresponding to being associated with the route-bridge Nickname of purpose MAC 412 of internal layer ether net head.Route-bridge 433 is Ethernet report
Literary composition arranges outer layer ether net head, and the source MAC of this outer layer ether net head is this equipment Nickname MAC433, this outer layer with
Too the target MAC (Media Access Control) address of net head be route-bridge corresponding for Egress Nickname MAC Address (or arrive Egress
The MAC Address of the down hop route-bridge of Nickname), the VLAN ID of this outer layer ether net head is to connect down hop routing network
Outside VLAN ID that the link of bridge is specified.Route-bridge 433 the Ethernet message that TRILL encapsulates is sent to corresponding to
The route-bridge of Egress Nickname (or be sent to route-bridge 433 and arrive routing network corresponding to Egress Nickname
The down hop of bridge, is revised outer layer ether net head by this down hop, and the Ethernet message that TRILL encapsulates is sent to Egress
The route-bridge that Nickname is corresponding), by corresponding for Egress Nickname route-bridge decapsulation outer layer ether net head and
TRILL head, is sent to main frame 421 by Ethernet message.
In embodiments, if route-bridge 433 does not finds the MAC Address that IP 412 maps, then route-bridge 433
Generating ARP request message, in this ARP request message, request end MAC Address is the MAC433 (route-bridge of route-bridge 433
The real MAC of 433), the IP address of request end is the IP 433 (real IP of route-bridge 433) of route-bridge 433, destination end
MAC Address is 0, and the IP address of destination end is the IP 421 of main frame 421.
Route-bridge 433 arranges TRILL head for this ARP request message.Wherein, route-bridge 433 is by this equipment
Nickname RB 433 is set to Ingress Nickname;The route-bridge Nickname of the root as multicast tree is arranged
For Egress Nickname.
Route-bridge 433 arranges outer layer ether net head for this ARP request message.Wherein, route-bridge 433 is by this equipment
MAC 433 is set to the source MAC of outer layer ether net head;Egress Nickname according to TRILL head, by multicast MAC ground
Location is set to the target MAC (Media Access Control) address of outer layer ether net head, arranges the VLAN ID of outer layer ether net head.Route-bridge 433 exists
The ARP request message of broadcast TRILL encapsulation in TRILL network.
Other route-bridges in TRILL network all can receive the ARP request of the TRILL encapsulation of route-bridge 433 broadcast
Message.The present embodiment mainly describes the processing procedure of the route-bridge 423 being connected to main frame 412, connects the route of other main frames
Bridge decapsulation outer layer ether net head and TRILL head, in VLAN2, the process of broadcast ARP request message repeats no more.
2), after route-bridge 423 receives the ARP request message of TRILL encapsulation, following operation is performed.
Route-bridge 423 determines that the target MAC (Media Access Control) address of outer layer ether net head is multicast mac address and TRILL head
Egress Nickname is this equipment Nickname, then based on TRILL head and ARP request message, study route-bridge 433
MAC Address, the corresponding relation of record MAC 433+VLAN2 Yu RB433.
Route-bridge 423 decapsulates outer layer ether net head and TRILL head.
Route-bridge 423 broadcast ARP request message in VLAN2.
3), after main frame 412 receives ARP request message in VLAN2, perform to operate as follows:
Main frame 412 records the mapping relations of MAC 433 and IP 433 in ARP table.
Main frame 412 generates arp response message, and transmitting terminal MAC is the MAC 412 of main frame 412;Transmitting terminal IP is main frame 412
IP 412, destination end MAC is the MAC 433 of route-bridge 433, and destination end IP is the IP 433 of route-bridge 433.
Arp response message is sent to route-bridge 423 by main frame 412.
4), after route-bridge 423 receives the arp response message of main frame 412, perform to operate as follows:
Route-bridge 423 learns the MAC Address of main frame 412.
Route-bridge 423 arranges TRILL head for receiving arp response message.Wherein, route-bridge 423 is by this equipment
Nickname RB423 is set to the Ingress nickname of TRILL head;Route-bridge 423 is according to the mesh of internal layer ether net head
MAC Address, RB433 is set to the Egress nickname of TRILL head.
Route-bridge 423 arranges outer layer ether net head for receiving arp response message.Wherein, route-bridge 423 is by this equipment
MAC 423 is set to the source MAC of outer layer ether net head;Route-bridge 423 according to the Egress Nickname of TRILL head,
MAC 433 is set to the target MAC (Media Access Control) address of outer layer ether net head, the VLAN ID of outer layer ether net head, the i.e. company of being assigned to are set
Meet the VLAN ID of the link of down hop route-bridge.
The arp response message that TRILL encapsulates is sent to route-bridge 433 by route-bridge 423.
5) route-bridge 433 receives the arp response message of TRIIL encapsulation, performs following operation.
Route-bridge 433 determines in the MAC Address that target MAC (Media Access Control) address is this equipment and the TRILL head of outer layer ether net head
Egress Nickname is this equipment Nickname, then based on TRILL head and arp response message, and the MAC ground of study main frame 412
Location, the corresponding relation of record MAC 412+VLAN2 Yu RB423.
Route-bridge 433 decapsulates outer layer ether net head and TRILL head, to carry out TRILL termination.
Route-bridge 433 is in the mapping relations of ARP table record MAC 412 and IP 412.
In the Ethernet message that route-bridge 433 will receive, the source MAC of internal layer ether net head is revised as MAC 433,
Target MAC (Media Access Control) address is revised as MAC 412, VLAN ID and is revised as VLAN 2.
Route-bridge 433 arranges TRILL head and outer layer ether net head for Ethernet message.Route-bridge 433 is according to originally setting
Standby Nickname RB 433 is set to Ingress Nickname, according to the target MAC (Media Access Control) address of internal layer ether net head, by TRILL
The Egress Nickname of head is set to RB423.The MAC Address of this equipment is set to outer layer ether net head by route-bridge 433
Source MAC, according to the Egress Nickname of TRILL head, MAC423 is set to purpose MAC of outer layer ether net head
Address, arranges the VLAN ID of outer layer ether net head.
The Ethernet message that TRILL encapsulates is sent to route-bridge 423.
6) the outer layer ether net head of the Ethernet message that TRILL is encapsulated by route-bridge 423 and TRILL head are removed, will be with
Too network packet is sent to main frame 412.
In the present embodiment, IP message is sent to the process of main frame 411 with main frame 411 by the transmission of IP message by main frame 412
Roughly the same to the process of main frame 412.Main frame 412 broadcast ARP request message, to ask the MAC Address of VLAN 2 gateway.Route
Bridge 423 is ARP request message encapsulation TRILL head and the outer layer ether net head being associated with VLAN2 gateway ip address, at TRILL
The ARP request message of broadcast TRILL encapsulation in network.
Route-bridge 431 response as backup group host node is associated with the ARP request message of VLAN2 gateway ip address,
Generate arp response message, for this arp response message encapsulation TRILL head and outer layer ether net head, wherein, TRILL head
Ingress Nickname is virtual Nickname RB5.Route-bridge 423 Ingress based on TRILL head Nickname
The corresponding message of RB5 and ARP, the MAC Address of study VLAN2 gateway, remove outer layer ether net head and TRILL head, send arp response
Message is to main frame 412.
The IP message being sent to main frame 411 is encapsulated internal layer ether net head, the purpose of this internal layer ether net head by main frame 412
MAC Address is the MAC Address of VLAN2 gateway.Route-bridge 423 receives Ethernet message, according to being associated with VLAN 2 gateway MAC
The virtual Nickname RB 5 of address, in being associated with four down hops of equative route information of RB 5 select one next
Jump, such as route-bridge 434.Route-bridge 423 is that the Ethernet message received arranges TRILL head and outer layer ether net head.Route
The Ingress Nickname of TRILL head is set to RB423, Egress Nickname and is set to RB 5 by bridge 423.Route
The source MAC of outer layer ether net head is set to MAC 423 by bridge, and target MAC (Media Access Control) address arranges MAC 434, arrange outer layer with
The too VLAN ID of net head.The Ethernet message that TRILL encapsulates is sent to route-bridge 434 by route-bridge 423.Route-bridge
434 decapsulation outer layer ether net head and TRILL heads, the amendment target MAC (Media Access Control) address of internal layer ether net head, source MAC and
VLAN ID, is forwarded to main frame 411 by Ethernet message in VLAN 1.
In the present embodiment, in the route-bridge 431 to 434 of convergence-level, arbitrary route-bridge detects all of this equipment
The physical connection (i.e. this equipment and core switch 441 and 442 physical connection) of upstream Interface disconnects, the routing network of this convergence-level
Bridge does not exit backup group, by the reachability information of the physical neighborhood route-bridge in LSP issue TRILL network, does not issues
It is associated with the reachability information of virtual flow-line bridge identifier.The TRILL network that the route-bridge 421 to 426 of Access Layer obtains
Virtual topology relation changes, and recalculates the TRILL forwarding information of TRILL network.Route-bridge 421 to 426 is counted again
The equative route information of the virtual flow-line bridge identifier obtained.
As shown in Figure 6, in the double layer network framework realizing TRILL network equivalent path, the route-bridge 431 of backup group
Detecting that this equipment connects the physical connection disconnection of the upstream Interface of core switch 441 and 442, route-bridge 431 does not exits
Backup group, issues the reachability information being associated with physical neighborhood route-bridge by LSP;Route-bridge 432 to 434 passes through LSP
Issue the reachability information of neighbours' route-bridge mark of the reachability information comprising virtual flow-line bridge identifier.Fig. 7 show
There is the TRILL network virtual topology after link failure.The TRILL forwarding information that route-bridge 421 to 426 recalculates comprises
Being associated with the equative route information of virtual flow-line bridge identifier, this equative route information comprises three down hops, corresponds respectively to
Route-bridge 432, route-bridge 433 and route-bridge 434.So, route-bridge 421 to 426 in TRILL network three
Layer uplink traffic will on route-bridge 432-434 load balancing.
In the present embodiment, it is not required to be the differently configured backup group of each VLAN, thus the up three laminar flow amounts of same VLAN
Can share at the different route-bridges of convergence-level, and the up three laminar flow amounts of same host are at different route-bridges
On carry out load balancing.
Fig. 8 is the structural representation of the device realizing TRILL network equivalent path, and this device 800 is applied to backup group
Primary route bridge, this device at least includes control unit 801, retransmission unit 802, multiple interface 803, interconnection mechanism 804,
Detector unit 805 and memory element 806.Wherein, this interlocking frame 804 is used for be of coupled connections control unit 801, retransmission unit
802, multiple interfaces 803, detector unit 805 and memory element 806.
Wherein, control unit 801, constitute backup group for other route-bridges with interconnection, configuration association is in each void
Intend the IP address of gateway and MAC Address and virtual flow-line bridge identifier, and issued in TRILL network by interface 803
Comprise the reachability information of neighbours' route-bridge mark of the reachability information of virtual flow-line bridge identifier.
This control unit 801 can be provided with ARP module, and this ARP module can be received by interface 803 and encapsulate outer layer Ethernet
Head and the ARP request message being associated with virtual gateway IP address of TRILL head, decapsulate described ARP request
The outer layer ether net head of message and TRILL head, generate corresponding arp response message, encapsulates outer layer Ethernet for arp response message
Head and TRILL head, send the arp response message of encapsulation by described interface 803;Wherein, the TRILL head of arp response message
Entrance route-bridge mark is virtual flow-line bridge identifier.
Control unit 801 detects the state of physical connection with core switch according to detector unit 804, determines and core
The physical connection of heart switch is all off, then issued the reachability information of physical neighborhood route-bridge by interface 803, and this can
Reaching property information does not comprise the reachability information being associated with virtual flow-line bridge identifier.
Retransmission unit 802, for receiving the Ethernet report being packaged with outer layer ether net head and TRILL head by interface 803
Literary composition;Outer layer ether net head and the decapsulation outlet route-bridge mark of decapsulation Ethernet message are described virtual flow-line bridges
The TRILL head of mark, and forward accordingly according to the purpose IP address of Ethernet message
Detector unit 804, for the physical connection of detection with core switch, the state notifying detected is single to controlling
Unit 801.
Memory element 805, at least for storing control unit 801 and the instruction of retransmission unit 802 execution and association
Data.These memory element 805 at least random access storage device, read only memory, flash memory, integrated circuit etc. have stored Jie
Matter.
Fig. 9 is the structural representation of another device realizing TRILL network equivalent path, and this device 900 is applied to backup
Group from route-bridge, this device at least includes control unit 901, retransmission unit 902, multiple interface 903, interconnection mechanism 904,
Detector unit 905 and memory element 906.Wherein, this interlocking frame 904 is used for be of coupled connections control unit 901, retransmission unit
902, multiple interfaces 903, detector unit 905 and memory element 906.
Wherein, control unit 901, constitute backup group for other route-bridges with interconnection, configuration association is in each void
Intend the IP address of gateway and MAC Address and virtual flow-line bridge identifier, and issued in TRILL network by interface 903
Being associated with the reachability information of neighbours' route-bridge mark, the reachability information of this neighbours' route-bridge comprises and is associated with virtual road
By the reachability information of bridge identifier.
Control unit 901 can be provided with ARP module, and this ARP module can be received by interface 903 and encapsulate outer layer ether net head
With the ARP request message being associated with virtual gateway IP address of TRILL head, abandon or do not process the pass of encapsulation
It is coupled to the described ARP request message of virtual gateway IP address.Control unit 901 detects according to detector unit 904 and hands over core
The state of the physical connection changed planes, determines all off with the physical connection of core switch, then issue physics by interface 903
The reachability information of neighbours' route-bridge, the reachability information of this physical neighborhood route-bridge does not comprise and is associated with virtual flow-line net
The reachability information of bridge mark.
Retransmission unit 902, for receiving the Ethernet report being packaged with outer layer ether net head and TRILL head by interface 903
Literary composition;Outer layer ether net head and the decapsulation outlet route-bridge mark of decapsulation Ethernet message are described virtual flow-line bridges
The TRILL head of mark, and forward accordingly according to the purpose IP address of Ethernet message.
Detector unit 904, for the physical connection of detection with core switch, the state notifying detected is single to controlling
Unit 901.
Memory element 905, at least for storing control unit 901 and the instruction of retransmission unit 902 execution and association
Data.These memory element 905 at least random access storage device, read only memory, flash memory, integrated circuit etc. have stored Jie
Matter.
Through the above description of the embodiments, those skilled in the art is it can be understood that can borrow to the present invention
The mode helping software to add required general hardware platform realizes, naturally it is also possible to by hardware, but a lot of in the case of the former is
More preferably embodiment.Based on such understanding, prior art is contributed by technical scheme the most in other words
Part can embody with the form of software product, this computer software product is stored in a storage medium, including
Some instructions are with so that equipment (performs the method described in each embodiment of the present invention.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. done, within should be included in the scope of protection of the invention.
Claims (11)
1. the method being used for realizing equative route in multilink transparent interconnection network, it is characterised in that:
Multiple first route-bridges of interconnection in multilink transparent interconnection TRILL network are constituted backup group;
On each described first route-bridge, configuration association is in the IP address of each virtual gateway and MAC Address;
Each described first route-bridge configures identical virtual flow-line bridge identifier;
Each described first route-bridge comprises the reachability information of virtual flow-line bridge identifier in the issue of described TRILL network
The reachability information of neighbours' route-bridge mark;The secondary route bridge for access host is made in TRILL network to calculate
To being associated with the equative route information of described virtual flow-line bridge identifier, each down hop correspondence respectively in this equative route information
Each described first route-bridge in described backup group.
Method the most according to claim 1, it is characterised in that described method farther includes:
Described backup group each described first route-bridge receive by described secondary route bridge broadcast be packaged with outer layer with
Too net head and the ARP request message being associated with virtual gateway IP address of TRILL head;
Described first route-bridge as host node decapsulates outer layer ether net head and the TRILL head of described ARP request message,
Generate corresponding arp response message, for described arp response message encapsulation outer layer ether net head and TRILL head;Described arp response
The entrance route-bridge mark of the TRILL head of message is described virtual flow-line bridge identifier;
The described arp response message of encapsulation is sent to sending described ARP request by described first route-bridge as host node
The described secondary route bridge of message;Make to send ARP described in the described secondary route bridge record of described ARP request message to ring
Answer the mapping of virtual flow-line bridge identifier described in the virtual gateway MAC Address TRILL head with described arp response message in message
Relation.
Method the most according to claim 1, it is characterised in that:
One described first route-bridge of described backup group receives the encapsulation outer layer ether sent by described secondary route bridge
The Ethernet message of net head and TRILL head;Wherein, the Exit Road of the TRILL head of described Ethernet message is institute by bridge identifier
State virtual flow-line bridge identifier;Described first route-bridge of the described Ethernet message receiving encapsulation is by described second tunnel
The described equative route of the described virtual flow-line bridge identifier mapped according to the target MAC (Media Access Control) address of described Ethernet message by bridge
Down hop selected in information;
Described first route-bridge of the described Ethernet message receiving encapsulation decapsulates the outer layer ether of described Ethernet message
Net head and TRILL head, and forward accordingly according to the purpose IP address of described Ethernet message.
Method the most according to claim 1, it is characterised in that the method farther includes:
Each described first route-bridge detection and physical connection of core switch;
Arbitrary described first route-bridge determines all off with the physical connection of described core switch, then issue and do not comprise void
Intend the getatability information of neighbours' route-bridge mark of the reachability information of route-bridge mark so that described secondary route net
Bridge deletes this first route-bridge in being associated with the down hop of equative route information of described virtual flow-line bridge identifier.
5. realizing a device for TRILL network equivalent path, this device is applied to the primary route bridge of backup group, this device
At least include the interconnection machine of control unit, retransmission unit, multiple interface and coupling control unit, retransmission unit and multiple interface
Structure;It is characterized in that, wherein:
Described control unit, constitutes described backup group for other route-bridges with interconnection, and configuration association is in each virtual net
The IP address closed and MAC Address and virtual flow-line bridge identifier, and issued in described TRILL network by described interface
Comprise the reachability information of neighbours' route-bridge mark of the reachability information of virtual flow-line bridge identifier;Wherein, described backup
In group, all route-bridges have identical virtual flow-line bridge identifier.
Device the most according to claim 5, it is characterised in that
Described control unit is additionally operable to, and is associated with void by what described interface was packaged with outer layer ether net head and TRILL head
Intend the ARP request message of gateway ip address, decapsulate outer layer ether net head and the TRILL of described ARP request
Head, generates corresponding arp response message, encapsulates outer layer ether net head and TRILL head for described arp response message, by described
Interface sends the described arp response message of encapsulation;Wherein, the entrance route-bridge mark of the TRILL head of described arp response message
It it is described virtual flow-line bridge identifier.
Device the most according to claim 5, it is characterised in that
Described retransmission unit, for being packaged with the Ethernet message of outer layer ether net head and TRILL head by described interface;
Decapsulate outer layer ether net head and the TRILL head of described Ethernet message, and according to the purpose IP address of described Ethernet message
Forward accordingly;
Wherein, the Exit Road of the TRILL head of described Ethernet message is described virtual flow-line bridge identifier by bridge identifier.
Device the most according to claim 5, it is characterised in that described primary route bridge farther includes detector unit,
For detection and the physical connection of core switch, by the state notifying that detects to described control unit;
Described control unit, is further used for determining all off with the physical connection of described core switch, then by described
Interface issues the reachability information of neighbours' route-bridge mark of the reachability information not comprising virtual flow-line bridge identifier.
9. a device for TRILL network equivalent path, this device be applied to backup group from route-bridge, this device at least wraps
Include control unit, retransmission unit, multiple interface, and coupling control unit, retransmission unit and the interconnection mechanism of multiple interface;Its
It is characterised by, wherein:
Described control unit, constitutes described backup group for other route-bridges with interconnection, and configuration association is in described backup group
The IP address of each virtual gateway and MAC Address and virtual flow-line bridge identifier, and by described interface described
TRILL network is issued the accessibility of neighbours' route-bridge mark of the reachability information comprising described virtual flow-line bridge identifier
Information;Wherein, in described backup group, all route-bridges have identical virtual flow-line bridge identifier.
Device the most according to claim 9, it is characterised in that:
Described control unit, is additionally operable to by described interface by being packaged with being associated with of outer layer ether net head and TRILL head
The ARP request message of virtual gateway IP address, abandon or do not process encapsulation is associated with virtual gateway IP ground
The described ARP request message of location.
11. devices according to claim 9, it is characterised in that described farther include detector unit from route-bridge, use
Physical connection in detection with core switch;
Described control unit, is further used for determining all off with the physical connection of described core switch, then by described
Interface issues the getatability being associated with described neighbours' route-bridge of the reachability information not comprising virtual flow-line bridge identifier
Information.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210027603.1A CN103248569B (en) | 2012-02-08 | Realize the method and device of TRILL network equivalent path | |
PCT/CN2013/071510 WO2013117166A1 (en) | 2012-02-08 | 2013-02-07 | Implement equal cost multiple path of trill network |
US14/373,301 US20150023352A1 (en) | 2012-02-08 | 2013-02-07 | Implement equal cost multiple path of trill network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210027603.1A CN103248569B (en) | 2012-02-08 | Realize the method and device of TRILL network equivalent path |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103248569A CN103248569A (en) | 2013-08-14 |
CN103248569B true CN103248569B (en) | 2016-11-30 |
Family
ID=
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223303A (en) * | 2011-06-14 | 2011-10-19 | 杭州华三通信技术有限公司 | Load equilibrium method based on transparent interconnection of lots of links (TRILL) and routing bridge (RB) |
CN102333023A (en) * | 2011-09-30 | 2012-01-25 | 福建星网锐捷网络有限公司 | Communication method and equipment in multilink transparent internet |
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223303A (en) * | 2011-06-14 | 2011-10-19 | 杭州华三通信技术有限公司 | Load equilibrium method based on transparent interconnection of lots of links (TRILL) and routing bridge (RB) |
CN102333023A (en) * | 2011-09-30 | 2012-01-25 | 福建星网锐捷网络有限公司 | Communication method and equipment in multilink transparent internet |
Non-Patent Citations (2)
Title |
---|
Extending the Virtual Router Redundancy Protocol for TRILL campus,draft-hu-vrrp-trill-00;H.Zhai等;《IETF Internet-Draft》;20110225;第1-11页 * |
基于动态负载均衡的VRRP协议研究;祝伟华 等;《重庆理工大学学报(自然科学)》;20110731;第25卷(第7期);第76-80页 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104660508B (en) | A kind of message forwarding method and device | |
US8995444B2 (en) | Method and system for extending routing domain to non-routing end stations | |
CN104378297B (en) | A kind of message forwarding method and equipment | |
US8694664B2 (en) | Active-active multi-homing support for overlay transport protocol | |
CN103227757B (en) | A kind of message forwarding method and equipment | |
CN103947160B (en) | Method to carry FCOE frames over a TRILL based network | |
CN104935516B (en) | Communication system and method based on software defined network | |
JP5542927B2 (en) | Inter-node link aggregation system and method | |
US8446914B2 (en) | Method and system for link aggregation across multiple switches | |
CN104243270B (en) | A kind of method and apparatus for establishing tunnel | |
CN104380672B (en) | Three-level for 802.1aq folds Clos optimizations | |
US20120163164A1 (en) | Method and system for remote load balancing in high-availability networks | |
US20150023352A1 (en) | Implement equal cost multiple path of trill network | |
CN108574616A (en) | A kind of method, equipment and the system of processing routing | |
US20150085862A1 (en) | Forwarding Multicast Data Packets | |
CN104348717B (en) | Message forwarding method and device | |
CN110061915B (en) | Method and system for virtual link aggregation across multiple fabric switches | |
CN103081418A (en) | Computer system and communication method in computer system | |
WO2011113381A2 (en) | Method, apparatus and system for mapping service instance | |
CN101909001A (en) | Forwarding frames in a computer network using shortest path bridging | |
CN105991435B (en) | For obtaining the method and device of port path | |
CN104348726A (en) | Message forwarding method and device | |
CN104579981B (en) | A kind of multicast data packet forwarding method and apparatus | |
CN105763439B (en) | The interconnected method and device of data center in a kind of multilink transparent internet | |
US20170195213A1 (en) | Multipath switching using per-hop virtual local area network classification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |