CN103841023B - The method and apparatus of data forwarding - Google Patents
The method and apparatus of data forwarding Download PDFInfo
- Publication number
- CN103841023B CN103841023B CN201210479376.6A CN201210479376A CN103841023B CN 103841023 B CN103841023 B CN 103841023B CN 201210479376 A CN201210479376 A CN 201210479376A CN 103841023 B CN103841023 B CN 103841023B
- Authority
- CN
- China
- Prior art keywords
- message
- address
- head
- tunnel
- vsi
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method and apparatus of data forwarding, belong to communication technical field.Methods described includes:Receive the first message from tunnel, described first message comprises outer layer IP head, tunnel head and internal layer ether net head, termination tunnel, if corresponding information is not found in the mac table according to the SMAC address in internal layer ether net head, set up the corresponding relation of the SMAC address in this internal layer ether net head and the source IP address in this outer layer IP head in the mac table;When receiving the second message, described second message includes ether net head, MAC table is searched according to the dmac address in the ether net head of the second message, if finding described dmac address, then tunnel encapsulation is carried out to the second message according to IP address corresponding with described dmac address in MAC table, and forward the message after encapsulation.Described equipment includes:Set up module and forwarding module.Present invention achieves the automatic study of forwarding surface and forwarding.
Description
Technical field
The present invention relates to communication technical field, particularly to a kind of method and apparatus of data forwarding.
Background technology
What network virtualization can hide physical network realizes details, make from the point of view of user to be belonging to oneself
Logic network, is how to transmit user service data without care physical network.After network virtualization technology, with
One physical network can fictionalize various logic network, be easy to provide diversified business, also improve business department
The motility of administration and extensibility.
Based on three layers of network virtualization(English:Network Virtualization over L3, abbreviation:NVO3)It is
A kind of network virtualization technology, supports at three layers, i.e. Internet(English:network layer), physical network on realize net
The virtualization of network.Each user network passes through virtual network edge(English:Network Virtualization Edge, contracting
Write:NVE)Equipment is connected to intermediate transport networks, applies NVO3 technology on intermediate transport networks, thus by different user networks
Network invents a network.Intermediate transport networks therein are usually Internet protocol(English:Internet Protocol, contracting
Write:IP)Network.The NVE receiving message is properly termed as ingress virtual network edge again(English:Ingress NVE, abbreviation:
iNVE)Equipment, the NVE E-Packeting is properly termed as outlet virtual network edge again(English:Egress NVE, abbreviation:eNVE)
Equipment.In addition, in intermediate transport networks, also include multiple being responsible for carrying out message in intermediate transport networks turning in addition to NVE
The equipment sent out, these equipment are properly termed as intermediate equipment again.When two user network communication, iNVE will be from a user network
The user data of network is sent to eNVE by way of tunnel, and this user data is sent to another user network by eNVE again,
It is achieved thereby that the communication between two user networks.When being communicated between multiple user networks that a NVE connects, can
To require no tunnel.
In communication process, iNVE needs user data is forwarded on certain tunnel, and adds outer to user data
Layer encapsulation, i.e. tunnel encapsulation, and the intermediate equipment in NVO3 network then need not perceive user data that is to say, that user data pair
It is transparent for the intermediate equipment of NVO3 network.User data only need to be transmitted to eNVE, eNVE termination tunnel by intermediate equipment
Afterwards user data is transmitted to corresponding user network.
Generally, a kind of scheme is by manual type configured tunneling technique;Another kind of scheme is to run chain of command agreement automatically to exist
Tunnel is set up between NVE.
But, above-mentioned manual type configured tunneling technique, Comparision is loaded down with trivial details, is short of motility, and network extension is relatively difficult, and
Cannot self-adapting network change;And the mode running chain of command agreement needs chain of command to participate in repeating process, not only need
The complicated control layer protocol of the network operation, in addition it is also necessary to forwarding surface and chain of command cooperation just can complete, is realized more complicated.
Content of the invention
The invention provides a kind of method and apparatus of data forwarding.Described technical scheme is as follows:
In a first aspect, the invention provides a kind of method of data forwarding, methods described includes:
Receive the first message from tunnel, described first message comprise outer layer internet protocol IP head, tunnel head and internal layer with
Too net head, terminate tunnel, if according to the source medium access control SMAC address in described internal layer ether net head in medium access
Control in MAC table and do not find corresponding information, then set up the SMAC ground in described internal layer ether net head in described MAC table
The corresponding relation of the source IP address in location and described outer layer IP head;
When receiving the second message, described second message includes ether net head, according to the Ethernet of described second message
Purpose medium access control dmac address in head searches described MAC table, if finding the ether net head of described second message
In dmac address, then according in described MAC table with the ether net head of described second message dmac address corresponding IP ground
Location, carries out tunnel encapsulation to described second message, and forwards the message after encapsulation.
In conjunction with a first aspect, under the first embodiment of first aspect, methods described also includes:
If not finding the dmac address in the ether net head of described second message in described MAC table, according to reception
The port of described second message determines the user network that described second message is derived from, according to the user network pre-setting and multicast
IP address, the corresponding relation of multicast mac address obtain the corresponding multicast ip address of user network being derived from described second message
And multicast mac address, with the described multicast ip address that obtains for the dmac address of outer layer ether net head, with the described multicast obtaining
MAC Address is the DIP address of outer layer IP head, encapsulates described second message, and multicast sends the message after encapsulation.
In conjunction with a first aspect, under the second embodiment of first aspect, described MAC table is set up described internal layer ether
SMAC address in net head and the corresponding relation of the source IP address in described outer layer IP head, including:
Obtain virtual switch instance VSI of the user network that described first message is derived from, and obtain described first message
Source IP address in outer layer IP head;
With the SMAC address in the VSI of described user network and described internal layer ether net head for index, in described MAC table
Set up the corresponding relation of the source IP address in described index and described outer layer IP head.
In conjunction with the second embodiment of first aspect, under the third embodiment of first aspect, obtain described first
Virtual switch instance VSI of the user network that message is derived from, including:
Obtain the virtual process identifications VNID in the tunnel head of described first message, according to reflecting of default VNID and VSI
Penetrate determination and the corresponding VSI of VNID in the tunnel head of described first message.
In conjunction with the third embodiment of first aspect, under the 4th kind of embodiment of first aspect, obtain described first
VNID in the tunnel head of message, determines in the tunnel head with described first message according to the mapping of default VNID and VSI
The corresponding VSI of VNID, including:
If described tunnel is generic route encapsulation gre tunneling, obtain the virtual subnet in the tunnel head of described first message
Network mark knows VSID, corresponding with the VSID in the tunnel head of described first message with the mapping determination of VSI according to default VSID
VSI;Or,
If described tunnel is virtual expansible LAN VxLAN tunnel, obtain in the tunnel head of described first message
Virtual expansible LAN identifies VNI, determines the tunnel head with described first message according to the mapping of default VNI and VSI
In the corresponding VSI of VNI.
In conjunction with the second embodiment of first aspect, under the 5th kind of embodiment of first aspect, according to described second
Purpose medium access control dmac address in the internal layer ether net head of message searches described MAC table, if finding described the
Dmac address in the internal layer ether net head of two messages, then according to the internal layer Ethernet with described second message in described MAC table
The corresponding IP address of dmac address in head, carries out tunnel encapsulation to described second message, including:
Port according to receiving described second message determines the VSI of the user network that described second message is derived from, described
The DMAC ground in the VSI of user network that described second message is derived from and the ether net head of described second message is searched in MAC table
The combination of location, if found in the VSI of user network that described second message is derived from and the ether net head of described second message
Dmac address combination, then obtain the VSI of user network that is derived from described second message and described the in described MAC table
The corresponding IP address of combination of the dmac address in the ether net head of two messages;
Using obtain described IP address as tunnel head purpose DIP address, be described second message encapsulation tunnel head and
Outer layer IP head.
Second aspect, the invention provides a kind of equipment of data forwarding, described equipment includes:
Set up module, for receiving the first message from tunnel, described first message comprises outer layer internet protocol IP head, tunnel
Head and internal layer ether net head, terminate tunnel, if according to the source medium access control SMAC address in described internal layer ether net head
Do not find corresponding information in medium access control MAC table, then set up described internal layer ether net head in described MAC table
In SMAC address and described outer layer IP head in source IP address corresponding relation;
Forwarding module, for when receiving the second message, described second message includes ether net head, according to described second
Purpose medium access control dmac address in the ether net head of message searches described MAC table, if finding described second report
Literary composition ether net head in dmac address, then according in described MAC table with the ether net head of described second message in DMAC ground
The corresponding IP address in location, carries out tunnel encapsulation to described second message, and forwards the message after encapsulation.
In conjunction with second aspect, under the first embodiment of second aspect, described forwarding module is additionally operable to:
If not finding the dmac address in the ether net head of described second message in described MAC table, according to reception
The port of described second message determines the user network that described second message is derived from, according to the user network pre-setting and multicast
IP address, the corresponding relation of multicast mac address obtain the corresponding multicast ip address of user network being derived from described second message
And multicast mac address, with the described multicast ip address that obtains for the dmac address of outer layer ether net head, with the described multicast obtaining
MAC Address is the DIP address of outer layer IP head, encapsulates described second message, and multicast sends the message after encapsulation.
In conjunction with second aspect, under the second embodiment of second aspect, described module of setting up includes:
Acquiring unit, for obtaining virtual switch instance VSI of the user network that described first message is derived from, and obtains institute
State the source IP address in the outer layer IP head of the first message;
Set up unit, for the SMAC address in the VSI of described user network and described internal layer ether net head for index,
The corresponding relation of the source IP address in described index and described outer layer IP head is set up in described MAC table.
In conjunction with the second embodiment of second aspect, under the third embodiment of second aspect, described acquiring unit
For:
Obtain the virtual process identifications VNID in the tunnel head of described first message, according to reflecting of default VNID and VSI
Penetrate determination and the corresponding VSI of VNID in the tunnel head of described first message.
In conjunction with the third embodiment of second aspect, under the 4th kind of embodiment of second aspect, described acquiring unit
For:
If described tunnel is generic route encapsulation gre tunneling, obtain the virtual subnet in the tunnel head of described first message
Network mark knows VSID, corresponding with the VSID in the tunnel head of described first message with the mapping determination of VSI according to default VSID
VSI;Or,
If described tunnel is virtual expansible LAN VxLAN tunnel, obtain in the tunnel head of described first message
Virtual expansible LAN identifies VNI, determines the tunnel head with described first message according to the mapping of default VNI and VSI
In the corresponding VSI of VNI.
In conjunction with the second embodiment of second aspect, under the 5th kind of embodiment of second aspect, described forwarding module
Including:
Searching unit, for determining, according to the port receiving described second message, the user network that described second message is derived from
VSI, described MAC table is searched the Ethernet of the VSI of user network that described second message is derived from and described second message
The combination of the dmac address in head, if find the VSI of user network and described second message that described second message is derived from
Ether net head in dmac address combination, then obtain the user network that is derived from described second message in described MAC table
VSI and described second message ether net head in dmac address the corresponding IP address of combination;
Encapsulation unit, for will obtain described IP address as tunnel head purpose DIP address, be described second message
Encapsulation tunnel head and outer layer IP head.
The beneficial effect brought of technical scheme that the present invention provides is:By automatically setting up internal layer when E-Packeting
The corresponding relation of the source IP address in SMAC address and outer layer IP head in ether net head, and according to this corresponding relation to receive with
Too network packet is forwarded it is achieved that the automatic study of forwarding surface and forwarding, without the participation of chain of command, reduces equipment complicated
Degree.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below
Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is NVO3 network structure provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram of the data forwarding that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the data forwarding that another embodiment of the present invention provides;
Fig. 4 is the structural representation of the GRE head of gre tunneling provided in an embodiment of the present invention;
Fig. 5 is the structural representation of the VxLAN head in VxLAN tunnel provided in an embodiment of the present invention;
Fig. 6 is the transfer process figure that device A provided in an embodiment of the present invention sends data to equipment B;
Fig. 7 is the transfer process figure that equipment B provided in an embodiment of the present invention sends data to device A;
Fig. 8 is the structure chart of the equipment of data forwarding that further embodiment of this invention provides;
Fig. 9 is the structure chart of the equipment of data forwarding that yet another embodiment of the invention provides;
Figure 10 is the structure chart of the equipment of data forwarding that a further embodiment of the present invention provides.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
The present embodiments relate to NVO3 network.Referring to Fig. 1, it is NVO3 network structure provided in an embodiment of the present invention.
Wherein, NVO3 network is by website SITE A, the website SITEB of user network of user network and intermediate transport networks L3 group of networks
Become.This intermediate transport networks is usually IP network.The thing of the website SITE B of the website SITE A of user network and user network
Reason position can be different, and a such as You Liangge department of company is the website SITE A of user network and the website of user network respectively
SITE B, but it is located at Beijing and Shanghai respectively.By NVO3 network, it is possible to achieve the website SITE A of user network and user
Communication between the website SITE B of network, different websites is logically divided in same user network, and mutual
Between perceive difference less than physical location.
In the embodiment of the present invention, the tunnel in NVO3 network can be any kind of tunnel, for example:Generic route encapsulation
(English:Generic Routing Encapsulation, abbreviation:GRE)Tunnel, virtual expansible LAN(English:
Virtual Extensible Local Area Network, abbreviation:VxLAN)Tunnel etc..The message of user network needs
Could forward in tunnel after adding tunnel head.Wherein, the usual structure of the message of user network is as shown in table 1.
Table 1
Ether net head | Payload |
Wherein, payload(English:payload)Carry user data.
In the tunnel of NVO3 network, the structure of the message of transmission is as shown in table 2.
Table 2
Outer layer ether net head | Outer layer IP head | Tunnel head | Internal layer ether net head | Payload |
Wherein, outer layer IP head comprises:Purpose IP address(Hereinafter referred to as DIP address), source IP address(Hereinafter referred to as SIP ground
Location).Comprise in tunnel head:Virtual process identifications(English:Virtual Network Identifier, abbreviation:VNID).Its
In, the structure of VNID is determined by specific tunnel layer protocol, if tunnel layer protocol is GRE protocol, VNID is virtual subnet network mark
Know(English:Virtual Subnet Identifier, abbreviation:VSID);If tunnel layer protocol is VxLAN agreement, VNID is
Virtual expansible LAN mark(English:Virtual Extensible Local Area Network Identifier,
Abbreviation:VNI).Internal layer ether net head includes:Purpose medium access control(English:Media access control, abbreviation:
MAC)Address(Hereinafter referred to as dmac address), source MAC(Hereinafter referred to as SMAC address).DMAC ground in internal layer ether net head
Location is the MAC Address of the equipment receiving message in user network, and the SMAC address in internal layer ether net head is to send out in user network
Deliver newspaper literary composition equipment MAC Address.Outer layer ether net head also comprises dmac address and SMAC address, but in outer layer ether net head
Dmac address exchanges for layer 3 next in the forward-path in tunnel(English:Layer3switching)The MAC Address of equipment, outward
SMAC address in layer ether net head is the MAC Address of the equipment of this message currently transmitted in tunnel.Wherein, described next one layer
3 switching equipment can be NVE or intermediate equipment.
In the case that tunnel protocol is for GRE protocol, tunnel head is GRE head, such as table 3 institute of the message data structure in tunnel
Show.
Table 3
Outer layer ether net head | Outer layer IP head | GRE head | Internal layer ether net head | Payload |
In the case that tunnel protocol is for VxLAN agreement, tunnel head includes outer users datagram protocol(English:User
Datagram Protocol, abbreviation:UDP)Head and VxLAN head, the message data structure in tunnel is as shown in table 4.
Table 4
Outer layer ether net head | Outer layer IP head | Outer layer UDP head | VxLAN head | Internal layer ether net head | Payload |
Referring to Fig. 2, one embodiment of the invention provides a kind of method of data forwarding, including:
201:NVE receives the first message from tunnel, and this first message comprises outer layer internet protocol IP head, tunnel head and interior
Layer ether net head.NVE terminate tunnel, if do not found in the mac table according to the SMAC address in internal layer ether net head right
The information answered, then set up the institute of the SMAC address in the internal layer ether net head of this first message and the first message in this MAC table
State the corresponding relation of the source IP address in outer layer IP head.
Wherein, described MAC table is the table that the NVE in the embodiment of the present invention safeguards, this MAC table includes MAC Address and IP
Corresponding relation between address.
202:When NVE receives the second message, described second message includes ether net head, according to the ether of the second message
Dmac address in net head searches MAC table, if the dmac address in finding the ether net head of this second message, NVE root
According in MAC table with the corresponding IP address of dmac address in the ether net head of this second message, tunnel envelope is carried out to the second message
Dress, and forward the message after encapsulation.
NVE carries out tunnel encapsulation according to a specific IP address and refers to add tunnel head for this message to a message,
Such as GRE head or VxLAN head, and add outer layer IP head, the source IP address in this outer layer IP head is the IP address of NVE, purpose IP
Address is this specific IP address.
There is the corresponding relation of the user network pre-setting and multicast ip address and multicast mac address in each NVE.NVE
Each port be connected to each website, NVE can determine, according to the port receiving the second message, the user that the second message is derived from
Network.If NVE does not find the dmac address in the ether net head of this second message in the mac table, report according to receiving second
The port of literary composition determines the user network that the second message is derived from, according to the user network pre-setting and multicast ip address, multicast MAC
The corresponding relation of address obtains with the second message is derived from the corresponding multicast ip address of user network and multicast mac address, with
The described multicast ip address arriving is the dmac address of outer layer ether net head, with the described multicast mac address that obtains for outer layer IP head
DIP address, encapsulate the second message, and multicast send encapsulation after message.
In the present embodiment, the NVE in NVE and step 202 in step 201 is same NVE, and the NVE in step 201 connects
Receive the message from tunnel, be therefore to set up described corresponding relation in the mac table as breakout users network edge device.Step
NVE in rapid 202 receives the message from customer network site, is therefore according to MAC as ingress User Network edge device
Table is forwarded to message.
The said method that the present embodiment provides, by automatically setting up SMAC in internal layer ether net head when E-Packeting
The corresponding relation of the source IP address in address and outer layer IP head, and the ether network packet receiving is carried out turn according to this corresponding relation
Send out it is achieved that the automatic study of forwarding surface and forwarding, without the participation of chain of command, flexibly, network is easy to extend business realizing, net
Network management service is convenient, solves the problems, such as that the workload in human configuration tunnel is big, is difficult to extend, also solves operation chain of command
Agreement is set up and is safeguarded that tunnel style needs forwarding surface and chain of command cooperation, chain of command to run the problem of complex protocol, enhances
Autgmentability, improve adaptive ability, reduce equipment complexity.
Referring to Fig. 3, another embodiment of the present invention provides a kind of method of data forwarding.Embodiment shown in Fig. 3 is one
Plant optional implementation.In this embodiment, NVE is with virtual switch instance(English:Virtual Switch Instace, contracting
Write:VSI)Distinguish user network, when NVE connects multiple user network, NVE is identified with different VSI and connected
Different user networks.One user network can include multiple websites, and each website can include multiple equipment.Above-mentioned network
Under framework, the corresponding relation between MAC Address and IP address can be only included in the MAC table that NVE safeguards, also may be used in this MAC table
To preserve VSI, to distinguish different user networks, that is, this MAC table includes combining of VSI and MAC Address, and IP address it
Between corresponding relation.NVE in embodiment illustrated in fig. 3 safeguards a MAC table, wherein preserves VSI, to distinguish different users
Network.
The method includes:
301:NVE receives the first message from tunnel, and this first message comprises outer layer internet protocol IP head, tunnel head and interior
Layer ether net head, terminate tunnel, if do not found corresponding in the mac table according to the SMAC address in internal layer ether net head
Information, then obtain the VSI of the user network that the first message is derived from.
Specifically, NVE obtains the corresponding VSI of user network that the first message is derived from, and can include:
Obtain the VNID in the tunnel head of this first message, the mapping according to default VNID and VSI determine with this first
The corresponding VSI of VNID in the tunnel head of message.
Further, obtain the VNID in the tunnel head of this first message, the mapping according to default VNID and VSI determines
VSI corresponding with the VNID in the tunnel head of this first message, can include:
In the case that this tunnel is gre tunneling, obtain the VSID in the tunnel head of this first message, according to default
VSID is determined and the corresponding VSI of VSID in the tunnel head of this first message with the mapping of VSI;
In the case that this tunnel is VxLAN tunnel, obtain the VxLAN network identity in the tunnel head of this first message
VNI, is determined and the corresponding VSI of VNI in the tunnel head of this first message with the mapping of VSI according to default VNI.
In the case that this tunnel is gre tunneling, in the message of transmission in tunnel, the data structure of GRE head is as shown in Figure 4.
Wherein, VSID represents virtual subnet ID, for identifying user network.
In the case that this tunnel is VxLAN tunnel, the data structure of the VxLAN head in the message of transmission in tunnel is as schemed
Shown in 5.Wherein, VNI represents virtual subnet ID, for identifying user network.
302:NVE obtains the source IP address in the outer layer IP head of this first message.
303:NVE with the SMAC address of this VSI of obtaining and the internal layer ether net head of this first message for index, in MAC
The corresponding relation of this index and described source IP address is set up in table.
304:When NVE receives the second message, this second message includes ether net head, and NVE is according to the second report receiving
The port of literary composition determines the VSI of the user network that the second message is derived from, and searches the user network that the second message is derived from the mac table
The combination of the dmac address in the ether net head of VSI and this second message.
305:If NVE finds in the VSI of user network that this second message is derived from and the ether net head of the second message
Dmac address combination, then obtain in the mac table the VSI of user network that is derived from this second message and the second message with
The corresponding IP address of combination of the dmac address too in net head, using obtain this IP address as tunnel head DIP address, for this
Second message encapsulation tunnel head and outer layer IP head, and forward the message after encapsulation;If NVE does not find this second message and is derived from
The VSI of user network and the second message ether net head in dmac address combination, then according to the end receiving the second message
Mouth determines the user network that described second message is derived from, according to the user network pre-setting and multicast ip address, multicast MAC ground
The corresponding relation of location obtains the corresponding multicast ip address of user network being derived from described second message and multicast mac address, with
The described multicast ip address obtaining is the dmac address of outer layer ether net head, with the described multicast mac address that obtains for outer layer IP
The DIP address of head, encapsulates described second message, and multicast sends the message after encapsulation.
The first message in the present embodiment can be unicast message, multicast message or broadcasting packet.When the first message is single
When reporting literary composition, the dmac address in the internal layer ether net head of this message is the MAC Address of certain equipment in second user network;
When the first message is multicast message or broadcasting packet, the dmac address in the internal layer ether net head of this message is second user net
The multicast address of network, ingress virtual network edge device can be broadcasted or multicast in user network according to the multicast group that user adds
Message, outlet virtual network edge device can be broadcasted or multicast message in user network;But, the study of above-mentioned MAC table
Journey is the same, does not repeat herein.
The rule of study in the present embodiment, can be pre-set as needed, including but not limited to:Receiving unicast message
Shi Jinhang learns, or is learnt when receiving multicast message, or is learnt when receiving broadcasting packet, or is receiving
Two kinds in unicast message, multicast message and broadcasting packet or learnt during three kinds of messages, the present invention does not do to this to be had
Body limits.Either which kind of scene, during study, when having there is corresponding list item in MAC table, then need not be to
Content through learning carries out learning again.In the present invention, learnt when receiving multicast or broadcasting packet it is ensured that
Be successfully received during unicast message can according to study to content forwarded accordingly.That is, work as there is no phase in MAC table
During the MAC address entries answered, can be learnt when receiving first unicast message it is also possible to receive first multicast or broadcast
Learnt during message, thus ensureing can correctly be forwarded in the unicast message being successfully received.
The said method that the present embodiment provides, by automatically setting up SMAC in internal layer ether net head when E-Packeting
The corresponding relation of the source IP address in address and outer layer IP head, and the ether network packet receiving is carried out turn according to this corresponding relation
Send out it is achieved that the automatic study of forwarding surface and forwarding, without the participation of chain of command, flexibly, network is easy to extend business realizing, net
Network management service is convenient, solves the problems, such as that the workload in human configuration tunnel is big, is difficult to extend, also solves operation chain of command
Agreement is set up and is safeguarded that tunnel style needs forwarding surface and chain of command cooperation, chain of command to run the problem of complex protocol, enhances
Autgmentability, improve adaptive ability, reduce equipment complexity.
In order to the process of above-mentioned study and forwarding is better described, below with the website SITEA of the user network shown in Fig. 1
One of to describe in detail as a example transmitting procedure between one of the website SITE B of device A and user network equipment B.
Referring to Fig. 6, a kind of method of data forwarding, send message for device A to equipment B, the method specifically includes:
601:Device A first time is communicated with equipment B, sends a message A to NVE1, message A includes ether net head
And payload.
As shown in table 1, wherein, the dmac address in ether net head is the address MAC_B of equipment B to the form of described message A,
SMAC address is the address MAC_A of device A.
602:After NVE1 receives message A, determine the corresponding VSI of website SITE A, then use VSI and dmac address to search
MAC table, without finding the corresponding information of MAC_B, then the NVE1 MAC Address of NVE1, IP address are corresponding with this VSI
VNID, encapsulated message A obtains message B.
There is the corresponding relation of the user network pre-setting and multicast ip address and multicast mac address in each NVE.Citing
For, website SITE A and website SITE B correspond to same user network, then be all previously provided with NVE1 and NVE2 with
The corresponding multicast ip address of this user network and multicast mac address.NVE1 receives report from the port being connected with website SITE A
Wen Shi, determines multicast ip address corresponding with this user network and multicast mac address according to this port.Wherein, the form of message B
As shown in table 2, the dmac address of outer layer ether net head is multicast mac address, and SMAC address is the MAC Address of NVE1, outer layer IP
The DIP address of head is multicast ip address, and sip address is the IP address of NVE1, comprises this VNID, internal layer ether net head in tunnel head
It is the content of message A with payload.Described multicast ip address can be the common multicast ip address adding of NVE1 and NVE2, described
Multicast mac address is MAC Address corresponding with this multicast ip address.
Wherein, described multicast ip address and corresponding MAC Address are that NVE obtains in addition multicast group, and are saved in
Locally, NVE can be in multicast ip address described in local search and corresponding MAC Address when carrying out tunnel encapsulation.Generally, one
All NVE that user network is connected can add same multicast group.
Specifically, according to the port numbers of the VLAN of message A or reception message A, NVE1 can determine that website SITE A corresponds to
VSI, the present invention is not specifically limited to this.
In the present embodiment, NVE can identify different user networks by VSI.For example, a NVE can use VSI1
Carry out unique mark user network 1, with VSI2 come unique mark user network 2, etc..When message transmits in tunnel, just use
VNID is identifying user network, and does not use VSI.Therefore, each NVE can safeguard the corresponding relation of VNID and VSI, according to
This corresponding relation can obtain corresponding VNID from the VSI of user network, thus carrying out the encapsulation decapsulation of message.
603:Message B is sent in the way of multicast by NVE1, and, by above-mentioned VSI, internal layer ether net head SMAC ground
Location is VLAN in MAC_A, message A and the port information PORT receiving message A learns in MAC table, increases in the MAC table of NVE1
Plus a list item, form is as shown in table 5.
Table 5
VSI | MAC_A | VLAN | PORT |
Wherein, VSI and MAC_A is the index value looking into MAC table, VLAN and PORT is knot corresponding with this index in MAC table
Really.
604:After NVE2 receives the message B of NVE1 multicast transmission, analytic message B, find that the DIP address in tunnel head is
The IP address of oneself, terminate tunnel, determines corresponding VSI according to the VNID in tunnel head, with this VSI and internal layer ether net head
In dmac address, i.e. MAC_B, search MAC table, due to being that device A was communicated with the first time of equipment B, can not find out the MAC of coupling
List item.Therefore, NVE2 decapsulates to message B, removes outer layer ether net head, outer layer IP head, tunnel head obtain message C.
Wherein, the format and content of message C obtaining after decapsulation is identical with the format and content of message A.
605:Message C is broadcast in the website SITE B of the corresponding user network of the VSI determining NVE2, and, will
The sip address of the outer layer IP head of the above-mentioned VSI determining, the SMAC address of internal layer ether net head and message B learns to MAC
In table, the MAC table of NVE2 increases a list item, form is as shown in table 6.
Table 6
VSI | MAC_A | OUT_IP | PORT |
Wherein, VSI and MAC_A is the index value searching MAC table, and OUT_IP, PORT are the result searching MAC table.OUT_
IP is the sip address of outer layer IP head, and PORT is the information of the ingress port receiving message A.
606:The message receiving C is sent to equipment B by the website SITE B of user network, it is achieved thereby that device A and setting
Message transmissions between standby B.
After transfer process shown in Fig. 6, referring to Fig. 7, a kind of method of data forwarding, send out to device A for equipment B
Deliver newspaper literary composition, the method specifically includes:
701:One equipment B of the website SITE B of user network is receiving the website SITE A's from this user network
After the message of device A, respond a message D to device A.
As shown in table 1, wherein, the dmac address of ether net head is MAC_A to the form of described message D, and SMAC is MAC_B.
702:NVE2 receives message D, determines the corresponding VSI of website SITE B of user network, with this VSI and purpose
MAC Address MAC_A searches MAC table.Because NVE2 learns MAC_A in MAC table, therefore, inquiry obtains port information
With IP address OUT_IP.Message D is packaged into by message E according to the information that inquiry obtains.
As shown in table 2, wherein, the DIP of outer layer IP head is OUT_IP to the form of described message E, and SIP is the IP ground of NVE2
Location;The VNID of tunnel head is VNID corresponding with this VSI.
703:NVE2 sends message E to NVE1, and, by the corresponding VSI of website SITE B of user network, internal layer ether
SMAC in net head be MAC_B, the VLAN of message D, receive message D port information PORT learn in MAC table, NVE2's
Increase a list item, form is as shown in table 7 in MAC table.
Table 7
VSI | MAC_B | VLAN | PORT |
Wherein, VSI and MAC_B is the index value searching MAC table, VLAN and PORT is the result searching MAC table.
704:After NVE1 receives message E, analytic message E, find that the DIP address in tunnel head is the IP address of oneself,
According to default VNID, termination tunnel, determines that with the mapping relations of VSI the corresponding VSI of VNID in tunnel head is user network
The corresponding VSI of website SITE A, the dmac address with this VSI and internal layer ether net head be MAC_A search MAC table, held
Message breath and vlan information.
705:NVE1 decapsulates to message E, removes outer layer IP head and tunnel head, in interpolation in internal layer ether net head
State and search the VLAN that obtains of MAC table, obtain message F, wherein, the format and content phase of the format and content of message F and message D
With;Then message F is sent to user network from the corresponding port of this port information according to the port information finding by NVE1
Website SITE A;And, the corresponding VSI of website SITE A by the user network determining, the sip address of outer layer IP head, internal layer
The SMAC address of ether net head, the port information PORT receiving message D learns in MAC table, increases by one in the MAC table of NVE1
Bar list item, form is as shown in table 8.
Table 8
VSI | MAC_B | OUT_IP | PORT |
Wherein, VSI and MAC_B is the index value searching MAC table, OUT_IP and PORT is the result tabled look-up.OUT_IP is
The sip address of the outer layer IP head of message E, PORT is the port information receiving message D.
706:After the website SITE A of user network receives message F, message F is sent to device A.
By said process, the MAC table of NVE1 and NVE2 all learns to the MAC address entries to device A and equipment B, subsequently
Communication message can by search MAC table directly forward.
Referring to Fig. 8, further embodiment of this invention provides a kind of equipment of data forwarding, including:
Set up module 801, for from tunnel receive the first message, described first message comprise outer layer internet protocol IP head,
Tunnel head and internal layer ether net head, terminate tunnel, if according to the source medium access control SMAC in described internal layer ether net head
Address does not find corresponding information in medium access control MAC table, then set up described internal layer ether in described MAC table
SMAC address in net head and the corresponding relation of the source IP address in described outer layer IP head;
Forwarding module 802, for when receiving the second message, described second message includes ether net head, according to described
Purpose medium access control dmac address in the ether net head of the second message searches described MAC table, if finding described the
Dmac address in the ether net head of two messages, then according in described MAC table with the ether net head of described second message in
The corresponding IP address of dmac address, carries out tunnel encapsulation to described second message, and forwards the message after encapsulation.
Under the first embodiment of the said equipment, forwarding module 802 is additionally operable to:
If not finding the dmac address in the ether net head of the second message in the mac table, according to receiving the second message
Port determine the user network that the second message is derived from, according to the user network pre-setting and multicast ip address, multicast MAC ground
The corresponding relation of location obtains with the second message is derived from the corresponding multicast ip address of user network and multicast mac address, to obtain
Multicast ip address be outer layer ether net head dmac address, with the multicast mac address that obtains for the DIP address of outer layer IP head,
Encapsulate the second message, and multicast sends the message after encapsulation.
Referring to Fig. 9, under the second embodiment of the said equipment, set up module 801 and include:
Acquiring unit 801a, for obtaining the VSI of the user network that the first message is derived from, and obtains the outer layer of the first message
Source IP address in IP head;
Set up unit 801b, for the SMAC address in the VSI of described user network and described internal layer ether net head being
Index, sets up the corresponding relation of the source IP address in this index and this outer layer IP head in the mac table.
On the basis of above-mentioned second embodiment, under the third embodiment of described equipment, acquiring unit 801a
For:
Obtain the VNID in the tunnel head of the first message, the mapping according to default VNID and VSI determines and described first
The corresponding VSI of VNID in the tunnel head of message.
On the basis of the third embodiment above-mentioned, under the 4th kind of embodiment of described equipment, this acquiring unit
801a is used for:
If described tunnel be gre tunneling, obtain the VSID in the tunnel head of the first message, according to default VSID with
The mapping of VSI determines and the corresponding VSI of VSID in the tunnel head of described first message;Or,
If described tunnel be VxLAN tunnel, obtain the VNI in the tunnel head of the first message, according to default VNI with
The mapping of VSI determines and the corresponding VSI of VNI in the tunnel head of described first message.
On the basis of above-mentioned second embodiment, under the 5th kind of embodiment of described equipment, forwarding module 802 wraps
Include:
Searching unit 802a, for determining user network that the second message is derived from according to the port receiving the second message
VSI, searches the dmac address in the VSI of the user network that the second message is derived from and the ether net head of the second message in the mac table
Combination, if finding the dmac address in the VSI of the user network that the second message is derived from and the ether net head of the second message
Combination, then obtain in the mac table in the VSI of user network that is derived from the second message and the ether net head of the second message
The corresponding IP address of combination of dmac address;
Retransmission unit 802b, for will obtain described IP address as tunnel head purpose DIP address, be described second
Message encapsulation tunnel head and outer layer IP head.
Under any one embodiment of equipment described in the present embodiment, described first message is unicast message, multicast message
Or broadcasting packet.
The said equipment that the present embodiment provides, by automatically setting up SMAC in internal layer ether net head when E-Packeting
The corresponding relation of the source IP address in address and outer layer IP head, and the ether network packet receiving is carried out turn according to this corresponding relation
Send out it is achieved that the automatic study of forwarding surface and forwarding, without the participation of chain of command, flexibly, network is easy to extend business realizing, net
Network management service is convenient, solves the problems, such as that the workload in human configuration tunnel is big, is difficult to extend, also solves operation chain of command
Agreement is set up and is safeguarded that tunnel style needs forwarding surface and chain of command cooperation, chain of command to run the problem of complex protocol, enhances
Autgmentability, improve adaptive ability, reduce equipment complexity.
Referring to Figure 10, yet another embodiment of the invention provides a kind of equipment of data forwarding, including:
Receptor 1001, for receiving the first message from tunnel, and receives the second message, described first message comprises outer
Layer Internet protocol IP head, tunnel head and internal layer ether net head, described second message includes ether net head;
Processor 1002, for the tunnel that when this receptor receives this first message, terminates, if according to described internal layer
Source medium access control SMAC address in ether net head does not find corresponding information in medium access control MAC table,
In described MAC table, then set up the right of source IP address in SMAC address in described internal layer ether net head and described outer layer IP head
Should be related to, when this receptor receives the second message, the dmac address in the ether net head according to described second message is searched
Described MAC table, if the dmac address in finding the ether net head of described second message, according in described MAC table with institute
State the corresponding IP address of dmac address in the ether net head of the second message, tunnel encapsulation is carried out to described second message;
Transmitter 1003, forwards for the message after encapsulating this processor.
Under the first embodiment of the said equipment, this processor 1002 can be also used for:
If not finding the dmac address in the ether net head of the second message in the mac table, according to receiving the second message
Port determine the user network that the second message is derived from, according to the user network pre-setting and multicast ip address, multicast MAC ground
The corresponding relation of location obtains with the second message is derived from the corresponding multicast ip address of user network and multicast mac address, to obtain
Multicast ip address be outer layer ether net head dmac address, with the multicast mac address that obtains for the DIP address of outer layer IP head,
Encapsulate the second message, and multicast sends the message after encapsulation;Correspondingly, transmitter 1003 can be also used for multicast and sends this process
Device 1002 is with the message after described multicast ip address and multicast mac address encapsulation.
Under the second embodiment of the said equipment, processor 1002 is used for:
Obtain the VSI of the user network that the first message is derived from, and obtain the source IP address in the outer layer IP head of the first message;
With the SMAC address in the VSI of described user network and described internal layer ether net head for index, set up in the mac table this index with
The corresponding relation of the source IP address in this outer layer IP head.
On the basis of above-mentioned second embodiment, under the third embodiment of described equipment, processor 1002 is used
In:
Obtain the VNID in the tunnel head of the first message, the mapping according to default VNID and VSI determines and described first
The corresponding VSI of VNID in the tunnel head of message.
On the basis of the third embodiment above-mentioned, under the 4th kind of embodiment of described equipment, this processor 1002
For:
If described tunnel be gre tunneling, obtain the VSID in the tunnel head of the first message, according to default VSID with
The mapping of VSI determines and the corresponding VSI of VSID in the tunnel head of described first message;Or,
If described tunnel be VxLAN tunnel, obtain the VNI in the tunnel head of the first message, according to default VNI with
The mapping of VSI determines and the corresponding VSI of VNI in the tunnel head of described first message.
On the basis of above-mentioned second embodiment, under the 5th kind of embodiment of described equipment, this processor 1002
For:
Port according to receiving the second message determines the VSI of the user network that the second message is derived from, and searches the in the mac table
The combination of the dmac address in the ether net head of the VSI of the user network that two messages are derived from and the second message, if find
The combination of the dmac address in the ether net head of the VSI of the user network that two messages are derived from and the second message, then obtain in the mac table
Take the corresponding IP of combination of the dmac address in VSI with the user network that the second message is derived from and the ether net head of the second message
Address, using obtain described IP address as tunnel head purpose DIP address, be the second message encapsulation tunnel head and outer layer IP
Head.
The equipment of the above-mentioned data forwarding that the present embodiment provides, by automatically setting up internal layer ether when E-Packeting
The corresponding relation of the source IP address in SMAC address and outer layer IP head in net head, and according to this corresponding relation to the Ethernet receiving
Message is forwarded it is achieved that the automatic study of forwarding surface and forwarding, and without the participation of chain of command, business realizing is flexible, network
It is easy to extend, network management is easy to maintenance, solve the problems, such as that the workload in human configuration tunnel is big, be difficult to extend, also solve
Run chain of command agreement to set up and safeguard that tunnel style needs forwarding surface and chain of command cooperation, chain of command to run complex protocol
Problem, enhances autgmentability, improves adaptive ability, reduces equipment complexity.
Another embodiment of the present invention additionally provides a kind of system of data forwarding, including the number described in as above any embodiment
According to the equipment forwarding, the function of the equipment of this data forwarding is identical with the description in above-described embodiment, does not repeat herein.
Wherein, the equipment in the website of user network accesses described system by the equipment of described data forwarding, and message leads to
Transmission network in the middle of crossing is transmitted, and can also include intermediate equipment in this transmission network, such as router etc..Described data
The number of equipment forwarding does not limit, under normal circumstances for multiple.
Described system is passed through automatically to set up SMAC address and outer layer IP head in internal layer ether net head when E-Packeting
In source IP address corresponding relation, and according to this corresponding relation, the ether network packet receiving is forwarded it is achieved that being forwarded
The automatic study in face and forwarding, without the participation of chain of command, flexibly, network is easy to extend business realizing, network management maintenance side
Just, the workload solving the problems, such as human configuration tunnel is big, be difficult to extend, and also solves operation chain of command agreement and sets up and tie up
Shield tunnel style needs forwarding surface and chain of command cooperation, chain of command to run the problem of complex protocol, enhances autgmentability, improves
Adaptive ability, reduces equipment complexity.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware
To complete it is also possible to the hardware being instructed correlation by program is completed, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.
Claims (12)
1. a kind of method of data forwarding is it is characterised in that methods described includes:
Receive the first message from tunnel, described first message comprises outer layer internet protocol IP head, tunnel head and internal layer Ethernet
Head, terminate tunnel, if according to the source medium access control SMAC address in described internal layer ether net head in medium access control
Do not find corresponding information in MAC table, then set up in described MAC table SMAC address in described internal layer ether net head with
The corresponding relation of the source IP address in described outer layer IP head, the source IP address in described outer layer IP head is to forward described first message
Tunnel portal virtual network edge device NVE IP address, the SMAC address in described internal layer ether net head be to described enter
Mouth NVE sends the MAC Address of the equipment being not added with tunnel encapsulation message;
When receiving the second message, described second message includes ether net head, in the ether net head according to described second message
Purpose medium access control dmac address search described MAC table, if in finding the ether net head of described second message
Dmac address, then according in described MAC table with the corresponding IP address of dmac address in the ether net head of described second message, right
Described second message carries out tunnel encapsulation, and forwards the message after encapsulation.
2. method according to claim 1 is it is characterised in that also include:
If not finding the dmac address in the ether net head of described second message in described MAC table, according to receive
The port of the second message determines the user network that described second message is derived from, according to the user network pre-setting and multicast IP ground
Location, the corresponding relation of multicast mac address obtain the corresponding multicast ip address of user network being derived from described second message and group
Broadcast MAC Address, with the described multicast mac address that obtains for the dmac address of outer layer ether net head, with the described multicast IP obtaining
Address is the DIP address of outer layer IP head, encapsulates described second message, and multicast sends the message after encapsulation.
3. method according to claim 1 is it is characterised in that set up in described internal layer ether net head in described MAC table
SMAC address and described outer layer IP head in source IP address corresponding relation, including:
Obtain virtual switch instance VSI of the user network that described first message is derived from, and obtain the outer layer of described first message
Source IP address in IP head;
With the SMAC address in the VSI of described user network and described internal layer ether net head for index, set up in described MAC table
The corresponding relation of the source IP address in described index and described outer layer IP head.
4. method according to claim 3 is it is characterised in that obtain the virtual of the user network that described first message is derived from
Exchange example VSI, including:
Obtain the virtual process identifications VNID in the tunnel head of described first message, true according to the mapping of default VNID and VSI
Determine and the corresponding VSI of VNID in the tunnel head of described first message.
5. method according to claim 4 it is characterised in that obtain described first message tunnel head in VNID, root
Determine and the corresponding VSI of VNID in the tunnel head of described first message with the mapping of VSI according to default VNID, including:
If described tunnel is generic route encapsulation gre tunneling, obtain the virtual subnet network mark in the tunnel head of described first message
Know VSID, determined and the corresponding VSI of VSID in the tunnel head of described first message with the mapping of VSI according to default VSID;
Or,
If described tunnel is virtual expansible LAN VxLAN tunnel, obtain virtual in the tunnel head of described first message
Expansible LAN identifies VNI, is determined in the tunnel head with described first message according to the mapping of default VNI and VSI
The corresponding VSI of VNI.
6. method according to claim 3 it is characterised in that according in the ether net head of described second message DMAC ground
Described MAC table is searched in location, if the dmac address in finding the ether net head of described second message, according to described MAC table
In with the corresponding IP address of dmac address in the ether net head of described second message, tunnel envelope is carried out to described second message
Dress, including:
Port according to receiving described second message determines the VSI of the user network that described second message is derived from, in described MAC table
The group of the dmac address in the VSI of user network and the ether net head of described second message that described second message of middle lookup is derived from
Close, if finding the DMAC in the VSI of user network that described second message is derived from and the ether net head of described second message
The combination of address, then obtain the VSI of user network being derived from described second message and described second message in described MAC table
Ether net head in dmac address the corresponding IP address of combination;
Using obtain described IP address as tunnel head purpose DIP address, be described second message encapsulation tunnel head and outer layer
IP head.
7. a kind of equipment of data forwarding is it is characterised in that described equipment includes:
Set up module, for from tunnel receive the first message, described first message comprise outer layer internet protocol IP head, tunnel head and
Internal layer ether net head, terminate tunnel, if be situated between according to the source medium access control SMAC address in described internal layer ether net head
Do not find corresponding information in matter access control MAC table, then set up in described internal layer ether net head in described MAC table
The corresponding relation of the source IP address in SMAC address and described outer layer IP head, the source IP address in described outer layer IP head is to forward institute
State the IP address of the tunnel portal virtual network edge device NVE of the first message, the SMAC address in described internal layer ether net head
It is the MAC Address sending the equipment being not added with tunnel encapsulation message to described entrance NVE;
Forwarding module, for when receiving the second message, described second message includes ether net head, according to described second message
Ether net head in purpose medium access control dmac address search described MAC table, if finding described second message
Dmac address in ether net head, then according in described MAC table with the ether net head of described second message in dmac address pair
The IP address answered, carries out tunnel encapsulation to described second message, and forwards the message after encapsulation.
8. equipment according to claim 7 is it is characterised in that described forwarding module is additionally operable to:
If not finding the dmac address in the ether net head of described second message in described MAC table, according to receive
The port of the second message determines the user network that described second message is derived from, according to the user network pre-setting and multicast IP ground
Location, the corresponding relation of multicast mac address obtain the corresponding multicast ip address of user network being derived from described second message and group
Broadcast MAC Address, with the described multicast ip address that obtains for the dmac address of outer layer ether net head, with the described multicast MAC obtaining
Address is the DIP address of outer layer IP head, encapsulates described second message, and multicast sends the message after encapsulation.
9. equipment according to claim 7 is it is characterised in that described module of setting up includes:
Acquiring unit, for obtaining virtual switch instance VSI of the user network that described first message is derived from, and obtains described
Source IP address in the outer layer IP head of one message;
Set up unit, for the SMAC address in the VSI of described user network and described internal layer ether net head for index, in institute
State the corresponding relation setting up the source IP address in described index and described outer layer IP head in MAC table.
10. equipment according to claim 9 is it is characterised in that described acquiring unit is used for:
Obtain the virtual process identifications VNID in the tunnel head of described first message, true according to the mapping of default VNID and VSI
Determine and the corresponding VSI of VNID in the tunnel head of described first message.
11. equipment according to claim 10 are it is characterised in that described acquiring unit is used for:
If described tunnel is generic route encapsulation gre tunneling, obtain the virtual subnet network mark in the tunnel head of described first message
Know VSID, determined and the corresponding VSI of VSID in the tunnel head of described first message with the mapping of VSI according to default VSID;
Or,
If described tunnel is virtual expansible LAN VxLAN tunnel, obtain virtual in the tunnel head of described first message
Expansible LAN identifies VNI, is determined in the tunnel head with described first message according to the mapping of default VNI and VSI
The corresponding VSI of VNI.
12. equipment according to claim 9 are it is characterised in that described forwarding module includes:
Searching unit, for determining user network that described second message is derived from according to the port receiving described second message
VSI, searches the ether net head of the VSI of user network that described second message is derived from and described second message in described MAC table
In dmac address combination, if finding the VSI of user network that described second message is derived from and described second message
The combination of the dmac address in ether net head, then obtain the user network being derived from described second message in described MAC table
The corresponding IP address of combination of the dmac address in the ether net head of VSI and described second message;
Encapsulation unit, for will obtain described IP address as tunnel head purpose DIP address, be described second message encapsulation
Tunnel head and outer layer IP head.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210479376.6A CN103841023B (en) | 2012-11-22 | 2012-11-22 | The method and apparatus of data forwarding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210479376.6A CN103841023B (en) | 2012-11-22 | 2012-11-22 | The method and apparatus of data forwarding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103841023A CN103841023A (en) | 2014-06-04 |
CN103841023B true CN103841023B (en) | 2017-03-08 |
Family
ID=50804175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210479376.6A Active CN103841023B (en) | 2012-11-22 | 2012-11-22 | The method and apparatus of data forwarding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103841023B (en) |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105227421B (en) * | 2014-07-03 | 2018-11-09 | 新华三技术有限公司 | Message processing method and device in a kind of stacking network |
CN104243268B (en) | 2014-09-19 | 2017-05-10 | 新华三技术有限公司 | Association method and device between virtual extensible local area networks (VXLAN) and tunnel |
CN104243630B (en) * | 2014-09-29 | 2017-10-03 | 新华三技术有限公司 | MAC address learning method and device in VXLAN networks |
CN104243318B (en) * | 2014-09-29 | 2018-10-09 | 新华三技术有限公司 | MAC address learning method and device in VXLAN networks |
CN105490995B (en) * | 2014-09-30 | 2018-04-20 | 国际商业机器公司 | A kind of method and apparatus that NVE E-Packets in NVO3 networks |
CN105591865A (en) * | 2014-10-21 | 2016-05-18 | 中兴通讯股份有限公司 | Method, NVE device, NVA device, and system for virtual network realization |
CN104518940B (en) * | 2014-10-27 | 2017-12-29 | 华为技术有限公司 | Realize the method and apparatus to be communicated between NVO3 networks and MPLS network |
CN106209689B (en) | 2015-05-04 | 2019-06-14 | 新华三技术有限公司 | Multicast data packet forwarding method and apparatus from VXLAN to VLAN |
CN106209636B (en) | 2015-05-04 | 2019-08-02 | 新华三技术有限公司 | Multicast data packet forwarding method and apparatus from VLAN to VXLAN |
CN106209648B (en) * | 2015-05-04 | 2019-06-14 | 新华三技术有限公司 | Multicast data packet forwarding method and apparatus across virtual expansible local area network |
WO2016206742A1 (en) * | 2015-06-25 | 2016-12-29 | Nec Europe Ltd. | Method and system for managing data traffic in a computing network |
CN105763416B (en) * | 2016-04-27 | 2019-06-11 | 新华三技术有限公司 | A kind of data transmission method and controller |
CN105763385B (en) * | 2016-04-27 | 2019-05-07 | 新华三技术有限公司 | Traffic scheduling method and device |
CN106899500B (en) * | 2016-12-16 | 2020-06-26 | 新华三技术有限公司 | Message processing method and device for cross-virtual extensible local area network |
CN108199963B (en) * | 2017-12-27 | 2020-01-07 | 新华三技术有限公司 | Message forwarding method and device |
CN109039916B (en) * | 2018-09-13 | 2021-08-06 | 迈普通信技术股份有限公司 | Message forwarding method, device and storage medium |
CN111182016B (en) * | 2018-11-12 | 2022-12-27 | 中移(杭州)信息技术有限公司 | PPPoE dialing message transmission method and device |
CN111885596A (en) * | 2020-08-03 | 2020-11-03 | 南京创通微新通信有限公司 | Data forwarding system and method based on virtual port |
CN112039920B (en) * | 2020-09-14 | 2022-02-22 | 迈普通信技术股份有限公司 | Communication method, communication device, electronic device and storage medium |
CN113596038B (en) * | 2021-08-02 | 2023-04-07 | 武汉绿色网络信息服务有限责任公司 | Data packet parsing method and server |
CN116137585B (en) * | 2023-04-20 | 2023-07-18 | 武汉绿色网络信息服务有限责任公司 | Message forwarding method, device, computer equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1672850A2 (en) * | 2003-09-06 | 2006-06-21 | Fujitsu Limited | Method for a virtual private network (VPN) with channelized Ethernet over Sonet (EoS) |
CN101094155A (en) * | 2007-08-02 | 2007-12-26 | 杭州华三通信技术有限公司 | Method for establishing IPv6 tunnel, IPv6 tunnel communication method, and Ipv4 periphery devices |
CN101127717A (en) * | 2007-09-30 | 2008-02-20 | 中控科技集团有限公司 | A packet forward method and switch |
CN101146016A (en) * | 2006-09-15 | 2008-03-19 | 华为技术有限公司 | Ethernet frame transmission method and Ethernet architecture |
CN101534209A (en) * | 2009-04-20 | 2009-09-16 | 杭州华三通信技术有限公司 | A method and device for sending multicast messages |
CN101621525A (en) * | 2009-08-05 | 2010-01-06 | 杭州华三通信技术有限公司 | Method and equipment for treating legal entries |
CN101938415A (en) * | 2010-08-30 | 2011-01-05 | 北京傲天动联技术有限公司 | Rapid forwarding method for network forwarding device |
CN102325073A (en) * | 2011-07-06 | 2012-01-18 | 杭州华三通信技术有限公司 | VPLS (Virtual Private Local Area Network Service)-based message processing method and device thereof |
CN102752210A (en) * | 2012-07-09 | 2012-10-24 | 瑞斯康达科技发展股份有限公司 | Inter-LAN (local area network) message transmission method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101110746B (en) * | 2007-08-16 | 2011-03-16 | 华为技术有限公司 | Edge equipment of operators, city Ethernet access network and its data processing method |
US8477775B2 (en) * | 2009-05-14 | 2013-07-02 | Avaya Inc. | Unifying local and mobility network identifiers |
-
2012
- 2012-11-22 CN CN201210479376.6A patent/CN103841023B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1672850A2 (en) * | 2003-09-06 | 2006-06-21 | Fujitsu Limited | Method for a virtual private network (VPN) with channelized Ethernet over Sonet (EoS) |
CN101146016A (en) * | 2006-09-15 | 2008-03-19 | 华为技术有限公司 | Ethernet frame transmission method and Ethernet architecture |
CN101094155A (en) * | 2007-08-02 | 2007-12-26 | 杭州华三通信技术有限公司 | Method for establishing IPv6 tunnel, IPv6 tunnel communication method, and Ipv4 periphery devices |
CN101127717A (en) * | 2007-09-30 | 2008-02-20 | 中控科技集团有限公司 | A packet forward method and switch |
CN101534209A (en) * | 2009-04-20 | 2009-09-16 | 杭州华三通信技术有限公司 | A method and device for sending multicast messages |
CN101621525A (en) * | 2009-08-05 | 2010-01-06 | 杭州华三通信技术有限公司 | Method and equipment for treating legal entries |
CN101938415A (en) * | 2010-08-30 | 2011-01-05 | 北京傲天动联技术有限公司 | Rapid forwarding method for network forwarding device |
CN102325073A (en) * | 2011-07-06 | 2012-01-18 | 杭州华三通信技术有限公司 | VPLS (Virtual Private Local Area Network Service)-based message processing method and device thereof |
CN102752210A (en) * | 2012-07-09 | 2012-10-24 | 瑞斯康达科技发展股份有限公司 | Inter-LAN (local area network) message transmission method and system |
Also Published As
Publication number | Publication date |
---|---|
CN103841023A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103841023B (en) | The method and apparatus of data forwarding | |
CN109218178B (en) | Message processing method and network equipment | |
CN104869042B (en) | Message forwarding method and device | |
CN104935516B (en) | Communication system and method based on software defined network | |
CN103200069B (en) | A kind of method and apparatus of Message processing | |
JP6034979B2 (en) | Packet transfer method and apparatus, and data center network | |
CN102025591B (en) | Method and system for implementing virtual private network | |
CN103795636B (en) | Multicast processing method, device and system | |
CN104579954B (en) | The cross-domain retransmission method of message, device and communication equipment | |
WO2015165311A1 (en) | Method for transmitting data packet and provider edge device | |
CN101110745A (en) | Method, device and system for engaging second layer network and third layer network | |
CN110034993B (en) | Method, equipment and network system for transmitting data | |
EP3113427B1 (en) | Method for sending multicast packet and switch | |
CN106209689B (en) | Multicast data packet forwarding method and apparatus from VXLAN to VLAN | |
CN112887139B (en) | Message processing method and device | |
WO2020108531A1 (en) | Packet forwarding | |
CN106209638A (en) | From VLAN to the message forwarding method of virtual expansible LAN and equipment | |
CN106209648A (en) | Multicast data packet forwarding method and apparatus across virtual expansible LAN | |
CN105337884A (en) | Method and device for achieving multistage message editing service control on the basis of logic port | |
CN107547342A (en) | Message broadcasting method and apparatus based on VXLAN tunnels | |
CN107547340A (en) | A kind of message forwarding method and device | |
CN103685007B (en) | A kind of mac learning method when edge device message forwards and edge device | |
EP2897328B1 (en) | Method, system and apparatus for establishing communication link | |
CN104780090B (en) | Method, apparatus, the PE equipment of VPN multicast transmissions | |
WO2022117018A1 (en) | Packet transmission method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |