CN103841028A - Method and device for forwarding messages - Google Patents

Method and device for forwarding messages Download PDF

Info

Publication number
CN103841028A
CN103841028A CN201410110107.1A CN201410110107A CN103841028A CN 103841028 A CN103841028 A CN 103841028A CN 201410110107 A CN201410110107 A CN 201410110107A CN 103841028 A CN103841028 A CN 103841028A
Authority
CN
China
Prior art keywords
vi
mapping
packet
address
qe
Prior art date
Application number
CN201410110107.1A
Other languages
Chinese (zh)
Other versions
CN103841028B (en
Inventor
林长望
Original Assignee
杭州华三通信技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 杭州华三通信技术有限公司 filed Critical 杭州华三通信技术有限公司
Priority to CN201410110107.1A priority Critical patent/CN103841028B/en
Publication of CN103841028A publication Critical patent/CN103841028A/en
Application granted granted Critical
Publication of CN103841028B publication Critical patent/CN103841028B/en

Links

Abstract

The invention discloses a method and device for forwarding messages. An ARP request message sent by a first VM is received by a first VTEP, a mapping request message is sent to a second VTEP through a mapping system, and a mapping relationship between an EID and an RLOC of a second VM under the second VTEP is requested; a mapping response message returned by the second VTEP is received by the first VTEP and the mapping relationship between the EID and the RLOC of the second VM is learned, wherein the EID is an MAC address, an IP address and a VNI of the second VM; the RLOC is an IP address of the second VTEP; the messages sent to the second VM by the first VM are received by the first VTEP, according to the stored mapping relationship between the EID and the RLOC of the second VM, VXLAN packaging is conducted on the messages, and the packaged messages are sent to the second VTEP and forwarded to the second VM through the second VTEP. The function that a VXLAN is operated efficiently under the condition that multicast is avoided is achieved.

Description

一种报文转发方法及设备 OSPF packets forwarding method and apparatus

技术领域 FIELD

[0001] 本发明涉及网络通信技术领域,特别涉及一种报文转发方法及设备。 [0001] The present invention relates to network communication technology field, particularly to a method and apparatus for packet forwarding.

背景技术 Background technique

[0002] 在云计算的多租户环境中,每个租户都需要分配一个能够与其它逻辑网络进行很好隔离的逻辑网络。 [0002] In the multi-tenant cloud computing environment, a need to assign each tenant can be sufficiently isolated from other logical network logical network. 逻辑网络的隔离一般通过虚拟局域网VI#皿1 100^1紅63他切01*10技术来解决。 Isolation logic network is generally solved by VLAN VI # ^ 1 red dish 1100 63 01 * 10 he cut technology. 在1^2802.10标准中,由于的标识最大1261。 1 ^ 2802.10 standard, because the identity of the largest 1261. 所以一定范围内最大的礼^^个数只有姐。 So the maximum number of gift ^^ within a certain range only sister. 随着云环境下的多租户需求越来越多,41(个乂!^^已经不能满足数据中心大规模网络部署的需求。另外,在云计算环境中,工作负载经常需要在多个数据中心和多个云平台中进行迁移,而当前基于I?子网的区域划分限制了二层连通性的应用。 As more and more multi-tenant demand in the cloud, 41 (a qe! ^^ can not meet the needs of large-scale data center network deployments. In addition, in a cloud computing environment, the workload often need multiple data centers and multiple cloud platforms to migrate, and based on the current I? subnetting area limits the application of the second floor connectivity.

[0003] ”[他是一种嫩0111-口0?技术,它通过在网络的2.5层设置一个新的网络分段模式,加入了一个2仙“的段标识符,极大的扩充了云计算环境中所能支持的逻辑网络的数量;并且使得工作负载与物理网络脱离,实现逻辑网络跨越I? [0003] "[He is a tender mouth 0111- 0? Technique, which layer is provided by 2.5 of a new network segment network mode, the addition of a 2 immortal" segment identifier, cloud greatly expanded number of environments can support the logical network calculation; and that the working load from the physical network, implementing logical network spans the I? 网络。 The internet.

[0004] 7X1^^技术使同一个7X1^^中的多个虚拟机(VI,71代皿1 1^1116)可以跨三层网络进行通信,在技术中,每个租户对应一个虚拟叠加网,每个虚拟叠加网被认为是一个7X1^^网段,并且通过一个24位的虚拟可扩展局域网网络标识符他切01^1(1611^1^161-,.1)标识。 [0004] 7X1 ^^ 7X1 ^^ same technology enables a plurality of virtual machines (VI, 71 on behalf of the dish 11 ^ 1116) to communicate across a network Layer, in the art, each corresponding to a virtual overlay network tenant each virtual overlay network is considered to be a 7X1 ^^ network segment, and by a 24-bit scalable virtual local area network identifier he cut 01 ^ 1 (1611 ^ 1 ^ 161-- ,. 1) logo. 只有拥有相同.1的VI之间才允许进行通信。 VI is allowed only between .1 to communicate with the same.

[0005] 图1为现有技术数据中心网络的组网示意图。 [0005] FIG 1 is a networking diagram of the prior art data center network. 虚拟通道终端(乂呢?)八和乂呢? Virtual channel terminal (Yi in it?) VIII and Yi in it? 8分属于不同的数据中心,现有技术中,要实现跨数据中心互连,即^12? 8 belong to different data centers, in the prior art, to achieve inter-data center interconnects, namely ^ 12? 八下的VI要与乂呢? VI to eight under with Yi in it? 8下的服务器实现通信,有两种方案:方案一3X1^^通`过组播运行,运行时需要部署组播。 8 at the server for communication, there are two options: Option via a 3X1 ^^ 'running through multicast, the multicast need to deploy runtime. 方案二,7X1^^通过中间系统到中间系统(13-13)或边界网关路由协议⑶⑶)协议作为控制平面协议运行。 Scheme II, 7X1 ^^ run as a control plane protocol to an intermediate system (13-13) or the Border Gateway Protocol routing ⑶⑶) protocol intermediate system.

[0006] 以方案一为例对现有技术跨数据中心的报文转发方法进行说明,该方法需要指定顆I映射到一个I? Message forwarding method [0006] to program a data center, for example across the prior art is described, which I need to specify the stars mapped to a I? 网络的组播组,此顆I的每个乂呢? Multicast network, each qe stars I do this? 都加入该组播组,利用泛洪和学习机制完成地址学习,具体包括以下步骤: Have joined the multicast group by flooding and learning completion address learning mechanism, comprises the steps of:

[0007] 步骤1、假设VI和服务器属于同一.1,即都属于7X1^^5000,所以将7X1^^5000映射到一个组播组,该组播组I? [0007] Step 1, and assuming VI .1 belong to the same server, i.e. belong 7X1 ^^ 5000, so 7X1 ^^ 5000 maps to a multicast group, the multicast group the I? 为239.1.1.1,将VI所连接的712? Is 239.1.1.1, the VI 712 is connected? 八、服务器所连接的乂呢? Eight, the server is connected Yi in it? 8都加入该组播组; 8 are added to the multicast group;

[0008] 步骤2、VI发送仙? [0008] Step 2, VI transmission Sin? 请求报文给712? Request message to the 712? 八,请求服务器的嫩0地址; Eight request tender 0 server address;

[0009] 步骤3、7X2? [0009] Step 3,7X2? 八接收到仙? It received eight cents? 请求后在组播组239.1.1.1内广播仙? After the request within a multicast group 239.1.1.1 broadcast Sin? 请求; request;

[0010] 步骤4、与乂12? [0010] Step 4, and Yi in 12? ^具有同一州I (7^1^5000)的乂12? ^ Qe 12 has the same state I (7 ^ 1 ^ 5000) of? 8接收到仙? 8 receives cents? 请求后,学习到VI的職地址和712? After the request, the ministry learned VI addresses and 712? ^的I? ^ Of I? 地址1.1.1.1存到本地嫩‹:表项中,同时向7X1^^5000各 1.1.1.1 memory address to the local tender <: entry, while each of the 7X1 ^^ 5000

端口广播请求; Broadcast request port;

[0011] 步骤5、服务器接收到八卩? [0011] Step 5, the server receives to eight Jie? 请求后发送对应的八卩? After the request is sent eight Jie corresponding? 应答报文; Reply message;

[0012] 步骤6、7X2? [0012] Step 6,7X2? 8接收到仙? 8 receives cents? 应答报文,单播发送给712? Reply message, sent 712 single broadcast? 八; Eight;

[0013] 步骤7、7X2? [0013] Step 7,7X2? ^接收到仙? ^ Received fairy? 应答报文,学习到服务器的嫩0地址和乂12?8的I? Reply message, learn to tender 0 address of the server and qe I 12? 8's? 地址1.1.1.2存到本地嫩表项中,并转发仙? 1.1.1.2 existence to address local tender entry and forwards cents? 应答报文给VI ; Reply message to VI;

[0014] 步骤8、VI发送原始数据报文给7呢? [0014] Step 8, VI sends the original data packet to 7 it? 八; Eight;

[0015] 步骤9112? [0015] Step 9112? 4根据本地嫩0表项,根据7X1^^ 10和目的嫩0地址查询到目的嫩〇对应的V丁2? 4 according to the local tender 0 entry, and in accordance with the purpose of tender 7X1 ^^ 10 0 to an address query object corresponding square tender V D 2? 8的I? 8 I? 地址1.1.1.2,封装乂父副报文,转发给V丁2? Address 1.1.1.2, the parent package qe secondary messages, forwarded to the V D 2? 8 ; 8 ;

[0016] 步骤10、7X2? [0016] Step 10,7X2? 8接收到7X1^报文,剥去7X1^外层封装,根据7X1^ 10和目的獄地址将报文发给对应的服务器。 7X1 ^ 8 receives the packet, the outer encapsulation strip 7X1 ^ The object of prison 7X1 ^ 10 and sends the packet to the address corresponding to the server.

[0017] 从上述描述可以看出,现有技术跨数据中心的报文转发方法,如果采用方案一,需要部署组播,将两个数据中心的^12? [0017] As can be seen from the above description, the prior art method of forwarding packets across data centers, if a program needs to be deployed multicast, the two data centers ^ 12? 加入同一组播组,否则,如果在跨数据中心互连时,由于没有开放组播,导致无法运行;同时,通过泛洪和学习机制来学习嫩I效率低下。 Join the same multicast group, otherwise, if the interconnection across the data center, because there is no open multicast, making it impossible to run; at the same time, learn by flooding and learning mechanisms tender I low efficiency.

[0018] 而且,如果采用方案二实现跨数据中心的报文转发,则需要在乂呢? [0018] Moreover, if the program two implementing packet forwarding across the data center, you need to Yi in it? 间建立大量的18-18或8即邻居,动态维护邻居关系,在712? Between the establishment of a large number of neighbors that is 8 or 18-18, dynamically maintains neighbor relationships in 712? 数量较多时,受限于13-13或8即本身的邻居规格。 Large number, limited to 13-13 or neighbors specifications 8 that is itself.

发明内容 SUMMARY

[0019] 本发明的目的在于提供一种报文转发方法及设备,能够实现7X1^^在没有组播情况下的高效运行。 [0019] The object of the present invention is to provide a method and apparatus for forwarding packets can be realized 7X1 ^^ efficient operation without the multicast case.

[0020] 为实现上述发明目的,本发明提供了一种报文转发方法,该方法包括: [0020] In order to achieve the above object, the present invention provides a packet forwarding method, the method comprising:

[0021] 第一虚拟通道终端卩呢? [0021] The first end Jie virtual channel it? 接收到第一虚拟机VI发送的仙? Sin received the first virtual machine VI sent? 请求报文,通过映射系统向第二^12? Request message through to the second mapping system ^ 12? 发送映射请求报文,请求第二乂12? Send a mapping request message, requesting a second qe 12? 下的第二VI的端点标识符£10和路由位置标识符1^0(:的映射关系;其中,第一VI和第二VI具有相同顆I ; VI at a second end of the route identifier and the location identifier 10 £ 1 ^ 0 (: mapping relationship; wherein the first and second VI VI have the same pieces I;

`[0022] 第一712? `[0022] The first 712? 收到第二乂呢? Receive a second Yi in it? 返回的映射响应报文,学习第二VI的210和811)(:的映射关系;其中,210为第二爾的嫩地址、I?地址以及所属州I ;1?100为第二乂呢?的I?地址; The map returned response packet, learning a second VI of 210 and 811) (: mapping relationship; where 210 is the address of the second tender Seoul, I address belongs to the state and I; 1 100 for the second Yi in it??? ? I addresses;

[0023] 第一712? [0023] The first 712? 接收第一VI发送给第二VI的报文,根据保存的第二VI的210和811)(:的映射关系,对所述报文进行”[他封装,并发送给第二乂呢?,由第二乂呢?转发给第二VI。 Receiving a first transmission VI to VI of the second packet) (210 and 811 according to the stored second VI: the mapping between the packet "[he package, it sends a second qe,? Yi in the second it? forwarded to the second VI.

[0024] 为实现上述发明目的,本发明还提供了一种报文转发设备,应用于第一虚拟通道终端712? [0024] In order to achieve the above object, the present invention also provides a packet forwarding device, the terminal 712 is applied to a first virtual channel? ,该设备包括: , The apparatus comprising:

[0025] 映射请求单元,用于接收到第一虚拟机VI发送的仙? [0025] The mapping request unit for receiving the first virtual machine VI Sin transmitted? 请求报文,通过映射系统向第二712? Request message through to the second mapping system 712? 发送映射请求报文,请求第二乂呢? Send a mapping request message, requesting a second qe it? 下的第二VI的端点标识符£10和路由位置标识符811)(:的映射关系;其中,第一VI和第二VI具有相同顆I ; VI at a second end of the route identifier and the location identifier 10 £ 811) (: mapping relationship; wherein the first and second VI VI have the same pieces I;

[0026] 映射关系学习单元,用于收到第二乂12? [0026] mapping relation learning unit for receiving the second Yi in 12? 返回的映射响应报文,学习第二VI的210和虬0(:的映射关系;其中,210为第二VI的嫩地址、I?地址以及所属州I ;1?100为第二V丁2?的I?地址; The returned map response packet, a second study 210 0 VI of Qiu and (: mapping relationship; wherein the second 210 VI tender address bus, I and the address belongs to the state I; 1 100 is a second V D 2?? ?? I addresses;

[0027] 封装发送单元,用于接收第一VI发送给第二VI的报文,根据保存的第二VI的210和1^0(:的映射关系,对所述报文进行7X1^^封装,并发送给第二712?,由第二712?转发给第二VI。 [0027] package transmission unit for receiving a first packet VI VI sent to the second, according to a second 210 VI saved and 1 ^ 0 (: mapping between the packet encapsulation 7X1 ^^ and sent by the second second 712 ?, 712? forwarded to the second VI.

[0028] 综上所述,本发明实施例第一虚拟通道终端乂呢? [0028] In summary, embodiments of the first virtual channel terminal qe embodiment of the present invention it? 接收到第一虚拟机VI发送的八尺? Received eight feet first virtual machine VI sent? 请求报文,通过映射系统向第二^12? Request message through to the second mapping system ^ 12? 发送映射请求报文,请求第二712? Send a mapping request message, requesting a second 712? 下的第二VI的端点标识符210和路由位置标识符1^0(:的映射关系;其中,第一VI和第二VI具有相同顆I ;第一712?收到第二乂呢?返回的映射响应报文,学习第二VI的210和811)(:的映射关系;其中,£10为第二VI的嫩地址、I?地址以及所属州I ;1?100为第二乂呢?的I?地址;第一V呢?接收第一VI发送给第二VI的报文,根据保存的第二VI的210和811)(:的映射关系,对所述报文进行”[他封装,并发送给第二712?,由第二乂呢?转发给第二VI。与现有技术相比,减少了八即在核心网的泛洪,避免了泛洪和学习机制,实现在没有组播的情况下,7X1^8能够闻效运行。 VI under the second endpoint identifier and routing location identifier 210 0 1 ^ (: mapping relationship; wherein the first and second VI VI have the same particle I; qe it first receives the second return 712?? the maps response packet, learning a second VI of 210 and 811) (:?? mapping relations; which, £ 10 for the second tender VI address, I address belongs to the state and I; 1 100 for the second Yi in it? ? I addresses; the first V-VI it transmits and receives a first message VI to the second, according to the stored second VI of 210 and 811) (:? mapping between the packet "[he package and sent by the second second Yi in 712 ?, it? forwarded to the second VI. compared with the prior art, to reduce the eight core network that is flooding in, to avoid flooding and learning mechanism to achieve in the absence of in the case of multicast, 7X1 ^ 8 can smell efficient operation.

附图说明 BRIEF DESCRIPTION

[0029] 图1为现有技术数据中心网络的组网示意图。 [0029] FIG 1 is a networking diagram of the prior art data center network.

[0030] 图2为本发明实施例报文转发方法的流程示意图。 [0030] FIG. 2 is a schematic flowchart message forwarding method embodiment of the invention.

[0031] 图3为本发明实施例提供方法应用的一个组网示意图。 [0031] FIG. 3 provides a schematic view of a networking embodiment of the present invention is a method applied.

[0032] 图4为本发明具体实施例中应用于上述方法的报文转发设备的结构示意图。 [0032] Fig 4 a schematic structural diagram of the method described above is applied to the packet forwarding device specific embodiment of the present invention.

[0033] 图5为本发明又一实施例提供的报文转发设备的组成示意图。 [0033] FIG. 5 schematic diagram illustrating a packet forwarding apparatus provided in a further embodiment of the present invention.

具体实施方式 Detailed ways

[0034] 为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举实施例,对本发明所述方案作进一步地详细说明。 [0034] To make the objectives, technical solutions and advantages of the present invention will become more apparent, with reference to the accompanying drawings and the following embodiments, the embodiment of the present invention will be described in further detail.

[0035] 本发明的核心思想在于,在核心网络中同时运行7X1^^和位置与身份分离协议10081:01-/1(16111:11:7 861)81-81:1011 ? [0035] The core idea of ​​the present invention is that the operation and location 7X1 ^^ separate identity in the core network protocols simultaneously 10081: 01- / 1 (16111: 11: 7861) 81-81: 1011? 1~01:0001 ), II3? 1 ~ 01: 0001), II3? 作为7X1^^ 的控制平面协议,但 7X1 ^^ as a control plane protocol, but

不作为数据平面的报文封装,数据平面仍`然以封装发送和接收。 Not as a data plane packet encapsulation, the data plane is still in the package `then transmitted and received. 这样,在跨数据中心互连时,没有组播情况下,也能运行7X1^1同时通过113? In this way, data center interconnection across time, under no circumstances multicast, can run at the same time by 113 7X1 ^ 1? 协议来感知主机,^0和712? Protocol-aware host, ^ 0 and 712? 的对应关系,不需要数据平面的泛洪学习机制。 The correspondence relationship, the learning mechanism does not require flooding the data plane. 通过本发明的方法,减少了八即在核心网的泛洪,避免了泛洪和学习机制,实现在没有组播的情况下,7X1^^能够高效运行。 By the method of the present invention, i.e. to reduce the eight core flooding in the network, and learn to avoid the flooding mechanism, without multicast, 7X1 ^^ can be run efficiently.

[0036] 下面具体介绍一下本发明所涉及的113? [0036] The following detailed description about 113 invention? ,现有技术中,113? In the prior art, 113? 是一种位置和标识分离的建网思想,形成两个独立的地址空间:端点标识符(£10,211(11)01111:1(16111:1 61~)地址空间和路由位置标识符1^011^1118 100^01-)地址空间。 A position is identified and isolated networking thought to form two separate address spaces: Endpoint Identifier (£ 10,211 (11) 01111: 1 (16111: 1 61 ~) routing address space and the location identifier 011 ^ 1 ^ 1,118,100 ^ 01-) address space. 210为通信端点的主机地址,与现有实现相同,在II3? 210 is the host address of the communication endpoint, and existing achieve the same, in II3? 中的作用类似于域名系统(0吧),拥有独立的空间。 The effect is similar to the Domain Name System (0 bar), an independent space. 在II3? In II3? 网络中,210可以独立于1^0(:进行迁移,1?100为113?路由器的地址,可在现有互联网中路由转发,可全局路由,且根据网络拓扑情况进行聚合。210之间通信的报文封装在811)(:之间的隧道中进行转发。113?按功能可分为控制平面和数据平面。控制平面完成£10和811)(:的映射关系,通过映射请求报文请求特定的£10/811)(:的映射关系,通过映射响应报文响应映射请求报文。数据平面完成映射与封装、解封装,在113?网络中封装为113?封装。 Network 210 may be independent of a ^ 0 (: migrate, an address of the router 100 113, can be forwarded in the conventional Internet routing, globally routable, and the communication between the network topology. The polymerization .210?? the packets are encapsulated in 811 (): forwarding tunnel between .113 to divide into control plane and data plane and the control plane 811 is completed £ 10) (?: the mapping relationship, mapping request by packet request specific £ 10/811) (: mapping relationship, mapping the response request packet by mapping the response packet data plane mapping is complete package decapsulation, 113 in the network 113 is encapsulated in encapsulation.??.

[0037] 基于上述对现有113? [0037] Based on the above the existing 113? 的描述,本发明的方法利用了113? Described, the method of the present invention utilizes a 113? 控制平面完成£10和1?100的映射关系,通过映射请求报文请求特定的£10/1^0(:的映射关系,通过映射响应报文响应映射请求报文。而且,本发明中,113?的210为VI主机、VI的监0地址以及7X1^^ 10三者的组合,1?100为712?的I?地址,118?的隧道路由器匕110维护210和811)(:的映射关系,向13动态注册。这里说明一下,由于本发明113?作为7X1姻的控制平面协议运行,118?的XII?维护210和811)(:的映射关系,向13动态注册,所以本发明在核心网络中运行118?时,7X1^^的乂呢?设备具有与XII?相同的功能,即在乂呢?上匕狀上),向113? The control plane £ 10 mapping relationship and 1100, the message request specific £ 10/1 ^ 0 (by mapping request:?. Mapping between packets in response to a mapping request message by mapping response Furthermore, the present invention, ????? 113 in the host 210 VI, VI and the monitoring address 0 7X1 ^^ 10 three compositions, I-1100 to the address 712, 118 of the tunnel router 110 maintains dagger 210 and 811) (: mapping .??? relations, dynamically registered to 13 described here, since the 113 invention as an 7X1 benzoin control plane protocol operation 118 XII maintenance 210 and 811) (: mapping relationship, the dynamic register to 13, the present invention when the core network running 118?, 7X1 ^^ of Yi in it? device has the XII? the same function, that qe it? dagger-shaped upper), to the 113? 动态注册VI主机的I? Dynamic registration VI host I? 地址,^0地址,7X1^^ 10与712? Address, address ^ 0, 7X1 ^^ 10 and 712? 地址的映射关系。 Address mappings. 但是,本发明数据平面仍然以封装发送和接收。 However, the present invention still plane data transmission and reception in the package.

[0038] 本发明实施例报文转发方法包括以下步骤,其流程示意图如图2所示。 [0038] Example packet forwarding method comprises the steps of embodiments of the present invention, which is a schematic flow diagram shown in Figure 2. 其中,第一乂12? Wherein the first qe 12? 和第二乂呢? And second Yi in it? 属于不同的站点,不同站点可以在同一数据中心,也可以在不同数据中心。 Belong to different sites, different sites can be in the same data center, or in different data centers.

[0039] 步骤201、第一712? [0039] Step 201, the first 712? 接收到第一虚拟机VI发送的仙? Sin received the first virtual machine VI sent? 请求报文,通过映射系统向第二712? Request message through to the second mapping system 712? 发送映射请求报文,请求第二乂呢? Send a mapping request message, requesting a second qe it? 下的第二VI的端点标识符£10和路由位置标识符811)(:的映射关系;其中,第一VI和第二VI具有相同顆I ; VI at a second end of the route identifier and the location identifier 10 £ 811) (: mapping relationship; wherein the first and second VI VI have the same pieces I;

[0040] 具体地,第一712? [0040] Specifically, the first 712? 接收到本设备下第一虚拟机VI发送的用于请求第二712? This device receives the first virtual machine a request for sending a second VI 712? 下第二VI的嫩地址的地址解析协议仙? Address tender under the second address resolution protocol VI cents? 请求报文后,通过映射系统向第二乂呢? A request message through the mapping system to the second Yi in it? 发送映射请求报文,请求第二VI的210和811)(:的映射关系。 Sending a mapping request message, the second request 210 and VI 811) (: mapping relationship.

[0041〕 其中,映射系统包括映射解析器II? [0041] wherein the mapping includes mapping the system parser II? 和映射服务器13 ; And the mapping server 13;

[0042] 第一712? [0042] The first 712? 通过映射系统向第二712? 712 by the second mapping system? 发送映射请求报文的方法具体包括: Mapping request packet transmission method comprises:

[0043] 第一7呢? [0043] The first 7 it? 根据仙? According to Sin? 报文将映射请求报文发送给謝,通过謝将映射请求报文发送给注册有第二VI的210和811)(:的映射关系的13,通过13将映射请求报文发送给第二V丁2?。如果此时13上还未注册第二VI的210和811)(:的映射关系,则通过謝向第一V丁2?反馈丢弃该映射请求的报文,由于13上的注册信息是动态维护的,所以所反馈的丢弃报文中还携带有,允许第一乂呢?再次向II?发送映射请求报文的时间间隔。 The map request message packet to Xie, Xie by mapping the request packet to the second register 210 and 811 VI) (: 13 mapping relationship, the mapping 13 by the request packet to the second V D 13 2 ?. If not registered on the case 210 and the second VI, 811) (:? mapping relationship, the first V-butoxy second feedback discard the mapping request packets Xie, since the register 13 information is dynamically maintained, so dropping packets fed back further carries, allowing the first qe it? reassure II? send a mapping request packet interval.

[0044] 其中,第二712? [0044] wherein the second 712? 保存有第二VI的210和811)(:的映射关系,因此第二乂呢?将该映射关系向13注册,用于13根据所述注册信息将从第一712?接收到的映射请求报文转发给对应的第二”2?。 210 and 811 stored in the second VI) (:? Mapping relationship, the second mapping relationship qe it to the register 13, 13 for the registration information 712 from the first request message received mapping? forwards the packet to the corresponding second "2 ?.

`[0045] 步骤202、第一712? `[0045] Step 202, the first 712? 收到第二乂呢? Receive a second Yi in it? 返回的映射响应报文,学习第二VI的210和虬0(:的映射关系;其中,210为第二VI的嫩地址、I?地址以及所属州I #[0(:为第二V丁2?的I?地址; The returned map response message, learning and Qiu 210 0 VI of the second (: mapping relationship; where 210 VI tender for the second address, I address belongs to the state and I # [0 (:? V D for the second ?? 2 I address;

[0046] 其中,第一乂呢? [0046] wherein the first qe it? 学习第二VI的210和811)(:的映射关系后,根据£10获取第二VI的嫩地址和I?地址的对应关系,并保存该映射关系以及第二VI的嫩地址和I?地址的对应关系。 Learning 210 and 811 of a second VI) (: after mapping relationship, £ 10 acquired according to the second address and I VI tender address correspondence relationship, and save the mapping relationship and a second address and I VI tender address?? correspondence.

[0047] 步骤203、第一712? [0047] Step 203, the first 712? 接收第一VI发送给第二VI的报文,根据保存的第二VI的210和1^0(:的映射关系,对所述报文进行7X1^^封装,并发送给第二712?,由第二712?转发给第二VI。 Receiving a first transmission to the second VI VI of packets stored according to a second and a VI of 210 ^ 0 (: mapping between the packet 7X1 ^^ package, and sends a second 712 ?, the second 712? forwarded to the second VI.

[0048] 具体实现为,第一乂呢? [0048] embodied as a first qe it? 将所述映射关系的£10中第二VI的地址携带在八尺? 10 in a second address VI £ carries the mapping relationship in eight feet? 应答报文中发送给第一VI ; Reply message is sent to a first Vl;

[0049] 第一712? [0049] The first 712? 接收第一VI发送的目的监。 Receiving a first transmitted VI monitoring purposes. 地址是第二VI的原始数据报文,根据第二VI的嫩地址查找第二VI的210和811)(:的映射关系,获取对应的811)(:为第二乂呢?的I?地址; VI is the second address of the original data packet, find the second VI of 210 and 811 according to the address of the second tender of VI) (: mapping relationship, acquiring a corresponding 811) (: qe it the second I addresses?? ;

[0050] 第一712? [0050] The first 712? 将第二712? The second 712? 的I? The I? 地址作为目的I? Address as the destination I? 对所述原始数据报文进行7X1^^封装,将封装后的7X1姻报文发送给第二712? The original data packet encapsulation ^^ 7X1, 7X1 benzoin the message sent to the second package 712 after? ;

[0051〕 第二712? [0051] The second 712? 接收到封装后的7X1^^报文后,对所述封装后的7X1^^报文进行解封装为原始数据报文,根据原始数据报文目的霞地址和I? 7X1 ^^ Upon receiving the encapsulated packet, for packet 7X1 ^^ after decapsulating the encapsulated packet to the raw data, the raw data and packet destination address Xia the I? 地址为第二VI,转发该原始数据报文至第二VI。 A second address VI, forwards the original data packet to a second VI.

[0052] 为清楚说明本发明,下面列举具体场景进行详细说明。 [0052] To clearly illustrate the present invention, include the following specific scenario described in detail. 本发明将113? The invention will be 113? 作为7X1^^的控制平面协议运行,因此7X1^^的712? As 7X1 ^^ control plane protocol run, so 7X1 ^^ 712? 设备也做为113? Equipment is also as 113? 的XII? The XII? 设备运行,而且本发明也采用了II3? Equipment operation, and the invention is also used II3? 中的映射系统。 The mapping system. 映射系统中使用了謝和13,謝和13可以是同一台设备,也可以是不同的设备。 Mapping used in the system 13 and Xie, Xie and 13 may be the same device, or may be different devices. 下面简单介绍一下映射系统工作原理,与其在113? Following a brief mapping system works, rather than the 113? 中的工作原理相同。 The same works. 如果服和13是同一台设备,服将映射请求报文直接发给13 ;如果不是同一台设备,则允许18有多台,例如有131和132,有两种实现方式:一、181注册有一部分所关联712? If the server and the device 13 are the same, the service mapping request packet directly to 13; if not the same device, 18 is allowed to have more than one, for example, 131 and 132, there are two ways: one, is registered 181 a portion of the associated 712? 的映射信息,182注册有另一部分所关联V丁2? The mapping information, there are 182 registered associated with another part of the V D 2? 的映射信息,謝分别和131、182建立86? The mapping information, Xie and 131,182 respectively establish 86? 邻居,同步131、182上的映射信息,这样謝上就有了所有乂呢? Neighbors, mapping information on synchronization 131,182, thanks so on have everything Yi in it? 的映射信息,謝就知道将映射请求报文发给哪个13 了;二、设置一台131是根设备,其他13为节点设备,各节点设备上注册有各自所关联冗2? The mapping information, thank you know the mapping request packet to which the 13; Second, set a root device 131 is, for the other 13 nodes equipment, have their registered associated with each node 2 redundant equipment? 的映射信息,服先将映射请求报文发给131,再由131发给其他相应13。 Mapping information, service mapping request packet to first 131, 131 and then distributed to the other corresponding 13.

[0053] 图3为本发明实施例提供方法应用的一个组网示意图。 [0053] FIG. 3 provides a schematic view of a networking embodiment of the present invention is a method applied. 乂12? Yi in 12? 八和乂呢? VIII and Yi in it? 8分属于不同的数据中心中的站点,VII和穩2具有相同顆I,映射系统的謝和13位于同一台设备上。 8 belong to different data center sites, VII and 2 have the same stability particles I, Xie and mapping system 13 is located on the same device. 本发明的目的在于^12? Object of the present invention is to ^ 12? 4下的賴1要与712? Lai 1 to 4 in the 712? 8下的穩2实现通信,具体方法包括: 8 communicate, in particular stabilization method 2 comprising:

[0054] 步骤31、首先,穩2迁移到712?2 “I'尺2)下,即迁移到所属31七62后,则向31七62中的712?2通告自身的嫩地址和I?地址,同时712?2为乂12分配.1。这时,712?2就可以维护乂12的210和811)(:的映射关系,其中£10为乂12的地址、I?地址及.110,具体为:1狀2、州11、1?2 ;1?100为V丁2?2的I?地址,具体为I? 8 ;然后,卩12?2向18注册觀的£10/1^100,18 从而保存有乂12 的£10/1^0(^ [0054] Step 31, first, stable 2 migrate to 712? 2 "I 'ulnar 2), i.e. after migration to 31 seven 62 belongs, then to 31 seven 62712? 2 advertised their tender address and the I? ? address, while 7122 is qe .1 12 allocated time, 7,122 210 and 811 can maintain qe 12) (:? mapping relationship, wherein £ 10 qe address 12, the address and the I .110? , in particular:?????? 2-like 1, state 2 11,1; 1 100 V D 2 I 2 addresses, in particular I 8; then, the register 18 Jie 122 View £ 10/1 thus stores 100,18 ^ £ 10/1 ^ 0 qe 12 (^

[0055] 步骤32、712?1 下的爾1 (属于31^1)发送仙? [0055] Step 32,712? 1 at Seoul 1 (1 part of 31 ^) Sin transmitted? 请求给712?1,请求地址为:1?2的嫩匕 ? Request to 7121, request the following address: The tender dagger 12?

[0056] 步骤33112? [0056] Step 33112? 1收到仙? 1 received Sin? 请求后,不把仙? After the request, not the fairy? 在核心网络中泛洪,而是通过113? In the core network flooding, but by 113? 控制平面,发送映射请求报文给712?2,请求穩2的210和811)(:的映射关系,其中,请求210为(丽1,1?2,4 ;` ? Control plane, to send the mapping request packet 7122, 210, and 811 requests stability 2) (: mapping relationship, wherein, the request 210 (Lai 1,1 2,4; `?

[0057] 具体的,映射请求报文是通过113? [0057] In particular, the mapping request message through 113? 的18/13路由系统,被转发给冗2?2 ; The 18/13 routing system, is forwarded to the redundant 22?;

[0058] 其中,謝接收到712?1发送的映射请求报文,并根据映射网络中的£10前缀路由信息,将报文发送给对应的13 ; [0058] wherein, Xie received 712 maps the transmission of a request packet, and according to the routing prefix information map £ 10 in the network, sends the message to the corresponding 13?;

[0059] 18存储有7呢? [0059] 18 7 stores do? 2注册的映射信息,根据注册信息将接收到的映射请求报文转发给对应的^12?2。 2 mapping information registered according to the registration information received mapping request message forwarded to the corresponding ^ 12? 2.

[0060] 步骤34、712?2直接回复映射响应报文(1^1681)01186)给712?1,返回的210为:(丽1,1?2,嫩⑵,1?100 为:1? 8。 ? [0060] Step 2 34,712 direct reply mapping response packet (1 ^ 1681) 01186) to 7121, 210 to return to Korea :( 1,1 2, tender ⑵, 1 100 is:??? 1? 8.

[0061〕 步骤35112?1把穩2的£10/1^0(:保存在本地缓存中,后续执行仙?代理功能,向VII回复仙?应答,把1%2通过仙?应答回复给乂肌; ? [0061] Step 35112 £ 10/1 ^ 0 1 2 dependable (: stored in the local cache, subsequent execution agent function Sin, Sin to VII-responsive reply, 1% to 2 cents by reply to the response qe??? muscle;

[0062] 具体的312?1可以保存两部分内容,一部分是穩2的210和811)(:的映射关系,一部分是乂12的I?和嫩的对应关系:1%2:1?2。 ? [0062] Specifically 3121 can save two parts, part 210 and 811 stable. 2) (: mapping between part I qe 12 and tender correspondence relationship:? 1%? 2: 12.

[0063] 步骤36、穩1向穩2发送数据报文,数据报文携带目的I? [0063] Step 36, 1 stable stable 2 to send a data packet, the data packet carries the I object? 和目的嫩0为穩2,先发送到V丁2?1。 For the purpose of stability and tender 0 2, 2-butoxy first sent to V? 1.

[0064] 步骤37、7X2? [0064] Step 37,7X2? 1根据乂12的目的職1狀2,查找对应的虬0‹:为I? The post-like object 1 1 12 2 qe, find the corresponding Qiu 0 <: as the I? 8,通过XX[他封装,发送数据报文给^呢? 8, by XX [his package to send data packets to ^ it? 2 ;[0065] 其中,7X1^^封装目的I? 2; [0065] wherein, 7X1 ^^ encapsulated object the I? 为乂12?2的I? To Yi in 12? I 2's? 地址I? Address I? 8,源I? 8, the source I? 为乂12?1的I? To Yi in 12? I 1 of? 地址I? Address I?

[0066] 步骤38、接收到乂父副报文后,进行解封装,然后把原始的二层报文转发给 [0066] Step 38, after receiving the parent qe sub packet decapsulates and forwards the packets to the original Layer

乂12 ; Yi in 12;

[0067] 其中,解乂父副封装就是解仙? [0067] where the solution qe father is vice package solution Sin? 封装,然后根据原始数据报文的目的嫩和目的I? Package, then the purpose of the tender according to the original data packet and purpose I? 将数据报文转发至穩2。 The data packets forwarded to steady 2.

[0068] 至此,完成了穩1和穩2之间跨数据中心的通信。 [0068] This completes the communication between stability across data centers 1 and 2 stable.

[0069] 基于同样的发明构思,本发明还提出一种报文转发设备,参见图4,图4为本发明具体实施例中应用于上述方法的报文转发设备的结构示意图。 [0069] Based on the same inventive concept, the present invention also provides a packet forwarding device, see FIG. 4, FIG. 4 is a schematic structural view of the above-described method is applied to the packet forwarding device specific embodiment of the invention. 该报文转发设备,应用于第 The packet forwarding device, used in the first

一 乂12? Yi in a 12? ,包括: ,include:

[0070] 映射请求单元401,用于接收到第一虚拟机VI发送的仙? [0070] mapping request unit 401 is configured to receive a first virtual machine VI Sin transmitted? 请求报文,通过映射系统向第二乂12? Request packet by mapping the system to the second Yi in 12? 发送映射请求报文,请求第二乂12? Send a mapping request message, requesting a second qe 12? 下的第二VI的端点标识符£10和路由位置标识符1^0(:的映射关系;其中,第一VI和第二VI具有相同顆I ; VI at a second end of the route identifier and the location identifier 10 £ 1 ^ 0 (: mapping relationship; wherein the first and second VI VI have the same pieces I;

[0071] 映射关系学习单元402,用于收到第二712? [0071] The mapping relationship between learning unit 402, 712 for receipt of a second? 返回的映射响应报文,学习第二VI的210和811)(:的映射关系;其中,£10为第二VI的监0地址、I?地址以及所属.1 ;1?100为第 The returned map response packet, 210 and 811 to learn the second VI) (: mapping relationship; wherein, the second £ 10 0 VI monitoring address bus, I .1 address and belongs; 1100 for the first??

二 乂12? Yi in two 12? 的I? The I? 地址; address;

[0072] 封装发送单元403,用于接收第一VI发送给第二VI的报文,根据保存的第二VI的210和1^0(:的映射关系,对所述报文进行7X1^^封装,并发送给第二乂12?,由第二乂12?转发给第二VI。 [0072] The package unit 403 transmits, for receiving a first packet VI VI sent to the second, according to a second 210 VI saved and 1 ^ 0 (: mapping between the packet 7X1 ^^ packaged and sent to second by the second Yi in Yi in 12 ?, 12? forwarded to the second VI.

[0073] 进一步地,所述映射请`求单元401具体用于,根据八卩? [0073] Further, the mapping 'request for requesting unit 401 specifically, according to eight Jie? 报文将映射请求报文发送给謝,通过謝将映射请求报文发送给注册有第二VI的210和811)(:的映射关系的13,通过13将映射请求报文发送给第二卩12?。 The map request message packet to Xie, sends the packet to the second register 210 and VI 811 by the mapping request Xie) (: 13 mapping relationship, the mapping 13 by the request packet to the second Jie 12 ?.

[0074] 所述设备还包括注册单兀404,用于向13注册第一VI的210和的映射关系,用于13根据所述注册信息将从第二卩呢? [0074] The apparatus further comprises a single register 404 Wu, for registering a first mapping relation to VI of 210 and 13, 13 for the registration information from the second Jie rest? 接收到的映射请求报文转发给本设备。 Mapping the received request packet to the device.

[0075] 进一步地,所述封装发送单元403,具体用于将所述映射关系的210中第二VI的^0地址携带在仙? [0075] Further, the transmitting unit 403 of the package, particularly for the mapping relationship 210 in the second VI address carried in Sin ^ 0? 应答报文中发送给第一VI ; Reply message is sent to a first Vl;

[0076] 接收第一VI发送的目的嫩地址是第二VI的报文,根据第二VI的嫩0地址查找第二VI的210和811)(:的映射关系,获取对应的811)(:为第二乂呢?的I?地址; [0076] VI receiving a first object of the tender of the second address is transmitted packets VI, VI of 210 and a second lookup 811 according to the address of the second tender VI, 0) (: mapping relationship, obtaining a corresponding 811) (: ?? second qe do I addresses;

[0077] 将第二712? [0077] The second 712? 的I? The I? 地址作为目的I? Address as the destination I? 对所述报文进行7X1^^封装,将封装后的7X1^8报文发送给第二乂12? The 7X1 ^^ packet encapsulation, the 7X1 ^ 8 qe transmitted to the second packet 12 encapsulated? ,由第二乂呢? By the second qe it? 转发给第二VI。 Forwarded to the second VI.

[0078] 所述设备还包括解封装发送单元405,用于接收封装后的7X1^^报文,对所述封装后的7X1^^报文进行解封装为原始数据报文,根据原始数据报文目的监(:地址和I?地址为第一VI,转发该原始数据报文至第一VI。 [0078] The transmitting apparatus further comprises a decapsulating unit 405, 7X1 ^^ for receiving a packet after encapsulation of 7X1 ^^ packet after the decapsulating encapsulated packets into the original data, the original data packet in accordance with the destination supervisor (:? I address and address for the first VI, forward the original data packet to the first VI.

[0079] 需要说明的是,第一712? [0079] It should be noted that the first 712? 与第二712? And the second 712? 功能相同,只是作为报文的收端和发端时,角色不同。 The same function, just as the receiving end and the originator of the message, different roles.

[0080] 本发明的报文转发方法,会带来如下好处: [0080] packet forwarding method of the invention, it will bring the following benefits:

[0081〕 一、通过113? [0081] First, by 113? 作为7X1^^的控制平面协议运行,实现7X1^^在没有组播情况下,能够高效运行; As 7X1 ^^ control plane protocol operation achieved in the absence of 7X1 ^^ multicast case, efficient operation;

[0082] 二、通过113? [0082] Second, by 113? 实现210为I? Achieve 210 I? 地址、嫩0地址、7X1^^ 10三者组合,抑制了仙? Address, tender 0 address, 7X1 ^^ 10 combination of the three, inhibits cents? 在核心网的泛洪和学习过程; Flooding in the learning process and the core network;

[0083] 三、通过113? [0083] Third, by 113? 的控制平面功能,实现大量乂呢? The control plane functions, to achieve a large number of qe it? 的部署。 Deployment.

[0084] 图5为本发明又一实施例提供的报文转发设备的组成示意图,如图5所示,其主要包括:0^51和内存52,内存52包括:映射请求单元521,映射关系学习单元522,封装发送单元523,注册单元524,解封装发送单元525,其中: [0084] FIG. 5 is a schematic diagram illustrating the invention further packet forwarding device according to an embodiment, shown in Figure 5, which includes: ^ 0 and memory 52, the memory 52 includes a 51: mapping request unit 521, the mapping relationship learning unit 522, transmission unit 523 packages, registration unit 524, transmission unit 525 decapsulates, wherein:

[0085] 0^51:用于与内存52进行通信,执行内存52中的计算机程序代码。 [0085] 51 ^ 0: computer program code for performing communication, execution memory 52 and memory 52.

[0086] 映射请求单元521:存储计算机程序代码,当该代码被0^51执行时完成步骤:接收到第一虚拟机VI发送的仙? [0086] mapping unit 521 requests: storing computer program code, when the completion of step 0 ^ 51 code is executed: receiving the first virtual machine Sin transmitted Vl? 请求报文,通过映射系统向第二712? Request message through to the second mapping system 712? 发送映射请求报文,请求第二乂12? Send a mapping request message, requesting a second qe 12? 下的第二VI的端点标识符£10和路由位置标识符1^0(:的映射关系;其中,第一VI和第二VI具有相同州I。 The second endpoint identifier VI under £ 10 and routing location identifier 1 ^ 0 (: mapping relationship; wherein the first and second VI VI have the same state I.

[0087] 映射关系学习单元522:存储计算机程序代码,当该代码被0^51执行时完成步骤:收到第二乂12? [0087] The mapping relationship between learning unit 522: storing computer program code, through the steps executed when the code is 0 ^ 51: 12 receiving the second qe? 返回的映射响应报文,学习第二VI的210和的映射关系;其中,已10为第二VI的嫩地址、I? The returned map response message, learn mapping between the 210 and the second VI; which has 10 VI tender for the second address, I? 地址以及所属州I ;1?100为第二712? Address and your state I;? 1 100 712 for the second? 的I? The I? 地址。 address.

[0088] 封装发送单元523:存储计算机程序代码,当该代码被0^51执行时完成步骤:接收第一VI发送给第二VI的报文,根据保存的第二VI的210和的映射关系,对所述报文进行7X1^^封装,并发送给第二712? [0088] The transmission unit 523 packages: storing computer program code, the code is completed when the 0 ^ 51 when performing the steps of: receiving a first transmission VI to VI of the second packet, the second mapping relationship saved VI of 210 and , the 7X1 ^^ encapsulated packet, and sends a second 712? ,由第二乂呢? By the second qe it? 转发给第二VI。 Forwarded to the second VI.

[0089] 映射请求单元521,具体用于存储计算机程序代码,当该代码被0^51执行时完成步骤:根据八即报文将映射请求报文发送给1卩,通过将映射请求报文发送给注册有第二VI的210和的映射关系的13,通过13将映射请求报文发送给第二乂呢? [0089] The mapping request unit 521, specifically for storing computer program code, through the steps executed when the code is 0 ^ 51: The eight packets i.e. the mapping request packet to Jie 1, packet transmission by the mapping request mapping relation to the registration of 210 and 13 second VI through 13 maps the request packet to the second Yi in it? .

[0090] 内存52进一步包括:注册单元524,用于存储计算机程序代码,当该代码被0^51执行时完成步骤:向13注册第一VI的210和的映射关系,用于13根据所述注册信息将从第二卩呢? [0090] The memory 52 further comprising: a registration unit 524 for storing computer program code, when the completion of step 0 ^ 51 code is executed: registration of the first mapping relation to VI of 210 and 13, 13 for the Jie registration information from the second it? 接收到的映射请`求报文转发给本设备。 `Received mapping please request packet to the device.

[0091] 封装发送单元523,具体用于存储计算机程序代码,当该代码被0^51执行时完成步骤:将所述映射关系的210中第二賴的職地址携带在仙? [0091] The transmission unit 523 packages, particularly for storing computer program code, through the steps executed when the code is 51 ^ 0: 210 to the mapping relationship in the second level address carried in Lai Sin? 应答报文中发送给第一VI ; Reply message is sent to a first Vl;

[0092] 接收第一VI发送的目的嫩地址是第二VI的报文,根据第二VI的嫩0地址查找第二VI的210和811)(:的映射关系,获取对应的811)(:为第二乂呢?的I?地址; [0092] VI receiving a first object of the tender of the second address is transmitted packets VI, VI of 210 and a second lookup 811 according to the address of the second tender VI, 0) (: mapping relationship, obtaining a corresponding 811) (: ?? second qe do I addresses;

[0093] 将第二712? [0093] The second 712? 的I? The I? 地址作为目的I? Address as the destination I? 对所述报文进行7X1^封装,将封装后的7X1^报文发送给第二乂12? The 7X1 ^ packet encapsulation, the 7X1 ^ qe packet to the second package 12 after? ,由第二乂呢? By the second qe it? 转发给第二VI。 Forwarded to the second VI.

[0094] 内存52进一步包括:解封装发送单元525,用于存储计算机程序代码,当该代码被0^51执行时完成步骤:接收封装后的7X1^^报文,对所述封装后的7X1^^报文进行解封装为原始数据报文,根据原始数据报文目的监地址和I? [0094] The memory 52 further comprising: decapsulating the transmission unit 525, for storing computer program code, through the steps executed when the code is 0 ^ 51: 7X1 ^^ receiving encapsulated packets, after the package of 7X1 ^^ packet decapsulates packets into the original data, original data packet destination address and monitor the I? 地址为第一VI,转发该原始数据报文至第一VI。 A first address VI, forwards the original data packet to the first VI.

[0095] 以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 [0095] The above are only preferred embodiments of the present invention but are not intended to limit the scope of the present invention. 凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 Any modification within the spirit and principle of the present invention, made, equivalent substitutions, improvements, etc., should be included within the scope of the present invention.

Claims (10)

1.一种报文转发方法,该方法包括: 第一虚拟通道终端712? A packet forwarding method, the method comprising: a first virtual channel terminal 712? 接收到第一虚拟机VI发送的仙? Sin received the first virtual machine VI sent? 请求报文,通过映射系统向第二712? Request message through to the second mapping system 712? 发送映射请求报文,请求第二乂呢? Send a mapping request message, requesting a second qe it? 下的第二VI的端点标识符£10和路由位置标识符811)(:的映射关系;其中,第一VI和第二VI具有相同顆I ; 第一712?收到第二乂呢?返回的映射响应报文,学习第二VI的210和811)(:的映射关系;其中,210为第二VI的嫩地址、I?地址以及所属州I ;1?100为第二乂呢?的I?地址; 第一712?接收第一VI发送给第二VI的报文,根据保存的第二VI的210和811)(:的映射关系,对所述报文进行7X1^^封装,并发送给第二乂呢?,由第二乂呢?转发给第二VI。 The second endpoint identifier VI under £ 10 and routing location identifier 811) (: mapping relationship; wherein the first and second VI VI have the same particle I; qe it first receives the second return 712?? the maps response packet, learning a second VI of 210 and 811) (: mapping relationship; where 210 VI tender for the second address, I address belongs to the state and I; 1 100 for the second qe it is??? ?? the I address; 712 a first receiving a first message VI VI sent to the second, according to the stored second VI of 210 and 811) (: mapping between the packet 7X1 ^^ package, and send it to the second qe?, by the second qe it? forwarded to the second VI.
2.如权利要求1所述的方法,其特征在于,所述映射系统包括映射解析器和映射服务器13 ; 所述第一冗2? 2. The method according to claim 1, wherein said mapping comprises a mapping system and a mapping server parser 13; the first redundant 2? 通过映射系统向第二712? 712 by the second mapping system? 发送映射请求报文的方法具体包括: 第一卩呢? The method of sending a mapping request message comprises: a first Jie it? 根据八卩? According eight Jie? 报文将映射请求报文发送给1卩,通过将映射请求报文发送给注册有第二VI的210和811)(:的映射关系的13,通过13将映射请求报文发送给第二乂呢?。 The map request message packet to a Jie, by mapping the request packet to the second register 210 and 811 VI) (: 13 mapping relationship, the mapping 13 by the request packet to the second qe it?.
3.如权利要求1所述的方法,其特征在于,第一 乂呢? 3. The method according to claim 1, wherein the first qe it? 保存有第一VI的210和811)(:的映射关系,所述第一乂呢?还用于向13注册第一VI的210和811)(:的映射关系,用于13根据所述注册信息将从第二712?接收到的映射请求报文转发给对应的第一712?。 Stores 210 and 811 of the first VI) (: mapping between the first qe it further configured to register a first and a VI of 210 to 13 811) (:? Mapping relationship, according to the registration 13 for information from the second 712? received mapping request message forwarded to the corresponding first 712 ?.
4.如权利要求1 所述的方法,其特征在于,所述第一 ^呢? 4. The method according to claim 1, wherein said first ^ then? 接收第一VI发送给第二VI的报文,根据保存的第二VI的210和811)(:的映射关系,对所述报文进行7X1^^封装,并发送给第二乂12?,由第二乂呢?转发给第二VI的方法具体包括: 第一乂呢?将所述映射关系的£10中第二VI的歡地址携带在仙?应答报文中发送给第一VI ; 第一712?接收第一VI发送的目的嫩地址是第二VI的报文,根据第二VI的嫩0地址查找第二穩的210和811)(:的映射关系,获取对应的811)(:为第二乂呢?的I?地址; 第一712?将第二712?的I?地址作为目的I?对所述报文进行乂义副封装,将封装后的7X1^^报文发送给第二712?,由第二乂呢?转发给第二VI。 Receiving a first transmission to the second VI VI of packets stored according to a second 210, and 811 VI) (: mapping between the packet 7X1 ^^ encapsulation, and sends the second qe 12 ?, ?? qe by the second method it is forwarded to the second VI comprises: first it qe the mapping relationship of £ 10 in the second VI Huan address carried in the response message a first Sin transmitted to VI;? ? 712 receives a first address of a first tender VI object VI is the second transmission packet, and look for a second steady 210 811 VI tender according to the second address 0) (: mapping relationship, obtaining a corresponding 811) ( :?????? qe it is a second address I; the first 712 the second 712 I I address as the destination of the packet encapsulation sub qe sense, the 7X1 ^^ encapsulated packet transmission to 712 ?, the second by the second Yi in it? forwarded to the second VI.
5.如权利要求1所述的方法,其特征在于,第一 ^呢? 5. The method according to claim 1, wherein the first ^ then? 还用于接收封装后的7X1^^报文,第一712? 7X1 ^^ further for receiving encapsulated packets, the first 712? 对所述封装后的7X1^^报文进行解封装为原始数据报文,根据原始数据报文目的職地址和I? 7X1 ^^ packets of the package after decapsulating packets into the original data, original data packet destination address and the I grade? 地址为第一VI,转发该原始数据报文至第一VI。 A first address VI, forwards the original data packet to the first VI.
6.一种报文转发设备,应用于第一虚拟通道终端卩呢? 6. A packet forwarding device, applied to the first end Jie virtual channel it? ,其特征在于,该设备包括: 映射请求单元,用于接收到第一虚拟机VI发送的仙? Wherein, the apparatus comprising: a mapping request unit for receiving the first virtual machine VI Sin transmitted? 请求报文,通过映射系统向第二V丁2? Request packet by mapping the system to the second V D 2? 发送映射请求报文,请求第二乂呢? Send a mapping request message, requesting a second qe it? 下的第二VI的端点标识符£10和路由位置标识符1?100的映射关系;其中,第一VI和第二VI具有相同顆I ; 映射关系学习单元,用于收到第二712? The second endpoint identifier VI under £ 10 and routing location identifier mapping relationship of 1100;? Wherein the first and second VI VI have the same particle I; mapping relationship learning unit configured to receive a second 712? 返回的映射响应报文,学习第二VI的210和虬0(:的映射关系;其中,210为第二VI的嫩地址、I?地址以及所属州I #[0(:为第二V丁2?的I?地址; 封装发送单元,用于接收第一VI发送给第二VI的报文,根据保存的第二VI的210和1?100的映射关系,对所述报文进行7X1^^封装,并发送给第二712?,由第二712?转发给第二VI。 The returned map response message, learning and Qiu 210 0 VI of the second (: mapping relationship; where 210 VI tender for the second address, I address belongs to the state and I # [0 (:? V D for the second ?? 2 I addresses;? encapsulating and transmitting unit, configured to receive a first transmitted VI to VI of the second packet, according to a second 210 and a VI stored mapping relationship 100, the packet 7X1 ^ ^ package, and sent by the second second 712 ?, 712? forwarded to the second VI.
7.如权利要求6所述的设备,其特征在于,所述映射请求单元具体用于,根据八报文将映射请求报文发送给MR,通过MR将映射请求报文发送给注册有第二VM的EID和RLOC的映射关系的MS,通过MS将映射请求报文发送给第二VTEP。 7. The apparatus according to claim 6, wherein the mapping unit is configured to request, according to eight packets mapping request packet to the MR, MR by mapping the request packet to the second register MS EID and the mapping relation RLOC VM, the MS by mapping the request message sent to the second VTEP.
8.如权利要求6所述的设备,其特征在于,所述设备还包括注册单元,用于向MS注册第一VM的EID和RLOC的映射关系,用于MS根据所述注册信息将从第二VTEP接收到的映射请求报文转发给本设备。 8. The apparatus according to claim 6, wherein said apparatus further comprises a registration unit for registering the mapping relationship between the first VM and the EID to the RLOC MS, for the MS according to the registration information from the first two VTEP received mapping request packet to the device.
9.如权利要求6所述的设备,其特征在于,所述封装发送单元,具体用于将所述映射关系的EID中第二VM的MAC地址携带在ARP应答报文中发送给第一VM ; 接收第一VM发送的目的MAC地址是第二VM的报文,根据第二VM的MAC地址查找第二VM的EID和RLOC的映射关系,获取对应的RLOC为第二VTEP的IP地址; 将第二VTEP的IP地址作为目的IP对所述报文进行VXLAN封装,将封装后的VXLAN报文发送给第二VTEP,由第二VTEP转发给第二VM。 9. The apparatus according to claim 6, wherein the sending unit package, particularly for the MAC address of the first VM EID in the mapping relationship to a second VM carries an ARP response packet ; VM destination MAC address receives the first transmitted packet is the second VM, the second VM to find the mapping relationship according to the RLOC EID and the MAC address of the second VM, and acquires the IP address corresponding to a second RLOC VTEP; and the VTEP second IP address as the destination of the IP packet encapsulation VXLAN the VXLAN the encapsulated packet sent to the second VTEP, VTEP forwarded by the second to the second VM.
10.如权利要求6所述的设备,其特征在于,所述设备还包括解封装发送单元,用于接收封装后的VXLAN报文,对所述封装后的VXLAN报文进行解封装为原始数据报文,根据原始数据报文目的MAC地址和IP地址为第一W,转发该原始数据报文至第一VM。 10. The apparatus according to claim 6, wherein said apparatus further comprises a transmitting unit decapsulation, the packets VXLAN for receiving encapsulated, VXLAN of the package after the packet decapsulating the original data packets, according to the original data packet destination MAC address and IP address of a first W, forwards the original data packet to the first VM.
CN201410110107.1A 2014-03-24 2014-03-24 OSPF packets forwarding method and apparatus CN103841028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410110107.1A CN103841028B (en) 2014-03-24 2014-03-24 OSPF packets forwarding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410110107.1A CN103841028B (en) 2014-03-24 2014-03-24 OSPF packets forwarding method and apparatus

Publications (2)

Publication Number Publication Date
CN103841028A true CN103841028A (en) 2014-06-04
CN103841028B CN103841028B (en) 2017-02-08

Family

ID=50804178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410110107.1A CN103841028B (en) 2014-03-24 2014-03-24 OSPF packets forwarding method and apparatus

Country Status (1)

Country Link
CN (1) CN103841028B (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168140A (en) * 2014-08-14 2014-11-26 杭州华三通信技术有限公司 VTEP abnormal condition processing method and device
CN104243268A (en) * 2014-09-19 2014-12-24 杭州华三通信技术有限公司 Association method and device between virtual extensible local area networks (VXLAN) and tunnel
CN104243630A (en) * 2014-09-29 2014-12-24 杭州华三通信技术有限公司 MAC (media access control) address learning method and MAC address learning device in VXLAN (virtual extensible local area network)
CN104243269A (en) * 2014-09-24 2014-12-24 杭州华三通信技术有限公司 Processing method and device of messages in VxLAN (virtual extensible local area network)
CN104270298A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN
CN104283980A (en) * 2014-10-09 2015-01-14 杭州华三通信技术有限公司 Address resolution protocol (ARP) reply on-behalf method and device
CN104468394A (en) * 2014-12-04 2015-03-25 杭州华三通信技术有限公司 Method and device for forwarding messages in VXLAN network
WO2016055027A1 (en) * 2014-10-10 2016-04-14 Hangzhou H3C Technologies Co., Ltd. Table entry in software defined network
WO2016058483A1 (en) * 2014-10-16 2016-04-21 Hangzhou H3C Technologies Co., Ltd. Association of a vxlan with a tunnel
WO2016070617A1 (en) * 2014-11-05 2016-05-12 中兴通讯股份有限公司 Method and device for updating flow table
CN105591907A (en) * 2015-07-28 2016-05-18 杭州华三通信技术有限公司 Route acquisition method and device
CN105591998A (en) * 2014-10-21 2016-05-18 杭州华三通信技术有限公司 Method and apparatus for inhibiting periodical registration of communication endpoint identifiers (EIDs)
CN105634942A (en) * 2014-10-31 2016-06-01 华为技术有限公司 Method and switch for forwarding message
CN105939296A (en) * 2016-06-24 2016-09-14 杭州迪普科技有限公司 Method and device for processing message
CN105991440A (en) * 2015-02-12 2016-10-05 杭州华三通信技术有限公司 Method and device for preventing flow interruption caused by virtual machine (VM) migration
CN106031104A (en) * 2015-01-21 2016-10-12 华为技术有限公司 Data packet forwarding method, apparatus and device
CN106059946A (en) * 2016-05-23 2016-10-26 杭州华三通信技术有限公司 Message forwarding method and message forwarding device
CN106161248A (en) * 2015-04-27 2016-11-23 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN network
CN106302171A (en) * 2015-05-13 2017-01-04 杭州华三通信技术有限公司 Virtual machine migration detection method and device
CN106330719A (en) * 2016-10-26 2017-01-11 杭州迪普科技有限公司 VXLAN message forwarding method and device
CN106385354A (en) * 2016-08-30 2017-02-08 锐捷网络股份有限公司 Message forwarding method and device
WO2017020236A1 (en) * 2015-08-04 2017-02-09 Nokia Technologies Oy Interconnection of overlay networks
CN106411752A (en) * 2016-09-30 2017-02-15 浙江宇视科技有限公司 Multicast packet transceiving method and system
CN106850379A (en) * 2015-12-04 2017-06-13 中国电信股份有限公司 Method and system for implementing sub-network intercommunication
CN106850434A (en) * 2017-03-31 2017-06-13 联想(北京)有限公司 Transmission control method and system and processing equipment in VXLAN
CN106878136A (en) * 2016-12-28 2017-06-20 新华三技术有限公司 Message forwarding method and apparatus
CN107342941A (en) * 2017-06-01 2017-11-10 杭州迪普科技股份有限公司 Optimization method and device for VXLAN (Virtual Extensible Local Area Network) control plane
WO2018001339A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Method and apparatus for forwarding packet in virtual extensible local area network (vxlan)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238058A (en) * 2010-04-20 2011-11-09 中兴通讯股份有限公司 Data message processing method, ingress tunnel router and system
CN102307144A (en) * 2011-08-19 2012-01-04 杭州华三通信技术有限公司 Dynamic host configuration protocol (DHCP) message forwarding method for transparent interconnection of lots of links (TRILL) network and routing bridge
CN102355510A (en) * 2011-10-17 2012-02-15 中兴通讯股份有限公司 Medium/media access control (MAC) address allocation method, device and system
CN102932225A (en) * 2011-08-11 2013-02-13 中兴通讯股份有限公司 Method, system and device for realizing communication between sub virtual local area networks
WO2013026299A1 (en) * 2011-08-22 2013-02-28 中兴通讯股份有限公司 Address resolution method and device, and information transmission method
US20130136126A1 (en) * 2011-11-30 2013-05-30 Industrial Technology Research Institute Data center network system and packet forwarding method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238058A (en) * 2010-04-20 2011-11-09 中兴通讯股份有限公司 Data message processing method, ingress tunnel router and system
CN102932225A (en) * 2011-08-11 2013-02-13 中兴通讯股份有限公司 Method, system and device for realizing communication between sub virtual local area networks
CN102307144A (en) * 2011-08-19 2012-01-04 杭州华三通信技术有限公司 Dynamic host configuration protocol (DHCP) message forwarding method for transparent interconnection of lots of links (TRILL) network and routing bridge
WO2013026299A1 (en) * 2011-08-22 2013-02-28 中兴通讯股份有限公司 Address resolution method and device, and information transmission method
CN102355510A (en) * 2011-10-17 2012-02-15 中兴通讯股份有限公司 Medium/media access control (MAC) address allocation method, device and system
US20130136126A1 (en) * 2011-11-30 2013-05-30 Industrial Technology Research Institute Data center network system and packet forwarding method thereof

Cited By (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168140B (en) * 2014-08-14 2017-11-14 新华三技术有限公司 Vtep exception handling method and apparatus
CN104168140A (en) * 2014-08-14 2014-11-26 杭州华三通信技术有限公司 VTEP abnormal condition processing method and device
CN104243268A (en) * 2014-09-19 2014-12-24 杭州华三通信技术有限公司 Association method and device between virtual extensible local area networks (VXLAN) and tunnel
CN104243268B (en) * 2014-09-19 2017-05-10 新华三技术有限公司 Associated with the tunnel method and apparatus Vxlan
CN104243269B (en) * 2014-09-24 2019-01-22 新华三技术有限公司 A kind of processing method and processing device of virtual extended local network packet
CN104243269A (en) * 2014-09-24 2014-12-24 杭州华三通信技术有限公司 Processing method and device of messages in VxLAN (virtual extensible local area network)
CN104243630B (en) * 2014-09-29 2017-10-03 新华三技术有限公司 mac address learning method and a device in the network Vxlan
CN104243630A (en) * 2014-09-29 2014-12-24 杭州华三通信技术有限公司 MAC (media access control) address learning method and MAC address learning device in VXLAN (virtual extensible local area network)
CN104270298A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN
CN104270298B (en) * 2014-09-30 2018-10-09 新华三技术有限公司 One kind of method and apparatus for forwarding packets in the network vxlan
CN104283980A (en) * 2014-10-09 2015-01-14 杭州华三通信技术有限公司 Address resolution protocol (ARP) reply on-behalf method and device
WO2016054974A1 (en) * 2014-10-09 2016-04-14 Hangzhou H3C Technologies Co., Ltd. Address resolution
CN104283980B (en) * 2014-10-09 2018-02-09 新华三技术有限公司 One kind ARP pickup apparatus and method
US10298538B2 (en) 2014-10-09 2019-05-21 Hewlett Packard Enterprise Development Lp Address resolution
CN105577548B (en) * 2014-10-10 2018-10-09 新华三技术有限公司 A software defined network packet processing method and apparatus
WO2016055027A1 (en) * 2014-10-10 2016-04-14 Hangzhou H3C Technologies Co., Ltd. Table entry in software defined network
CN105577548A (en) * 2014-10-10 2016-05-11 杭州华三通信技术有限公司 Software definition network message processing method and device
WO2016058483A1 (en) * 2014-10-16 2016-04-21 Hangzhou H3C Technologies Co., Ltd. Association of a vxlan with a tunnel
CN105591998B (en) * 2014-10-21 2019-01-08 新华三技术有限公司 Inhibit the method and apparatus of periodic registration communication end point mark EID
CN105591998A (en) * 2014-10-21 2016-05-18 杭州华三通信技术有限公司 Method and apparatus for inhibiting periodical registration of communication endpoint identifiers (EIDs)
CN105634942A (en) * 2014-10-31 2016-06-01 华为技术有限公司 Method and switch for forwarding message
WO2016070617A1 (en) * 2014-11-05 2016-05-12 中兴通讯股份有限公司 Method and device for updating flow table
CN104468394A (en) * 2014-12-04 2015-03-25 杭州华三通信技术有限公司 Method and device for forwarding messages in VXLAN network
CN104468394B (en) * 2014-12-04 2018-02-09 新华三技术有限公司 Vxlan one kind of network packet forwarding method and apparatus
CN106031104A (en) * 2015-01-21 2016-10-12 华为技术有限公司 Data packet forwarding method, apparatus and device
CN105991440A (en) * 2015-02-12 2016-10-05 杭州华三通信技术有限公司 Method and device for preventing flow interruption caused by virtual machine (VM) migration
CN106161248A (en) * 2015-04-27 2016-11-23 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN network
CN106161248B (en) * 2015-04-27 2019-03-29 新华三技术有限公司 Message forwarding method and device in a kind of VXLAN network
CN106302171A (en) * 2015-05-13 2017-01-04 杭州华三通信技术有限公司 Virtual machine migration detection method and device
CN105591907A (en) * 2015-07-28 2016-05-18 杭州华三通信技术有限公司 Route acquisition method and device
CN105591907B (en) * 2015-07-28 2018-11-09 新华三技术有限公司 A route acquisition method and apparatus
WO2017020236A1 (en) * 2015-08-04 2017-02-09 Nokia Technologies Oy Interconnection of overlay networks
CN106850379A (en) * 2015-12-04 2017-06-13 中国电信股份有限公司 Method and system for implementing sub-network intercommunication
CN106059946A (en) * 2016-05-23 2016-10-26 杭州华三通信技术有限公司 Message forwarding method and message forwarding device
CN105939296A (en) * 2016-06-24 2016-09-14 杭州迪普科技有限公司 Method and device for processing message
WO2018001339A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Method and apparatus for forwarding packet in virtual extensible local area network (vxlan)
CN106385354A (en) * 2016-08-30 2017-02-08 锐捷网络股份有限公司 Message forwarding method and device
CN106411752A (en) * 2016-09-30 2017-02-15 浙江宇视科技有限公司 Multicast packet transceiving method and system
CN106411752B (en) * 2016-09-30 2019-06-11 浙江宇视科技有限公司 Multicast message receiving/transmission method and system
CN106330719A (en) * 2016-10-26 2017-01-11 杭州迪普科技有限公司 VXLAN message forwarding method and device
CN106878136A (en) * 2016-12-28 2017-06-20 新华三技术有限公司 Message forwarding method and apparatus
CN106850434A (en) * 2017-03-31 2017-06-13 联想(北京)有限公司 Transmission control method and system and processing equipment in VXLAN
CN107342941A (en) * 2017-06-01 2017-11-10 杭州迪普科技股份有限公司 Optimization method and device for VXLAN (Virtual Extensible Local Area Network) control plane

Also Published As

Publication number Publication date
CN103841028B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN104272668B (en) Covering layer 3 gateway
CN102334111B (en) Providing logical networking functionality for managed computer networks
CN102457583B (en) Realization method of mobility of virtual machine and system thereof
US9667541B2 (en) Virtual MAC address, mask-based, packet forwarding
JP5617137B2 (en) Mechanism for the virtual layer 2 and scalable it
JP5830093B2 (en) Asymmetric network address encapsulation
CN102404181B (en) Application Layer link state routing protocol address correspondence transmission method
US9282039B2 (en) Address resolution method, apparatus, and system
EP3020164B1 (en) Support for virtual extensible local area network segments across multiple data center sites
CN102594711B (en) Message forwarding method and edge device therefor
EP2982097B1 (en) Method and apparatus for exchanging ip packets among network layer 2 peers
CN104350714B (en) Seed packet forwarding method and VxLAN Gateway
US9264362B2 (en) Proxy address resolution protocol on a controller device
CN102164091B (en) Method for building MAC (Media Access Control) address table and provider edge device
CN103814554B (en) Scalable for a virtual local area network communication method, apparatus and system for
CN101945034B (en) Data switching system and method based on locator identify separation protocol (LISP)
CN103200069A (en) Message processing method and device
CN102143068B (en) Method, device and system for learning MAC (Media Access Control) address
CN103841028B (en) OSPF packets forwarding method and apparatus
US9281955B2 (en) Interoperability of data plane based overlays and control plane based overlays in a network environment
US8675522B2 (en) Conveying the VLAN/L2 VSN/bridging-domain of the incoming interface (IIF) when transporting multicast traffic over a shortest path bridged (SPB) network
CN102801715B (en) Method for virtual machine migration in network, gateway and system
CN104320342B (en) A multi-link transparent internetwork packet forwarding method and apparatus
WO2013185532A1 (en) Alias and transparent interconnection of lots of links (trill) packet processing method and apparatus
KR101785760B1 (en) Method and network element for enhancing ds-lite with private ipv4 reachability

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CP01