CN104836735B - Across the data message forwarding method and device of BVLAN - Google Patents
Across the data message forwarding method and device of BVLAN Download PDFInfo
- Publication number
- CN104836735B CN104836735B CN201510269957.0A CN201510269957A CN104836735B CN 104836735 B CN104836735 B CN 104836735B CN 201510269957 A CN201510269957 A CN 201510269957A CN 104836735 B CN104836735 B CN 104836735B
- Authority
- CN
- China
- Prior art keywords
- address
- bvlan
- mac
- host
- list item
- 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
Abstract
This application provides the data message forwarding methods and device across BVLAN.In the present invention, the SPB node devices enabled across BVLAN forwarding capabilities establish host information list item, the host information list item had both included the host information list item of local host, include to enable the host information list item across other SPB node devices local hosts of BVLAN forwarding capabilities again, enables the SPB node devices across BVLAN forwarding capabilities and be able to rely on across the BVLAN forwarding of data message progress that the host information list item of foundation sends local host.
Description
Technical field
This application involves network communication technology, more particularly to across backbone virtual LAN (BVLAN:Backbone
Virtual Local Network) data message forwarding method and device.
Background technology
Shortest path bridge MAC patterns (SPBM:Shortest Path Bridge MAC-in-MAC) it is a kind of advanced
" MAC in MAC " technology, is shortest path bridge (SPB:Shortest Path Bridging) one kind in agreement.It deploys
The network of SPBM is divided into two parts, and a part is SPB core networks, and a part is user network (Customer network).
Wherein, SPB core networks can be described as shortest path bridging net (SPBN:Shortest Path Bridging Network),
It can be described as SPBM network.And user network is by one or more edge of table equipment be connected to SPBN networks have independent industry
The double layer network for function of being engaged in, is usually controlled by business administration, is mainly made of host and switching equipment.
Currently, in SPBM network, data message can only be forwarded in the same BVLAN, and the BVLAN that cannot collapse turns
Hair.
Invention content
This application provides the data message forwarding methods and device across BVLAN, to realize turning across BVLAN for data message
Hair.
Technical solution provided by the present application includes:
A kind of data message forwarding method of across backbone virtual LAN BVLAN, this method are applied to enable across BVLAN
The special shortest path bridge SPB node devices of forwarding capability, including:
Establish host information list item, the host information list item includes that host IP address, host MAC address, SPB nodes are set
Standby bridge MAC Address, BVLAN marks, outgoing interface;
The first data message that local host is sent is received, determines that the target MAC (Media Access Control) address of the first data message is this equipment
MAC Address, then in local host information table search host IP address be the first data message purpose IP address master
Machine information list item judges the marks of the BVLAN in the host information list item found and receives the interface institute of the first data message
Identifying whether for the BVLAN of category is identical, if not, being saved according to host MAC address, the SPB in the host information list item found
Point device bridge MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding.
A kind of data message forwarding device of across backbone virtual LAN BVLAN, the device are applied to enable across BVLAN
The special shortest path bridge SPB node devices of forwarding capability, including:
List item unit, host information list item for learning local host are simultaneously recorded to local, the host information
List item includes host ip, host MAC, SPB node device bridge MAC, BVLAN mark, outgoing interface;And receive the special SPB in opposite end
The host information that node device is sent, using the interface for receiving host information as outgoing interface and the host information tissue received
At host information list item and record to local;
Host information unit, it is special for the host information in the host information list item learnt to be sent to opposite end
SPB node devices;Host information in the host information list item include host ip, host MAC, SPB node device bridge MAC,
BVLAN is identified;
Across BVLAN retransmission unit, the first data message for receiving local host transmission are believed in the host of local record
The matched host information list item of purpose IP address searched in list item with the first data message is ceased, determines the host information found
In list item BVLAN mark with receive the first data message interface belonging to BVLAN identify whether it is identical, if not,
Across BVLAN forwarding is carried out to the first data message.
As can be seen from the above technical solutions, it in the present invention, enables and is set with the SPB nodes across BVLAN forwarding capabilities
For by establishing host information list item, it is able to rely on the first datagram that the host information list item of foundation sends local host
Text carries out across BVLAN forwarding.This realizes the data message forwarding across BVLAN.
Description of the drawings
Fig. 1 is a kind of flow diagram one of data message forwarding method across BVLAN provided by the invention;
Fig. 2 is a kind of flow diagram two of data message forwarding method across BVLAN provided by the invention;
Fig. 3 is a kind of flow diagram three of data message forwarding method across BVLAN provided by the invention;
Fig. 4 is a kind of structural schematic diagram of data message forwarding device across BVLAN provided by the invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
In the present invention, to realize across BVLAN forwarding of data message, preassigned in SPBM network at least one most short
Path bridge (SPB) node device enables across BVLAN forwarding capability, to support data message on the specified SPB node devices
Across BVLAN forwarding, and other unappropriated SPB node devices are not enabled on across BVLAN forwarding capability, do not support data
Across BVLAN forwarding of message works in the way of similar existing SPB node devices.It should be noted that the present invention described
SPB node devices refer to backbone edges bridge (BEB) equipment in SPBM network.
In the present invention, for convenience of distinguish it is specified enable across the SPB node devices of BVLAN forwarding capabilities and other not by
The specified SPB node devices being not enabled on across BVLAN forwarding capabilities, can be by the specified SPB across BVLAN forwarding capabilities that enables
Node device is referred to as special SPB node devices, by other unappropriated SPB nodes being not enabled on across BVLAN forwarding capabilities
Equipment is referred to as common SPB node devices.
Method provided by the invention is applied to special SPB node devices.For ease of description, special SPB sections might as well be set here
Point device is equipment 1.It should be noted that equipment 1 is one of them special SPB node device, it is intended merely to here conveniently
Description, is not intended to limit the present invention.
As shown in Figure 1, the method flow applied to equipment 1 may include following steps:
Step 101, equipment 1 establishes host information list item.
In the present invention, host information list item its include at least:Host IP address, host MAC address, SPB node devices
Bridge MAC Address, BVLAN marks and outgoing interface totally 5 part.Table 1 shows the structure of host information list item:
Host IP address | Host MAC address | SPB node device bridge MAC Address | BVLAN is identified | Outgoing interface |
Table 1
Host information list item how is established as equipment 1, is hereafter described in detail by a preferred embodiment.
Step 102, equipment 1 receives the first data message that local host is sent, and determines the purpose MAC of the first data message
Address is the MAC Address of this equipment, then the mesh that host IP address is the first data message is searched in local host information table
IP address host information list item, judge in the host information list item found BVLAN mark with receive the first data
Identifying whether for BVLAN belonging to the interface of message is identical, if not, according to the host in the host information list item found
MAC Address, SPB node device bridges MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding.
Specifically, in this step 102, equipment 1 receives the first data message that local host is sent, and identifies the first datagram
Text target MAC (Media Access Control) address whether be this equipment MAC Address, if it is, with the purpose IP address of the first data message be close
Key word searches the host information list item that host ip is the keyword in the host information list item of local record, if found,
Equipment 1 judges that the BVLAN in the host information list item found is identified and received belonging to the interface of the first data message
Identifying whether for BVLAN is identical, if not, being set according to host MAC address, the SPB nodes in the host information list item found
Standby bridge MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding.
In step 102, equipment 1 if it is judged that BVLAN marks in the host information list item found with receive the
The mark of BVLAN belonging to the interface of one data message is identical, then can be according to turn of data message in similar existing same BVLAN
Originating party formula forwards the first data message, here not reinflated description.
In step 102, if equipment 1 identifies that the target MAC (Media Access Control) address of the first data message is not the MAC Address of this equipment,
A kind of preferred embodiment is directly to handle the first data message according to the processing mode of available data message.
In step 102, if it is the first datagram that equipment 1 does not find host IP address in local host information table
The host information list item of the purpose IP address of text then can perform flow shown in following article Fig. 2.
In step 102, how equipment 1 sets according to host MAC address, the SPB nodes in the host information list item found
Standby bridge MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding, reference can be made to flow shown in Fig. 3.
So far, flow shown in FIG. 1 is completed.
The flow for how establishing host information list item to equipment in step 101 1 below is described:
In the present invention, there are two types of the host information list items that equipment 1 is established, and one kind is the first host information list item, another
Kind is the second host information list item, wherein the first host information list item is to rely on the ARP messages study of local host transmission
, the second host information list item is to rely on what the host information that the special SPB node devices in opposite end are sent was established, here, opposite end
Special SPB node devices refer to other each special SPB nodes enabled across BVLAN forwarding capabilities in addition to the device 1
Equipment, below equal special SPB node devices in abbreviation opposite end.
Host information list item is established to equipment 1 below to be described in detail:
In a step 101, equipment 1 is established host information list item and can be realized by following two modes:
Mode 1:
Under the method 1, equipment 1 is established host information list item and be may include:
Equipment 1 receives the ARP messages that local host is sent, and the forwarding for the ARP messages that terminate is reported being locally not present with ARP
When the source IP address of text, the matched host information list item of source MAC, in locally newly-built source IP address with ARP messages, source
The matched first host information list item of MAC Address.
In the first host information list item, host IP address is the source IP address of ARP messages, and host MAC address is reported for ARP
The source MAC of text, SPB node device bridge MAC Address are the bridge MAC Address of this equipment, and BVLAN, which is identified as, receives ARP messages
Interface belonging to BVLAN mark, outgoing interface is the interface for receiving ARP messages.Table 2 has been shown in particular new in this step 201
The structure for the first host information list item built:
Table 2
It is above-mentioned before the forwarding of termination ARP messages preferably as one embodiment, it can further execute following step
Suddenly:Equipment 1, which determines to receive BVLAN belonging to the interface of ARP messages and I-SID and whether enable host A RP, kidnaps function, such as
Fruit is, the forwarding for the ARP messages that terminate, otherwise, by it is existing receive ARP messages in the way of handle, not reinflated description here.
As an embodiment of the present invention, the present invention can limit certain some BVLAN and I-SID previously according to actual conditions
Enabled hosts ARP kidnaps function.It specifically, can be previously according to the actual conditions BVLAN and I- local in equipment 1 in the present invention
A host A RP is in SID mapping tables to certain some correspondence (being specially the correspondence of BVLAN and I-SID) to rob
Functional label is held, when there is correspondence host A RP to kidnap functional label, then represents the BVLAN and I- in the correspondence
SID enables host A RP and kidnaps function.Based on this, above equipment 1 determine receive BVLAN belonging to the interface of ARP messages and
Whether I-SID, which enables host A RP, which is kidnapped function, to be:Equipment 1 can be identified first and be received belonging to the interface of ARP messages
BVLAN and I-SID, later, equipment 1 are corresponded to as keyword in local BVLAN and I-SID using the BVLAN and I-SID that identify
It is searched in relation table and include the correspondence of the keyword, if found and correspondence that this finds is with above-mentioned master
Machine ARP kidnaps functional label, it is determined that receives BVLAN and I-SID belonging to the interface of ARP messages and enables host A RP misfortunes
Function is held, otherwise, it determines the BVLAN and I-SID that receive belonging to the interface of ARP messages are not enabled on host A RP abduction functions.
In the method 1, equipment 1, can also be further by the first host information list item after newly-built first host information list item
In host IP address, host MAC address, SPB node device bridge MAC Address and BVLAN mark be organized into host information transmission
Give opposite end special SPB node devices.
It is described so that the special SPB node devices in opposite end are equipment 2 as an example, then as an embodiment of the present invention, equipment 1 will
Host IP address, host MAC address, SPB node device bridge MAC Address in first host information list item and BVLAN mark groups
It is made into host information and is sent to equipment 2 and specifically may include step a1 to step a2:
Step a1, equipment 1 is by host IP address, host MAC address, the SPB node devices in the first host information list item
Bridge MAC Address and BVLAN marks are organized into host information and carry in some SPB protocol massages such as hello packet;
As one embodiment, in of the invention, to realize that SPB protocol massages carry host information, need to SPB agreement reports
Text is extended.Here, SPB protocol massages are extended and following extended mode specifically can be used:
Increase the field for indicating transmission host information on SPB protocol massages, the field is known as host information here
Field (Host Information TLV).
Wherein, Host Information TLV include mainly:
Type (Type) represents Host Information TLV, can value be 150 or other values, generally take up 1
A byte;
Length (Length), represents the length of Host Information TLV, can value be 6+K, K indicates K master
Loom TLV (the sub- TLV of host is described below), generally takes up 3 bytes;
It identifies (Identifier), including SPB node device bridge MAC Address, generally takes up 6 bytes;
Numerical value (Value), including host TLV, a sub- TLV of host include only a host information.In practical application
In, equipment 1 may establish multiple first hosts letters as described above because of the ARP messages for receiving multiple local hosts transmissions
List item is ceased, this is based on, to economize on resources, host IP address, host MAC address, the SPB in multiple main frames information table can be saved
Point device bridge MAC Address, BVLAN marks are organized into host information and carry in the same SPB protocol massages respectively.Based on this,
Value may include the sub- TLV of multiple main frames.
The sub- TLV of host, including:
Sub- Type represents the sub- TLV of host, can value be 1 or other values, generally take up 1 byte;
Sub- Length represents the length of the sub- TLV of host, can value be 10, generally take up 1 byte;
Sub- Value, including host IP address, host MAC address, BVLAN are identified.
Based on above-mentioned extension, then final SPB protocol massages can carry host information.
SPB protocol massages are sent to equipment 2 by step a2, equipment 1.
It, can be all special in a network in advance to ensure all special SPB node devices intercommunications in network in the present invention
SPB node devices enable preset I-SID and preset BVLAN.In this way, in step a2, equipment 1 can be based on default
I-SID and default BVLAN simultaneously encapsulates SPB protocol massages according to available data message packaged type and is sent to equipment 2.Specifically
Ground, equipment 1 are based on default I-SID and default BVLAN and can to the encapsulation of SPB protocol massages according to available data message packaged type
Including:SPB protocol massages are encapsulated according to the encapsulation of available data message, wherein the purpose B-MAC in the encapsulation header is:Equipment 2
Bridge MAC Address, source B-MAC is the bridge MAC Address of equipment 1, and service instance identification (I-SID) is default I-SID, BVLAN marks
Know for the mark of default BVLAN.
By step a1 to step a2, finally, equipment 1 by the first host information list item of study host IP address,
Host MAC address, SPB node device bridges MAC Address, BVLAN marks are organized into host information and are sent to equipment 2.
So far, the description of mode 1 is completed.
Mode 2:
Under the method 2, equipment 1 is established host information list item and be may include:
Equipment 1 receives the host information that the special SPB node devices in opposite end are sent, according to the host information of reception newly-built second
Host information list item.
Here, the second host information list item includes:Host information, the outgoing interface of reception.Wherein, the host information packet of reception
It includes host IP address, host MAC address, SPB node device bridges MAC Address, BVLAN to identify, in the second host information list item
Outgoing interface is the interface for receiving host information.The structure of the second host information list item has been shown in particular in table 3:
Table 3
So far, the description of mode 2 is completed.
Pass-through mode 1 and mode 2, equipment 1 complete the foundation of host information list item.
In flow shown in Fig. 2, the ARP messages of step 201 can be arp reply message, can also be ARP request message.
(in order to be distinguished with ARP request message hereafter, the ARP can be asked here when ARP messages are ARP request message
Message is asked to be denoted as the first ARP request message) when, b1 can be also further performed the step of to step b3:
Step b1, equipment 1 search the target that host IP address is the first ARP request message in local host information table
(target) the host information list item of IP address executes step b2 if found, if do not found, executes step b3.
Specifically, in this step b1, equipment 1 is using the target ip address of the first ARP request message as keyword, in this landlord
The host information list item that host IP address is the keyword is searched in machine information list item.
Step b2, equipment 1 are sent by receiving the interface of the first ARP request message for response the first ARP request message
The first arp reply message.Terminate current process.
Here, the source MAC of the first arp reply message is the bridge MAC Address of this equipment, and source IP address is this equipment
IP address.
Step b3, equipment 1 in addition to the interface for receiving the first ARP request message by enabling across BVLAN forwarding work(
The local host access interface of energy sends the second ARP request message;And pass through the special SPB node devices in locality connection opposite end
Network Side Interface sends third ARP request message to the special SPB node devices in opposite end.
Here, the host access interface enabled across BVLAN forwarding capabilities refers to:1 local BVLAN of equipment and I-SID pairs
Answer in relation table with above-mentioned host A RP kidnap functional label correspondence (be substantially the correspondence BVLAN that includes and
I-SID the host access interface corresponding to).
In step b3, the target ip address of the second ARP request message is the target ip address of the first ARP request message,
Destination-mac address is unknown MAC Address (such as 0000), and source IP address is the IP address of this equipment, and source MAC is this equipment
Bridge MAC Address.Also include purpose IP address, target MAC (Media Access Control) address in the second ARP request message, wherein purpose IP address is
IP address for indicating broadcast, target MAC (Media Access Control) address are the MAC Address for indicating broadcast.Wherein, purpose IP address, purpose
MAC Address, source IP address, source MAC are provided in the heading of the second ARP request message, target ip address, target
MAC Address is provided in the data content of the second ARP request message.It (is asked comprising ARP because the present invention is not related to ARP messages
Ask message, arp reply message) purpose IP address, target MAC (Media Access Control) address, so not answering following each ARP request message, ARP
Answer the purpose IP address of message, target MAC (Media Access Control) address is described.
Pass through the sheet across BVLAN forwarding capabilities that enables in addition to the interface for receiving the first ARP request message in equipment 1
After ground host access interface sends the second ARP request message, if the host of 1 local of equipment receives the second ARP request message, send out
Now the target ip address of the second ARP request message is exactly the IP address of itself, then will return and be asked for the 2nd ARP of response
The the second arp reply message for seeking message, when equipment 1 receives the second arp reply message for response the second ARP request message
When, for equipment 1, which is that its local host is sent, can be newly-built according to above-mentioned steps 201
With the matched first host information list item of source IP address, source MAC of the second arp reply message.
In the present invention, the target ip address of third ARP request message is the target ip address of the first ARP request message,
Destination-mac address is unknown MAC Address (such as 0000), and source IP address is the IP address of this equipment, and source MAC is this equipment
Bridge MAC Address.Because third ARP request message is network side of the equipment 1 by the special SPB node devices in locality connection opposite end
Interface is sent to the special SPB node devices in opposite end, to ensure that it is special that third ARP request message can be successfully sent to opposite end
SPB node devices, equipment 1 need to be packaged third ARP request message, and the encapsulation is denoted as the first SPB encapsulation here.
Wherein, the first SPB, which is encapsulated, includes:The B-MAC of first mesh, the first source B-MAC, the first I-SID, the first BVLAN marks
Know;The B-MAC of first mesh is:The bridge MAC Address of the special SPB node devices in opposite end, source B-MAC are the bridge MAC Address of this equipment,
I-SID is default I-SID, and BVLAN is identified as the mark of default BVLAN.
Finally, the third ARP request message encapsulated with the first SPB can be finally sent to the special SPB in opposite end by equipment 1
Node device.Described so that the special SPB node devices in opposite end are equipment 2 as an example again, when equipment 2 receive the transmission of equipment 1 with the
When the third ARP request message of one SPB encapsulation, equipment 2 can execute following steps c1 to step c5:
Step c1, the third ARP request message with the first SPB encapsulation that 2 receiving device 1 of equipment is sent;
The B-MAC of step c2, first mesh of the equipment 2 in the first SPB encapsulation headers of third ARP request message are this equipment
When 2 bridge MAC Address, the first I-SID are that default I-SID, the first BVLAN are identified as the mark of default BVLAN, to the 3rd ARP
The first SPB encapsulation of request message is decapsulated.
Here, when the B-MAC of the first mesh in the first SPB encapsulation headers of third ARP request message is not the bridge of equipment 2
When MAC Address, equipment 2 directly abandons third ARP request message.
Step c3, equipment 2 are searched and the third ARP request report after decapsulation in 2 local host information table of this equipment
The matched host information list item of target ip address of text executes step c4 if do not found, if found, executes step
c5。
The source MAC of third ARP request message after decapsulation is revised as the bridge of this equipment 2 by step c4, equipment 2
MAC Address, source IP address are revised as the IP address of this equipment 2, will decapsulate and modified third ARP request message passes through this
The local host access interface transmission enabled across BVLAN forwarding capabilities of equipment 2.
When modified third ARP request message is enabled across BVLAN forwarding capability by equipment 2 by the way that this equipment 2 is local
SPB interfaces send after, if the local host of equipment 2 receives third ARP request message, find the third ARP request message
Target ip address be exactly the IP address of itself, then will return to the third arp reply for response third ARP request message
Message, when equipment 2 receives the third arp reply message for response third ARP request message, for equipment 2, this
Three arp reply messages are that its local host is sent, and the source with third arp reply message can be established according to above-mentioned steps 201
The matched first host information list item of IP address, source MAC.
Step c5, the forwarding of the termination third ARP request message of equipment 2, by the host in the host information list item found
IP, host MAC, SPB node device bridge MAC, BVLAN mark are organized into host information and are sent to (the i.e. third ARP request of equipment 1
The corresponding SPB node devices of source MAC of message).
Accordingly, in the present invention, equipment 1 may also will receive the special SPB node devices in opposite end (still by taking equipment 2 as an example) hair
The 4th ARP request message with the 2nd SPB encapsulation sent, for such case, then equipment 1 can perform following steps:
Step d1, the 4th ARP request message with the 2nd SPB encapsulation that 1 receiving device 2 of equipment is sent.
The B-MAC of step d2, second mesh of the equipment 1 in the 2nd SPB encapsulation headers of the 4th ARP request message are this equipment
When 1 bridge MAC Address, the 2nd I-SID are that default I-SID, the 2nd BVLAN are identified as the mark of default BVLAN, to the 4th ARP
The 2nd SPB encapsulation of request message is decapsulated to obtain the 5th ARP request message.
The B-MAC of second mesh of the equipment 1 in the 2nd SPB encapsulation headers of the 4th ARP request message is the bridge of this equipment 1
When MAC Address, the 4th ARP request message is directly abandoned.
Step d3, equipment 1 are searched in local host information table and are matched with the target ip address of the 5th ARP request message
Host information list item execute step d4 if do not found, if found, execute step d5.
The source MAC of 5th ARP request message is revised as the bridge MAC Address of this equipment, source IP by step d4, equipment 1
The IP address of this equipment is revised as in address, and modified 5th ARP request message is enabled across BVLAN forwarding work(by local
The host access interface of energy is sent.
Step d5, equipment 1 is by host ip, host MAC, SPB the node device bridge in the host information list item found
MAC, BVLAN mark be organized into host information be sent to equipment 2 (be substantially the 5th ARP request message source MAC it is corresponding
SPB node devices).
It is the first data not find host IP address in local host information table to equipment in step 102 1 below
Flow when the host information list item of the purpose IP address of message is described:
Flow chart shown in Figure 2.The flow does not find host applied to equipment 1 in local host information table
IP address is the application scenarios of the host information list item of the purpose IP address of the first data message, which may include following step
Suddenly:
Step 201, equipment 1 caches the first data message.
Step 202, equipment 1 in addition to the interface for receiving the first data message by enabling across BVLAN forwarding capability
Local host access interface send the 6th ARP request message, and the net by the special SPB node devices in locality connection opposite end
Network side interface sends the 7th ARP request message to the special SPB node devices in opposite end, and starts timer.
Here, the target ip address of the 6th ARP request message is the purpose IP address of the first data message, Destination MAC
Location is unknown MAC Address (such as 0000), and source IP address is the IP address of this equipment, and source MAC is the bridge MAC of this equipment
Location.
Here, the target ip address of the 7th ARP request message is the purpose IP address of the first data message, Destination MAC
Location is unknown MAC Address (such as 0000), and source IP address is the IP address of this equipment, and source MAC is the bridge MAC of this equipment
Location.
Because the 7th ARP request message is Network Side Interface of the equipment 1 by the special SPB node devices in locality connection opposite end
It is sent to the special SPB node devices in opposite end, to ensure that the 7th ARP request message can be successfully sent to the special SPB sections in opposite end
Point device, equipment 1 need to be packaged the 7th ARP request message, and the encapsulation is denoted as the 3rd SPB encapsulation here.
3rd SPB is encapsulated:Third purpose B-MAC, third source B-MAC, the 3rd I-SID, the 3rd BVLAN marks;The
The B-MAC of three mesh is:The bridge MAC Address of the special SPB node devices in opposite end, third source B-MAC are the bridge MAC Address of this equipment,
3rd I-SID is default I-SID, and the 3rd BVLAN is identified as the mark of default BVLAN;
Finally, the 7th ARP request message encapsulated with the 3rd SPB can be sent to the special SPB nodes in opposite end by equipment 1
Equipment.When opposite end, special SPB node devices receive the 7th ARP request message with the 3rd SPB encapsulation of the transmission of equipment 1,
It can be executed according to the operation of similar above-mentioned steps c1 to step c5.In step 202, the time-out time of timer can be according to reality
Situation is pre-set, and is not limited here.
Equipment 1 before the timer expiry, if receive local host transmission for the 6th ARP described in response
6th arp reply message of request message, the forwarding for the 6th arp reply message that terminates, according to step 201 locally newly-built with the
The matched first host information list item of source IP address, source MAC of six arp reply messages, alternatively,
Equipment 1 is before the timer expiry, if with receiving the host ip that the special SPB node devices in opposite end are sent
Location is the host information of the purpose IP address of the first data message, then can be newly-built according to the host information of reception according to step 202
Second host information list item.
Step 203, equipment 1 is in the timer expiry, again host ip is searched in local host information table
Location is the host information list item of the purpose IP address of the first data message, if found, returns to the master for executing and judging to find
In machine information list item BVLAN mark with receive the first data message interface belonging to BVLAN identify whether it is identical
Operation, otherwise, deletes the first data message of caching.
So far, flow shown in Fig. 2 is completed.
Equipment in step 102 1 is set according to host MAC address, the SPB nodes in the host information list item found below
Standby bridge MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding and are described:
Flow shown in Figure 3, as shown in figure 3, the flow may include following steps:
Step 301, equipment 1 judges the host IP address found for the host of the purpose IP address of the first data message
Whether the SPB node device bridges MAC Address in information table is the bridge MAC Address of this equipment, if so, executing step 302, such as
Fruit is no, executes step 303.
Step 302, it is the first number the target MAC (Media Access Control) address of the first data message to be revised as the host IP address found
Pass through according to the host MAC address in the host information list item of the purpose IP address of message, and by modified first data message
The host IP address found is the outgoing interface forwarding in the host information list item of the purpose IP address of the first data message.
Step 303, it is the first number the target MAC (Media Access Control) address of the first data message to be revised as the host IP address found
According to the host MAC address in the host information list item of the purpose IP address of message, the is carried out to modified first data message
Four SPB are encapsulated, and are the mesh of the first data message by the host IP address found by the first data message after encapsulation
IP address host information list item in outgoing interface forwarding.
Here, the 4th SPB, which is encapsulated, includes:B-MAC, the 4th source B-MAC, the 4th I-SID, the 4th BVLAN marks of 4th mesh
Know;The B-MAC of 4th mesh is:The host IP address found is the host information table of the purpose IP address of the first data message
SPB node device bridge MAC Address in, the 4th source B-MAC are the bridge MAC Address of this equipment, and the 4th I-SID is default I-
SID, the 4th BVLAN are identified as the mark of default BVLAN.
It should be noted that because of the frequent migration of host, the host IP address found is the mesh of the first data message
IP address host information list item may more than one, this is based on, when the host IP address found is the first data message
The quantity L of host information list item of purpose IP address when being more than 1, can be according to the host ip that is found from this of strategy of setting
Location selects one or more destination host information in the L host information list item for the purpose IP address of the first data message
List item, here, the quantity of the destination host information table of selection are less than or equal to L;
When only selecting a destination host information table, then above-mentioned steps 303 are specially:First data message is carried out
Outgoing interface in 4th SPB encapsulation and the destination host information table that the first data message after encapsulation is passed through selection turns
Hair;Here, the B-MAC for the 4th mesh that the 4th SPB encapsulation includes:SPB nodes in one destination host information table of selection
Equipment bridge MAC Address, the 4th source B-MAC are the bridge MAC Address of this equipment 1, and the 4th I-SID is default I-SID, the 4th BVLAN
It is identified as the mark of default BVLAN.
When the more than two destination host information tables of selection, then above-mentioned steps 403 are dependent on each destination host letter
It ceases the first data message of list item pair and carries out across BVLAN forwarding, specially:For each destination host information table of selection, press
According to it is similar it is above-mentioned only select the first data message of mode pair when a destination host information table carry out the 4th SPB encapsulate and incite somebody to action
The first data message after encapsulation is forwarded by the outgoing interface in the destination host information table.
It should be noted that in the present invention, equipment 1 can also pass through the net of the special SPB node devices in locality connection opposite end
Network side interface receives the second data message with the 5th SPB encapsulation that the special SPB node devices in opposite end are sent, wherein when setting
Standby 1 receives when carrying the second data message that the 5th SPB is encapsulated of the special SPB node devices transmission in opposite end, can perform following
Step:
Step e1, equipment 1 receive the second data with the 5th SPB encapsulation that the special SPB node devices in opposite end are sent
Message determines that the B-MAC of the 5th mesh in the 5th SPB encapsulation headers of the second data message is the bridge MAC Address of this equipment, the 5th
I-SID is the mark that default I-SID, the 5th BVLAN are identified as default BVLAN, then is encapsulated to the 5th SPB of the second data message
It is decapsulated to obtain third data message.
Step e2, equipment 1 is found in local host information table to be matched with the purpose IP address of third data message
Host information list item, judge in the matched host information list item of purpose IP address with third data message found
SPB node device bridges MAC Address whether be this equipment bridge MAC Address, if so, by this find with third datagram
Outgoing interface in the matched host information list item of purpose IP address of text forwards third data message, otherwise, abandons third data
Message.
So far, method description provided by the invention is completed.
Device provided by the invention is described below:
Referring to Fig. 4, Fig. 4 is structure drawing of device provided by the invention.The device is applied to enable across BVLAN forwarding capability
Special SPB node devices, as shown in figure 4, the device may include:
List item unit, for establishing host information list item, the host information list item includes host IP address, host MAC
Address, SPB node device bridges MAC Address, BVLAN marks, outgoing interface;
Across BVLAN retransmission unit, the first data message for receiving local host transmission, determines the first data message
Target MAC (Media Access Control) address is the MAC Address of this equipment, then it is the first datagram that host IP address is searched in local host information table
The host information list item of the purpose IP address of text judges the marks of the BVLAN in the host information list item found and receives the
Identifying whether for BVLAN belonging to the interface of one data message is identical, if not, according in the host information list item found
Host MAC address, SPB node device bridges MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding.
Preferably, the host information list item includes:First host information list item and the second host information list item;
The list item unit establishes host information list item by following steps:
The ARP messages that local host is sent are received, the source with ARP messages is locally being not present in the forwarding for the ARP messages that terminate
When the matched host information list item of IP address, source MAC, in locally newly-built source IP address, source MAC with ARP messages
Matched first host information list item;In the first host information list item, host IP address is the source IP address of ARP messages, main
Machine MAC Address is the source MAC of ARP messages, and SPB node device bridge MAC Address is the bridge MAC Address of this equipment, BVLAN marks
Know to receive the mark of the BVLAN belonging to the interface of ARP messages, outgoing interface is the interface for receiving ARP messages;
The host information enabled across other SPB node devices transmission of BVLAN forwarding capabilities is received, according to the host
Information creates the second host information list item, and the second host information list item includes:The host information, outgoing interface, the master
Machine information includes host IP address, host MAC address, SPB node device bridges MAC Address, BVLAN marks, second host
Outgoing interface in information table is the interface for receiving host information.
Preferably, the list item unit is further by host IP address, the host MAC in the first host information list item
Address, SPB node device bridges MAC Address, BVLAN marks are organized into host information and are sent to and enable across BVLAN forwarding capability
Other SPB node devices.
Preferably, the list item unit is when the ARP messages are the first ARP request message, further in local host
The host information list item for the target ip address that host IP address is the first ARP request message is searched in information table, if searched
It arrives, the interface by receiving the first ARP request message sends the first arp reply message for response the first ARP request message;
The source MAC of first arp reply message is the bridge MAC Address of this equipment, and source IP address is the IP address of this equipment;If not
It finds, is connect by the local host enabled across BVLAN forwarding capabilities in addition to the interface for receiving the first ARP request message
Incoming interface sends the second ARP request message;And other SPB nodes across BVLAN forwarding capabilities are enabled by locality connection
The Network Side Interface of equipment sends third ARP request message to the other SPB node devices enabled across BVLAN forwarding capabilities;
Wherein, the target ip address of the second ARP request message is the target ip address of the first ARP request message, source
IP address is the IP address of this equipment, and source MAC is the bridge MAC Address of this equipment;
The target ip address of the third ARP request message is the target ip address of the first ARP request message, source IP address
For the IP address of this equipment, source MAC is the bridge MAC Address of this equipment, and third ARP request message is encapsulated with the first SPB,
First SPB is encapsulated:The B-MAC of first mesh, the first source B-MAC, the first I-SID, the first BVLAN marks;The B- of first mesh
MAC is:The bridge MAC Address across other SPB node devices of BVLAN forwarding capabilities is enabled, source B-MAC is the bridge of this equipment
MAC Address, I-SID are default I-SID, and BVLAN is identified as the mark of default BVLAN.
Preferably, across BVLAN retransmission unit further receives the other SPB sections enabled across BVLAN forwarding capabilities
The 4th ARP request message with the 2nd SPB encapsulation that point device is sent, in the 2nd SPB encapsulation headers of the 4th ARP request message
In the second mesh B-MAC be the bridge MAC Address of this equipment, that the 2nd I-SID is that default I-SID, the 2nd BVLAN are identified as is default
When the mark of BVLAN, the 2nd SPB encapsulation of the 4th ARP request message is decapsulated to obtain the 5th ARP request message, and
The matched host information list item of target ip address with the 5th ARP request message is searched in local host information table, if
It finds, the forwarding for the 5th ARP request message that terminates, by host IP address, the host MAC in the host information list item found
Address, SPB node device bridges MAC Address, BVLAN marks are organized into host information and are sent to the 4th ARP request message
The source MAC of 5th ARP request message is revised as this by the corresponding SPB node devices of source MAC if do not found
The bridge MAC Address of equipment, source IP address are revised as the IP address of this equipment, and modified 5th ARP request message is passed through this
Ground enables the host access interface transmission across BVLAN forwarding capabilities.
Preferably, across BVLAN retransmission unit is not finding the destination IP that host IP address is the first data message
The host information list item of address further caches the first data message, by addition to the interface for receiving the first data message
The local host access interface enabled across BVLAN forwarding capabilities sends the 6th ARP request message, and is made by locality connection
Can across the other SPB node devices of BVLAN forwarding capabilities Network Side Interface to enabling across the other of BVLAN forwarding capabilities
SPB node devices send the 7th ARP request message, and start timer, in the timer expiry, again in local host
The host information list item that the purpose IP address that host IP address is the first data message is searched in information table, if found,
The BVLAN for executing and judging in the host information list item found is returned to identify and receive belonging to the interface of the first data message
BVLAN's identifies whether identical operation, otherwise, deletes the first data message of caching;
Wherein, the target ip address of the 6th ARP request message is the purpose IP address of the first data message, and source IP address is
The IP address of this equipment, source MAC are the bridge MAC Address of this equipment;
The target ip address of 7th ARP request message is the purpose IP address of the first data message, and source IP address is originally to set
Standby IP address, source MAC are the bridge MAC Address of this equipment, and the 7th ARP request message is encapsulated with the 3rd SPB, third
SPB is encapsulated:Third purpose B-MAC, third source B-MAC, the 3rd I-SID, the 3rd BVLAN marks;Third purpose B-MAC
For:The bridge MAC Address across other SPB node devices of BVLAN forwarding capabilities is enabled, third source B-MAC is the bridge of this equipment
MAC Address, the 3rd I-SID are default I-SID, and the 3rd BVLAN is identified as the mark of default BVLAN.
Preferably, across BVLAN retransmission unit is according to host MAC address, the SPB in the host information list item found
Node device bridge MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding and include:
Judge SPB node device bridges MAC Address in the host information list item that finds whether be this equipment bridge MAC
Location,
If so, the target MAC (Media Access Control) address of the first data message is revised as the master in the host information list item found
Machine MAC Address and by searching for host information list item in outgoing interface forwarding;
If not, the target MAC (Media Access Control) address of the first data message is revised as the host in the host information list item found
MAC Address, to modified first data message carry out the 4th SPB encapsulation and by searching for host information list item in go out
Interface forwards;
Wherein, the 4th SPB, which is encapsulated, includes:B-MAC, the 4th source B-MAC, the 4th I-SID, the 4th BVLAN marks of 4th mesh
Know;The B-MAC of 4th mesh is:SPB node device bridge MAC Address in the host information list item found, the 4th source B-MAC are
The bridge MAC Address of this equipment, the 4th I-SID are default I-SID, and the 4th BVLAN is identified as the mark of default BVLAN.
Preferably, across BVLAN retransmission unit further receives the other SPB sections enabled across BVLAN forwarding capabilities
The second data message with the 5th SPB encapsulation that point device is sent, in the 5th SPB encapsulation headers for determining the second data message
It is default that the B-MAC of 5th mesh is the bridge MAC Address of this equipment, the 5th I-SID is that default I-SID, the 5th BVLAN are identified as
The mark of BVLAN then is decapsulated to obtain third data message to the 5th SPB of the second data message encapsulation;In this landlord
Found in machine information list item with the matched host information list item of the purpose IP address of third data message, judge what this found
Whether it is this with the SPB node device bridges MAC Address in the matched host information list item of purpose IP address of third data message
The bridge MAC Address of equipment, if so, the matched host information of purpose IP address with third data message found by this
Outgoing interface in list item forwards third data message, otherwise, abandons third data message.
So far, structure drawing of device provided by the invention is completed.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.
Claims (14)
1. a kind of data message forwarding method of across backbone virtual LAN BVLAN, which is characterized in that this method is applied to enabled
Across the shortest path bridge SPB node devices of BVLAN forwarding capabilities, including:
Host information list item is established, the host information list item includes host IP address, host MAC address, SPB node device bridges
MAC Address, BVLAN marks, outgoing interface;
The first data message that local host is sent is received, determines that the target MAC (Media Access Control) address of the first data message is the MAC of this equipment
The host information for the purpose IP address that host IP address is the first data message is then searched in address in local host information table
List item, judges the marks of the BVLAN in the host information list item found and receives belonging to the interface of the first data message
Identifying whether for BVLAN is identical, if not, being set according to host MAC address, the SPB nodes in the host information list item found
Standby bridge MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding;
Wherein, the host information list item includes:First host information list item and the second host information list item;First host
Information table is to rely on the ARP messages study of local host transmission;The second host information list item is to rely on opposite end
What the host information that special SPB node devices are sent was established;The special SPB node devices in opposite end refer to except when preceding SPB is saved
Other each SPB node devices enabled across BVLAN forwarding capabilities except point device.
2. according to the method described in claim 1, it is characterized in that,
The host information list item of establishing includes:
The ARP messages that local host is sent are received, the forwarding for the ARP messages that terminate locally is being not present with the source IP of ARP messages
When the matched host information list item of location, source MAC, matched with the source IP address of ARP messages, source MAC locally newly-built
The first host information list item;In the first host information list item, host IP address is the source IP address of ARP messages, host MAC
Address is the source MAC of ARP messages, and SPB node device bridge MAC Address is the bridge MAC Address of this equipment, and BVLAN is identified as
The mark of the BVLAN belonging to the interface of ARP messages is received, outgoing interface is the interface for receiving ARP messages;
The host information enabled across other SPB node devices transmission of BVLAN forwarding capabilities is received, according to the host information
Newly-built second host information list item, the second host information list item include:The host information, outgoing interface, the host letter
Breath includes host IP address, host MAC address, SPB node device bridges MAC Address, BVLAN marks, second host information
Outgoing interface in list item is the interface for receiving host information.
3. according to the method described in claim 2, it is characterized in that, this method further comprises:
By in the first host information list item host IP address, host MAC address, SPB node device bridges MAC Address,
BVLAN marks are organized into host information and are sent to the other SPB node devices enabled across BVLAN forwarding capabilities.
4. according to the method described in claim 2, it is characterized in that, when the ARP messages are the first ARP request message, it is somebody's turn to do
Method further comprises:
The host information for the target ip address that host IP address is the first ARP request message is searched in local host information table
List item,
If found, the interface by receiving the first ARP request message sends first for response the first ARP request message
Arp reply message;The source MAC of first arp reply message is the bridge MAC Address of this equipment, and source IP address is this equipment
IP address;
If do not found, pass through enabling across BVLAN forwarding capabilities in addition to the interface for receiving the first ARP request message
Local host access interface sends the second ARP request message;And by locality connection enable across BVLAN forwarding capabilities its
The Network Side Interface of its SPB node device sends the 3rd ARP to the other SPB node devices enabled across BVLAN forwarding capabilities
Request message;
The target ip address of the second ARP request message is the target ip address of the first ARP request message, and source IP address is this
The IP address of equipment, source MAC are the bridge MAC Address of this equipment;
The target ip address of the third ARP request message is the target ip address of the first ARP request message, and source IP address is this
The IP address of equipment, source MAC are the bridge MAC Address of this equipment, and the third ARP request message is encapsulated with the first SPB,
First SPB is encapsulated:The B-MAC of first mesh, the first source B-MAC, the first I-SID, the first BVLAN marks;The B- of first mesh
MAC is:The bridge MAC Address across other SPB node devices of BVLAN forwarding capabilities is enabled, source B-MAC is the bridge of this equipment
MAC Address, I-SID are default I-SID, and BVLAN is identified as the mark of default BVLAN.
5. according to the method described in claim 1, it is characterized in that, this method further comprises:
Receive the 4th ARP with the 2nd SPB encapsulation enabled across other SPB node devices transmission of BVLAN forwarding capabilities
Request message, the B-MAC of the second mesh in the 2nd SPB encapsulation headers is the bridge MAC Address of this equipment, the 2nd I-SID is default
When I-SID, the 2nd BVLAN are identified as the mark of default BVLAN, the 2nd SPB encapsulation of the 4th ARP request message is unsealed
Dress obtains the 5th ARP request message;
The matched host information list item of target ip address with the 5th ARP request message is searched in local host information table,
If found, the forwarding for the 5th ARP request message that terminates, by the host IP address in the host information list item found, master
Machine MAC Address, SPB node device bridges MAC Address, BVLAN marks are organized into host information and are sent to the 4th ARP request report
The corresponding SPB node devices of source MAC of text change the source MAC of the 5th ARP request message if do not found
For the bridge MAC Address of this equipment, source IP address is revised as the IP address of this equipment, and modified 5th ARP request message is led to
Cross the local host access interface transmission enabled across BVLAN forwarding capabilities.
6. according to the method described in claim 1, it is characterized in that, it is the first data message that ought not find host IP address
The host information list item of purpose IP address, this method further comprise:
The first data message is cached, by enabling across BVLAN forwarding capability in addition to the interface for receiving the first data message
Local host access interface send the 6th ARP request message, and enabled across BVLAN forwarding capabilities by locality connection
The Network Side Interface of other SPB node devices sends the 7th to the other SPB node devices enabled across BVLAN forwarding capabilities
ARP request message, and start timer;
In the timer expiry, it is the first data message to search host IP address in local host information table again
The host information list item of purpose IP address returns to the BVLAN in the host information list item for executing and judging to find if found
Identify and receive the BVLAN belonging to the interface of the first data message identifies whether identical operation, otherwise, deletes caching
First data message;
Wherein, the target ip address of the 6th ARP request message is the purpose IP address of the first data message, and source IP address is originally to set
Standby IP address, source MAC are the bridge MAC Address of this equipment;
The target ip address of 7th ARP request message is the purpose IP address of the first data message, and source IP address is this equipment
IP address, source MAC are the bridge MAC Address of this equipment, and the 7th ARP request message is encapsulated with the 3rd SPB, third
SPB is encapsulated:Third purpose B-MAC, third source B-MAC, the 3rd I-SID, the 3rd BVLAN marks;Third purpose B-MAC
For:The bridge MAC Address across other SPB node devices of BVLAN forwarding capabilities is enabled, third source B-MAC is the bridge of this equipment
MAC Address, the 3rd I-SID are default I-SID, and the 3rd BVLAN is identified as the mark of default BVLAN.
7. according to the method described in claim 1, it is characterized in that, host in the host information list item that the basis is found
MAC Address, SPB node device bridges MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding and include:
Judge the SPB node device bridges MAC Address in the host information list item that finds whether be this equipment bridge MAC Address,
If so, the target MAC (Media Access Control) address of the first data message is revised as the host MAC in the host information list item found
Address and by searching for host information list item in outgoing interface forwarding;
If not, with being revised as the host MAC in the host information list item found by the target MAC (Media Access Control) address of the first data message
Location, to modified first data message carry out the 4th SPB encapsulation and by searching for host information list item in outgoing interface
Forwarding;
Wherein, the 4th SPB, which is encapsulated, includes:The B-MAC of 4th mesh, the 4th source B-MAC, the 4th I-SID, the 4th BVLAN marks;The
The B-MAC of four mesh is:SPB node device bridge MAC Address in the host information list item found, the 4th source B-MAC are originally to set
Standby bridge MAC Address, the 4th I-SID are default I-SID, and the 4th BVLAN is identified as the mark of default BVLAN.
8. according to the method described in claim 1, it is characterized in that, this method further comprises:
Receive the second data with the 5th SPB encapsulation enabled across other SPB node devices transmission of BVLAN forwarding capabilities
Message,
Determine that the B-MAC of the 5th mesh in the 5th SPB encapsulation headers is the bridge MAC Address of this equipment, the 5th I-SID is default I-
SID, the 5th BVLAN are identified as the mark of default BVLAN, then to the 5th SPB of the second data message encapsulation decapsulate
To third data message;
Found in local host information table with the matched host information list item of the purpose IP address of third data message, sentence
SPB node device bridges MAC in the disconnected matched host information list item of purpose IP address with third data message found
Address whether be this equipment bridge MAC Address, if so, the purpose IP address with third data message found by this
Outgoing interface in the host information list item matched forwards third data message, otherwise, abandons third data message.
9. a kind of data message forwarding device of across backbone virtual LAN BVLAN, which is characterized in that the device is applied to enabled
Across the shortest path bridge SPB node devices of BVLAN forwarding capabilities, including:
List item unit, for establishing host information list item, the host information list item include host IP address, host MAC address,
SPB node device bridges MAC Address, BVLAN marks, outgoing interface;
Across BVLAN retransmission unit, the first data message for receiving local host transmission, determines the purpose of the first data message
MAC Address is the MAC Address of this equipment, then it is the first data message that host IP address is searched in local host information table
The host information list item of purpose IP address judges the marks of the BVLAN in the host information list item found and receives the first number
Identifying whether for BVLAN belonging to interface according to message is identical, if not, according to the host in the host information list item found
MAC Address, SPB node device bridges MAC Address, the first data message of outgoing interface pair carry out across BVLAN forwarding;
Wherein, the host information list item includes:First host information list item and the second host information list item;The list item unit
It is to rely on the first host information list item of the ARP messages study of local host transmission;The list item unit is to rely on opposite end
The second host information list item that the host information that special SPB node devices are sent is established;The special SPB node devices in opposite end are
Refer to other each SPB node devices enabled across BVLAN forwarding capabilities except when except preceding SPB node devices.
10. device according to claim 9, which is characterized in that the list item unit is established host by following steps and believed
Cease list item:
The ARP messages that local host is sent are received, the forwarding for the ARP messages that terminate locally is being not present with the source IP of ARP messages
When the matched host information list item of location, source MAC, matched with the source IP address of ARP messages, source MAC locally newly-built
The first host information list item;In the first host information list item, host IP address is the source IP address of ARP messages, host MAC
Address is the source MAC of ARP messages, and SPB node device bridge MAC Address is the bridge MAC Address of this equipment, and BVLAN is identified as
The mark of the BVLAN belonging to the interface of ARP messages is received, outgoing interface is the interface for receiving ARP messages;
The host information enabled across other SPB node devices transmission of BVLAN forwarding capabilities is received, according to the host information
Newly-built second host information list item, the second host information list item include:The host information, outgoing interface, the host letter
Breath includes host IP address, host MAC address, SPB node device bridges MAC Address, BVLAN marks, second host information
Outgoing interface in list item is the interface for receiving host information.
11. device according to claim 10, which is characterized in that the list item unit further believes first host
Host IP address, host MAC address, SPB node device bridges MAC Address in breath list item, BVLAN marks are organized into host information
It is sent to the other SPB node devices enabled across BVLAN forwarding capabilities;
The list item unit is further looked into local host information table when the ARP messages are the first ARP request message
It is the host information list item of the target ip address of the first ARP request message to look for host IP address, if found, by receiving the
The interface of one ARP request message sends the first arp reply message for response the first ARP request message;First arp reply report
The source MAC of text is the bridge MAC Address of this equipment, and source IP address is the IP address of this equipment;If do not found, by removing
It receives the local host access interface enabled across BVLAN forwarding capabilities except the interface of the first ARP request message and sends the
Two ARP request messages;And the network side across other SPB node devices of BVLAN forwarding capabilities is enabled by locality connection
Interface sends third ARP request message to the other SPB node devices enabled across BVLAN forwarding capabilities;
Wherein, the target ip address of the second ARP request message is the target ip address of the first ARP request message, source IP
Location is the IP address of this equipment, and source MAC is the bridge MAC Address of this equipment;
The target ip address of the third ARP request message is the target ip address of the first ARP request message, and source IP address is this
The IP address of equipment, source MAC are the bridge MAC Address of this equipment, and third ARP request message is encapsulated with the first SPB, first
SPB is encapsulated:The B-MAC of first mesh, the first source B-MAC, the first I-SID, the first BVLAN marks;The B-MAC of first mesh
For:Enable the bridge MAC Address across other SPB node devices of BVLAN forwarding capabilities, source B-MAC is the bridge MAC of this equipment
Location, I-SID are default I-SID, and BVLAN is identified as the mark of default BVLAN.
12. device according to claim 9, which is characterized in that across BVLAN retransmission unit is further received and enabled
Across the 4th ARP request message with the 2nd SPB encapsulation that other SPB node devices of BVLAN forwarding capabilities are sent, the 4th
The B-MAC of the second mesh in 2nd SPB encapsulation headers of ARP request message is the bridge MAC Address of this equipment, the 2nd I-SID is pre-
If I-SID, the 2nd BVLAN are identified as the mark of default BVLAN, the 2nd SPB encapsulation of the 4th ARP request message is solved
Encapsulation obtains the 5th ARP request message, and is searched with the Target IP of the 5th ARP request message in local host information table
The matched host information list item in location, if found, the forwarding for the 5th ARP request message that terminates, the host information that will be found
Host IP address, host MAC address, SPB node device bridges MAC Address, BVLAN marks in list item are organized into host information hair
The corresponding SPB node devices of source MAC for giving the 4th ARP request message ask the 5th ARP if do not found
The source MAC of message is asked to be revised as the bridge MAC Address of this equipment, source IP address is revised as the IP address of this equipment, will change
The 5th ARP request message afterwards passes through the local host access interface transmission enabled across BVLAN forwarding capabilities;
Across BVLAN retransmission unit further receive enable across BVLAN forwarding capabilities other SPB node devices transmission
The second data message with the 5th SPB encapsulation, determines the B- of the 5th mesh in the 5th SPB encapsulation headers of the second data message
MAC is the bridge MAC Address of this equipment, the 5th I-SID is the mark preset I-SID, the 5th BVLAN and be identified as default BVLAN, then
The 5th SPB encapsulation of second data message is decapsulated to obtain third data message;It is looked into local host information table
Find with the matched host information list item of the purpose IP address of third data message, judge that this finds with third data message
The matched host information list item of purpose IP address in SPB node device bridges MAC Address whether be this equipment bridge MAC
Location, if so, by going out to connect in the matched host information list item of purpose IP address with third data message found
Otherwise mouth forwarding third data message abandons third data message.
13. device according to claim 9, which is characterized in that across BVLAN retransmission unit is not finding host ip
Address is the host information list item of the purpose IP address of the first data message, further caches the first data message, is received by removing
The 6th ARP of local host access interface transmission enabled across BVLAN forwarding capabilities except to the interface of the first data message
Request message, and by locality connection enable the Network Side Interface across other SPB node devices of BVLAN forwarding capabilities to
The other SPB node devices enabled across BVLAN forwarding capabilities send the 7th ARP request message, and start timer, described
When timer expiry, the purpose IP address that host IP address is the first data message is searched in local host information table again
Host information list item return to execute and judge BVLAN marks in the host information list item that finds and receive if found
The BVLAN's belonging to interface to the first data message identifies whether identical operation, otherwise, deletes the first datagram of caching
Text;
Wherein, the target ip address of the 6th ARP request message is the purpose IP address of the first data message, and source IP address is originally to set
Standby IP address, source MAC are the bridge MAC Address of this equipment;
The target ip address of 7th ARP request message is the purpose IP address of the first data message, and source IP address is this equipment
IP address, source MAC are the bridge MAC Address of this equipment, and the 7th ARP request message is encapsulated with the 3rd SPB, the 3rd SPB envelopes
Dress includes:Third purpose B-MAC, third source B-MAC, the 3rd I-SID, the 3rd BVLAN marks;Third purpose B-MAC is:It is enabled
Across the bridge MAC Address of other SPB node devices of BVLAN forwarding capabilities, third source B-MAC is the bridge MAC Address of this equipment,
3rd I-SID is default I-SID, and the 3rd BVLAN is identified as the mark of default BVLAN.
14. device according to claim 9, which is characterized in that across BVLAN retransmission unit is according to the host found
Host MAC address, SPB node device bridges MAC Address, the first data message of outgoing interface pair in information table are carried out across BVLAN
Forwarding includes:
Judge the SPB node device bridges MAC Address in the host information list item that finds whether be this equipment bridge MAC Address,
If so, the target MAC (Media Access Control) address of the first data message is revised as the host MAC in the host information list item found
Address and by searching for host information list item in outgoing interface forwarding;
If not, with being revised as the host MAC in the host information list item found by the target MAC (Media Access Control) address of the first data message
Location, to modified first data message carry out the 4th SPB encapsulation and by searching for host information list item in outgoing interface
Forwarding;
Wherein, the 4th SPB, which is encapsulated, includes:The B-MAC of 4th mesh, the 4th source B-MAC, the 4th I-SID, the 4th BVLAN marks;The
The B-MAC of four mesh is:SPB node device bridge MAC Address in the host information list item found, the 4th source B-MAC are originally to set
Standby bridge MAC Address, the 4th I-SID are default I-SID, and the 4th BVLAN is identified as the mark of default BVLAN.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510269957.0A CN104836735B (en) | 2015-05-25 | 2015-05-25 | Across the data message forwarding method and device of BVLAN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510269957.0A CN104836735B (en) | 2015-05-25 | 2015-05-25 | Across the data message forwarding method and device of BVLAN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104836735A CN104836735A (en) | 2015-08-12 |
CN104836735B true CN104836735B (en) | 2018-11-09 |
Family
ID=53814380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510269957.0A Active CN104836735B (en) | 2015-05-25 | 2015-05-25 | Across the data message forwarding method and device of BVLAN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104836735B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106487677B (en) * | 2015-09-02 | 2019-10-01 | 华为技术有限公司 | Provider edge equipment and data forwarding method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023792A (en) * | 2011-09-23 | 2013-04-03 | 阿瓦雅公司 | Conveying the VLAN/L2 VSN/bridging-domain of the incoming interface (IIF) when transporting multicast traffic |
CN103152257A (en) * | 2013-03-14 | 2013-06-12 | 杭州华三通信技术有限公司 | Data transmission method and device |
CN103200095A (en) * | 2013-03-22 | 2013-07-10 | 杭州华三通信技术有限公司 | Cross-space Builder (SPB)-network access implementing method and cross-SPB-network access implementing equipment |
CN103731288A (en) * | 2012-10-16 | 2014-04-16 | 杭州华三通信技术有限公司 | Message forwarding method and device |
CN104079466A (en) * | 2014-07-03 | 2014-10-01 | 杭州华三通信技术有限公司 | Message processing method and equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9258222B2 (en) * | 2012-09-26 | 2016-02-09 | Avaya, Inc. | Implementing a shortest path bridging (SPB) network using a virtual routing and forwarding (VRF) identifier |
-
2015
- 2015-05-25 CN CN201510269957.0A patent/CN104836735B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023792A (en) * | 2011-09-23 | 2013-04-03 | 阿瓦雅公司 | Conveying the VLAN/L2 VSN/bridging-domain of the incoming interface (IIF) when transporting multicast traffic |
CN103731288A (en) * | 2012-10-16 | 2014-04-16 | 杭州华三通信技术有限公司 | Message forwarding method and device |
CN103152257A (en) * | 2013-03-14 | 2013-06-12 | 杭州华三通信技术有限公司 | Data transmission method and device |
CN103200095A (en) * | 2013-03-22 | 2013-07-10 | 杭州华三通信技术有限公司 | Cross-space Builder (SPB)-network access implementing method and cross-SPB-network access implementing equipment |
CN104079466A (en) * | 2014-07-03 | 2014-10-01 | 杭州华三通信技术有限公司 | Message processing method and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104836735A (en) | 2015-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10050877B2 (en) | Packet forwarding method and apparatus | |
US10193707B2 (en) | Packet transmission method and apparatus | |
CN103841023B (en) | The method and apparatus of data forwarding | |
CN103944826B (en) | List item polymerization and equipment in SPBM network | |
CN105827495B (en) | The message forwarding method and equipment of VXLAN gateway | |
CN103354509B (en) | The acquisition methods of a kind of link connection information and equipment | |
CN105187311B (en) | A kind of message forwarding method and device | |
CN105227466B (en) | Communication processing method and device | |
CN103973825B (en) | Method, node device and the sending method of MAC Address accessibility are noticed in stacking network | |
CN103067278B (en) | A kind of method for transmission processing of Frame, equipment and system | |
CN100364289C (en) | Method for implementing layer-2 equipment interconnection in resilient packet ring (RPR) based network | |
CN107968751A (en) | A kind of information processing method and device | |
CN109936490A (en) | Virtual home network share method and system based on VXLAN and OpenFlow | |
CN106209637A (en) | From message forwarding method and the equipment of virtual expansible LAN to VLAN | |
CN104780090A (en) | VPN multicast transmission method and device PE equipment | |
CN104486217A (en) | Cross network message transmitting method and equipment | |
CN104378302B (en) | Address corresponding relation sending method and route bridge device | |
CN104836735B (en) | Across the data message forwarding method and device of BVLAN | |
CN107666428A (en) | Silencing devices detection method and device | |
CN110391984B (en) | Message forwarding method and device | |
CN103685029B (en) | Message forwarding method and equipment in a kind of rapid ring protection protocol networking | |
CN108306825A (en) | A kind of equivalence forwarding-table item generation method and VTEP equipment | |
CN106209554A (en) | Message forwarding method and equipment across virtual expansible LAN | |
CN100479457C (en) | Implementation method for transferring data in virtual private network | |
CN103607350A (en) | Method and device for generating route |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |