CN104320342B - A multi-link transparent internetwork packet forwarding method and apparatus - Google Patents

A multi-link transparent internetwork packet forwarding method and apparatus Download PDF

Info

Publication number
CN104320342B
CN104320342B CN201410591545.4A CN201410591545A CN104320342B CN 104320342 B CN104320342 B CN 104320342B CN 201410591545 A CN201410591545 A CN 201410591545A CN 104320342 B CN104320342 B CN 104320342B
Authority
CN
China
Prior art keywords
nve
packet
information table
edge node
corresponding
Prior art date
Application number
CN201410591545.4A
Other languages
Chinese (zh)
Other versions
CN104320342A (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 CN201410591545.4A priority Critical patent/CN104320342B/en
Publication of CN104320342A publication Critical patent/CN104320342A/en
Application granted granted Critical
Publication of CN104320342B publication Critical patent/CN104320342B/en

Links

Abstract

本发明提供了一种多链路透明互联网络中报文转发方法,该方法包括:边缘节点获得TRILL网络中各边缘节点下挂NVE设备的NVE信息,并根据获得的NVE信息生成转发信息表;该边缘节点接收到下挂NVE设备发送的数据报文时,根据所述转发信息表转发该数据报文。 The present invention provides a transparent multi-link packet forwarding in a network, the method comprising: obtaining edge node information NVE NVE TRILL network devices linked at each edge node, and is generated according to information obtained NVE forwarding information table; when the edge node receives the data transmission device linked NVE packet according to the forwarding information to forward the datagram. 基于同样的发明构思,本申请还提出一种多链路透明互联网络中报文转发装置,在部署overlay网络时,使用TRILL网络作为underlay网络承载,简化部署过程。 Based on the same inventive concept, the present application also provides a transparent multi-link internetwork packet forwarding apparatus, when deploying a network overlay, underlay as TRILL network using a network carrier, simplifying the deployment process.

Description

一种多链路透明互联网络中报文转发方法和装置 A multi-link transparent internetwork packet forwarding method and apparatus

技术领域 FIELD

[0001] 本发明涉及通信技术领域,特别涉及一种多链路透明互联网络中报文转发方法和装置。 [0001] The present invention relates to communication technologies, particularly to a multi-link transparent internetwork packet forwarding method and apparatus.

背景技术 Background technique

[0002] 在部署叠加(Overlay)网络时有两种情况: [0002] There are two cases when deployed superimposed (the Overlay) network:

[0003] 1、当在现有的网络中搭建Over lay网络时,基于因特网协议(Internet Protocol, IP)的底层(underlay)网络已构建好,只需要部署虚拟overlay网络即可,是增量部署; [0003] 1, when the network build Over lay in the existing network, the underlying (underlay) based on Internet Protocol (Internet Protocol, IP) network has been constructed well, you only need to deploy virtual overlay network, incremental deployment ;

[0004] 2、当underlay网络和overlay网络都是全新部署的时候,例如新建数据中心,此时underlay网络,即普通IP网络的构建非常复杂,工作量巨大。 [0004] 2, when the underlay and overlay networks when new networks are deployed, for example, the new data center, this time underlay network, that the IP network to build very complex, a huge amount of work.

发明内容 SUMMARY

[0005] 有鉴于此,本申请提供一种多链路透明互联网络中报文转发方法和装置,以解决新建overlay网络和underlay网络时,underlay网络搭建的工作量巨大的问题。 [0005] Accordingly, the present application provides a multi-link when transparent internetwork packet forwarding method and apparatus to address the new overlay network and the underlay network, a huge workload of the underlay network structures.

[0006] 为解决上述技术问题,本申请的技术方案是这样实现的: [0006] To solve the above technical problem, the technical solution of the present application is achieved:

[0007] 一种多链路透明互联TRILL网络中报文转发方法,应用于TRILL网络中的任一边缘节点上,该方法包括: [0007] A multi-link Transparent Interconnection TRILL network packet forwarding method applied to an edge node on either a TRILL network, the method comprising:

[0008] 该边缘节点获得TRILL网络中各边缘节点下挂网络虚拟化边缘NVE设备的NVE信息,并生成NVE信息表,所述NVE信息表包括:边缘节点的昵称、因特网协议IP地址; [0008] The edge node obtains information NVE TRILL network linked to the network at each edge node virtual NVE edge device, and generates information table NVE, the NVE information table includes: a nickname edge node, an Internet protocol (IP) address;

[0009] 该边缘节点根据所述NVE信息表生成转发信息表;该转发信息表包括:目的因特网协议IP地址、操作指示和出端口号; [0009] The edge node generates information table according to the forwarding table NVE; the forwarding information table comprises: an Internet Protocol IP address object, and the port number of instructions;

[0010] 该边缘节点接收到下挂NVE设备发送的数据报文时,若确定该数据报文的目的IP 地址在NVE信息表中对应的昵称不为本节点的昵称,则剥掉MAC头,根据剥掉MC头的数据报文的目的IP地址在转发信息表中查找对应的操作指示和出端口号,根据所述操作指示封装指定的TRILL头和MAC头,并从所述出端口号对应的出端口转发封装后的数据报文。 When [0010] the edge node receives the data transmission device linked NVE packet, if the destination IP address of the nickname data packet corresponding to the NVE nickname information table of the current node is not determined, the MAC header stripped, Finding the destination IP address of the data packet in a forwarding stripped MC header information table and an operation instruction corresponding to the port number specified by the package according to the operation instruction TRILL header and the MAC header, and the corresponding port number from the the output ports of the packet forwarding data package.

[0011] 一种多链路透明互联TRILL网络中报文转发装置,应用于TRILL网络中的任一边缘节点上,该装置包括:获取单元、生成单元、接收单元、处理单元和发送单元; [0011] A multi-link Transparent Interconnection TRILL network packet forwarding apparatus applied in a TRILL network nodes on either edge, the apparatus comprising: an acquisition unit, generation unit, a receiving unit, a processing unit and a transmitting unit;

[0012] 所述获取单元,用于获得TRILL网络中各边缘节点下挂网络虚拟化边缘NVE设备的NVE信息; [0012] The acquisition unit for obtaining information NVE TRILL network linked to virtual network device NVE edge at each edge node;

[0013] 所述生成单元,用于根据所述获取单元获得的NVE信息生成NVE信息表,根据NVE信息表生成转发信息表;所述NVE信息表包括:边缘节点的昵称、因特网协议IP地址;所述转发信息表包括:目的因特网协议IP地址、操作指示和出端口号; [0013] The generating unit based on said acquiring information obtaining unit generates NVE NVE information table, generates the forwarding table according to the information table NVE; NVE said information table includes: a nickname edge node, an Internet protocol (IP) address; the forwarding information includes: destination Internet protocol IP address, a port number, and the operation instruction;

[00M]所述接收单元,用于接收本边缘节点下挂NVE设备发送的数据报文; [00M] The reception unit for receiving hanging NVE transmitting apparatus according to the present data packet at an edge node;

[0015] 所述处理单元,用于当所述接收单元接收到所述数据报文时,若确定该数据报文的目的IP地址在NVE信息表中对应的昵称不为本节点的昵称,则剥掉MAC头,根据剥掉MAC头的报文的目的IP地址在转发信息表中查找对应的操作指示和出端口号,根据所述操作指示封装指定的TRILL头和MAC头; [0015] The processing unit when the receiving unit receives the data packet when used, if the destination IP address of the data packet corresponding to the NVE nickname information table of the current node is determined not a nickname MAC header stripped, to find the destination IP address of the packet in the MAC header stripped forwarding information table and an operation instruction corresponding to the port number, the TRILL header and the MAC header indicating package in accordance with the specified operation;

[0016] 所述发送单元,用于将所述处理单元封装后的数据报文从所述出端口号对应的出端口转发。 The [0016] transmitting unit, the data for the processing unit from the encapsulated packet to a port number corresponding to the port forwarding.

[0017] 由上面的技术方案可知,本申请中使用TRILL网络作为承载overlay网络的underlay网络,并给出了作为undelay网络的TRILL网络中报文转发的过程,本申请在部署overlay网络时,使用TRILL网络作为underlay网络承载,简化部署过程。 [0017] apparent from the above technical solutions, the present application is used as the underlay network bearer TRILL network overlay network, and the process is given as undelay network TRILL network packet forwarding of the present application when deploying overlay network, using TRILL network as a bearer network underlay simplifies the deployment process.

附图说明 BRIEF DESCRIPTION

[0018]图1为本申请实施例中TRILL网络中报文转发流程示意图; [0018] Figure 1 is a schematic diagram of the application TRILL network packet forwarding process embodiment;

[0019] 图2为本申请实施例中TRILL网络中任一边缘节点获得各边缘节点下挂NVE设备的NVE彳目息的流程不意图; [0019] FIG. 2 in the present embodiment the application process either edge of the TRILL network node obtained at each linked device NVE NVE left foot destination edge node information is not intended to embodiments;

[0020] 图3为本申请实施例中TRILL网络示意图; [0020] Figure 3 is a schematic diagram of a TRILL network application embodiment;

[0021] 图4为本申请实施例中应用于上述技术的装置结构示意图。 [0021] FIG. 4 is a schematic structure of the apparatus applied to the above embodiment of the present application techniques.

具体实施方式 Detailed ways

[0022] 为了使本发明的目的、技术方案及优点更加清楚明白,下面结合附图并据实施例, 对本发明的技术方案进行详细说明。 [0022] To make the objectives, technical solutions and advantages of the present invention clearer, the accompanying drawings and the following embodiments according to technical solutions of the present invention will be described in detail.

[0023] 参见图1,图1为本申请实施例中多链路透明互联(TRansparent Interconnection of Lots of Links,TRILL)网络中报文转发流程示意图。 [0023] Referring to FIG. 1, FIG. 1 of the present embodiment of the multi-link Transparent Interconnection (TRansparent Interconnection of Lots of Links, TRILL) network forwards the request message flow schematic. 具体步骤包括: These steps include:

[0024] 步骤101,边缘节点获得TRILL网络中各边缘节点下挂网络虚拟化边缘(Network Virtual Edge,NVE)设备的NVE信息,并生成NVE信息转发表。 [0024] Step 101, the edge node obtains the TRILL network linked to the information network virtualization edge NVE (Network Virtual Edge, NVE) in each edge node device, and generates the forwarding information NVE.

[0025] 参见图2,图2为本申请实施例中TRILL网络中任一边缘节点获得各边缘节点下挂NVE设备的NVE信息的流程示意图。 [0025] Referring to Figure 2, a schematic flow chart of FIG. 2 embodiment either edge of the TRILL network node obtains information linked NVE NVE in each edge node device application embodiment. 具体步骤包括: These steps include:

[0026] 步骤201,边缘节点学习到本地NVE设备的NVE信息时,生成NVE信息表。 [0026] Step 201, the edge information of the local node learns NVE NVE device information table generating NVE.

[0027] TRILL网络中的各边缘节点在下挂NVE设备的端口上配置使能NVE设备的自动发现功能。 [0027] Each edge node TRILL network port disposed on the lower hanging device NVE the automatic discovery function can NVE device. 各NVE设备将自身的NVE信息通告给与其直连的边缘节点。 Each device itself NVE NVE advertisement information to the edge nodes directly connected. 通告时可以使用LLDP,ARP, DHCP等协议进行通告。 You can use LLDP, ARP, DHCP and other protocols notice when notice.

[0028] 边缘节点接收到下挂NVE设备通告的NVE信息时,在本地进行存储,可以以本地NVE 信息表的形式存储,存储时,还需存储学习到该NVE信息的端口的端口号,即本边缘节点与该NVE设备相连的端口的端口号。 When the [0028] edge node receives the information in the linked NVE NVE equipment advertised, stored locally or stored in the form of a local information table NVE, when storing, stores need to learn the number of the port NVE information, i.e., the present number of the port connected to the edge node device NVE.

[0029] 参见图3,图3为本申请实施例中TRILL网络示意图。 [0029] Referring to FIG. 3, FIG. 3 is a schematic diagram TRILL network embodiment of the present application. 图3中,节点A到节点F的昵称分别为A到F,节点C、节点D、节点E和节点F为边缘节点,各节点之间运行通告协议,如TRILL-ISIS,用于将本地学习到的下挂NVE设备的NVE信息同步给其它节点。 In Figure 3, node A to node F nickname A to F, respectively, the node C, nodes D, node E and the node F as an edge node, between nodes running advertisement protocol, such as TRILL-ISIS, for local learning linked to the NVE NVE information synchronizing device to other nodes.

[0030] 节点C、节点D、节点E和节点F下挂NVE设备的端口上配置使能NVE设备自动发现功能,各NVE设备分别将自身的NVE信息通过给与其直连的边缘节点。 Port [0030] node C, nodes D, NVE hanging equipment at node E and the node F NVE Enabling automatic discovery of devices, each device NVE NVE respectively through their own information to the edge node directly connected.

[0031] 以NVE设备1和NVE设备5通告NVE信息为例。 [0031] In the apparatus 1 and NVE NVE NVE device 5 advertisement information as an example. NVE设备1将NVE信息(IP地址1. 1.1. 1、 MAC地址0-0-1)通告给节点C,NVE设备5将NVE信息(IP地址1. 1. 1.5、MAC地址0-0-5)通告给节点C,节点C学习到NVE设备1的NVE信息的端口号为1,学习到NVE设备2的NVE信息的端口号为2。 NVE apparatus 1 NVE information (IP address 1. 1.1. 1, MAC address 0-0-1) advertised to the node C, NVE device 5 NVE information (IP address 1. 1. 1.5, MAC address 0-0-5 ) advertised to the node C, the node C learned NVE NVE information device port number 1 is 1, the learning device port number to NVE NVE information 2 is 2.

[0032] 边缘节点C接收到NVE设备1和NVE设备5通告的NVE信息时,以本地NVE信息表的形式进行存储。 [0032] Upon receiving the edge node C NVE NVE apparatus 1 and the information equipment 5 NVE advertised, it is stored as local information table NVE. 参见表1,表1为节点C上生成的本地NVE设备的NVE信息表包含的内容。 Table 1, Table 1 NVE content information table generated on a node C NVE local apparatus contained.

Figure CN104320342BD00061

[0034] 表1 [0034] TABLE 1

[0035] 步骤202,该边缘节点将生成的本地NVE设备对应的NVE信息表项内容同步给其它节点。 [0035] Step 202, NVE information table items of the generated local edge node device corresponding synchronization NVE to other nodes.

[0036] 仍然以图3中的节点C为例,节点C将本地NVE设备对应的NVE信息表项内容通过TRILL ISIS LSP泛洪给节点A,节点B,节点D,节点F和节点E。 [0036] In still node C in FIG. 3 as an example, the node C NVE NVE local information table items corresponding to the device by flooding TRILL ISIS LSP to the node A, a node B, nodes D, and the node E. Node F

[0037] 节点A和节点B接收到泛洪的NVE信息表项内容,只是为了继续向其它边缘节点泛洪该NVE信息,不会用于后续转发信息表项的生成。 [0037] Node A and Node B receives information table items NVE flooding, but to continue to flood the NVE information to the other edge nodes, without generating information for subsequent forwarding entry.

[0038] 步骤203,该边缘节点接收到远端边缘节点同步的NVE信息表项内容时,将获得的NVE信息表项内容增加到本地的NVE信息表中。 NVE entries contents [0038] Step 203, the edge node receives a distal edge node synchronization NVE information table items and obtain increased local NVE information table.

[0039] 该边缘节点接收到其它节点同步的NVE信息表项内容时,直接存储到本地NVE设备对应的NVE信息表中,也可以以远端NVE信息表的形式进行存储。 When [0039] the edge node receives information table items NVE other nodes synchronization, directly to the local storage device corresponding NVE NVE information table, the distal end may be in the form of NVE information table is stored.

[0040] 本申请实施例中以本地NVE信息表和远端NVE信息表存储在一张NVE信息表中为例,通过存储的NVE信息表项中的昵称,区别任一条NVE信息表项为本地NVE信息表项和远端NVE信息表项。 Example NVE to local and remote information table information table storage Example NVE NVE information table in an embodiment [0040] of the present application, by NVE entry information stored in the nickname, the difference between any one of entries for the local NVE NVE entries and distal NVE entries.

[0041] 仍以图3为例,节点C、节点D、节点E和节点F之间会同步各自学习到的下挂NVE设备的NVE信息而生成的NVE信息表内容,以节点C接收到节点D、节点E和节点F同步的NVE信息表内容为例。 [0041] FIG 3 is still as an example, each of the sync information learned NVE NVE hanging device generates between the node C, nodes D, node E and the node F NVE content information table, the node C receives the node D, E and node F node synchronization NVE information table of contents, for example. 参见表2,表2为节点C上NVE设备表包含的内容。 Table 2 Table 2 shows the contents of the node table contains C NVE apparatus.

Figure CN104320342BD00062

[0043] 表2 [0043] TABLE 2

[0044] 根据实际同步的NVE信息表项内容生成表2,如果同步的NVE信息表内容中不包括MC地址和端口号,则表2中昵称为D、E、F对应的表项不包括MC地址和端口号。 [0044] The NVE information table items actual synchronization generation Table 2, if the synchronization NVE information table of contents does not include the MC address and port number, the Table 2 nickname D, E, F the corresponding entry does not include MC address and port number.

[0045] 步骤102,该边缘节点根据NVE信息表生成转发信息表。 [0045] Step 102, the edge node generates the forwarding table according to the information table NVE.

[0046] 本步骤中转发信息表包括:目的IP地址、操作指示和出端口号。 [0046] In this step, the forwarding information table comprises: destination IP address, the port number and instructions.

[0047] 本申请具体实施例中,针对远端边缘节点下挂的NVE设备与本边缘节点下挂NVE设备的NVE信息生成转发信息表项存在不同,下面详细描述针对每一条NVE信息生成转发信息表项的过程: [0047] Application of the present embodiment, the hanging device NVE NVE information for the next node linked to the distal edge of the edge node NVE present apparatus generates different information forwarding entry exists, the following detailed description of the forwarding information generated for each piece of information NVE entry process:

[0048] 本步骤中转发信息表包括:目的IP地址、操作指示和出端口号。 [0048] In this step, the forwarding information table comprises: destination IP address, the port number and instructions.

[0049] 本申请具体实施例中,针对远端NVE设备与本地的IP地址作为目的IP地址分别根据对应的NVE信息表项生成转发信息表项存在不同,下面详细描述针对每一条NVE信息表项生成转发信息表项的过程: [0049] The specific embodiment of the present application, a destination IP address for the device and the distal end NVE local IP addresses are different information forwarding entry exists corresponding NVE The entries generated, each one NVE entries for the following detailed description the generation process of forwarding entries:

[0050] (1)、当该条NVE信息为远端边缘节点下挂的NVE信息时,所述操作指示为封装TRILL头和MAC头; [0050] (1), when a piece of information for the next NVE linked NVE distal edge node information, the operation instruction is a TRILL header and the MAC header encapsulation;

[0051] 当所述目的IP地址为远端NVE设备的IP地址时,所述操作指示为封装TRILL头和MAC头;所述TRILL头、MAC头以及所述出端口号根据所述目的IP地址在NVE信息表中对应的昵称确定; [0051] When the destination IP address is the IP address of the distal end of NVE device, the operation instruction is a TRILL header and the MAC header encapsulation; the TRILL header, the MAC header and a port number of the destination IP address according to NVE determined corresponding nickname information table;

[0052] 具体确定方法为: [0052] DETAILED determination method:

[0053] 所述TRILL头的入昵称为本边缘节点的昵称,出昵称为该条NVE信息中的昵称在TRILL路由表(目的nickname,下一跳nickname)中对应的下一跳昵称; [0053] The present TRILL nicknames nickname head into the edge node, the nickname information piece NVE TRILL nickname in the routing table (object Nickname, Nickname next hop) corresponding to the next hop nickname;

[0054] 所述MAC头的源媒体访问控制MAC地址为本边缘节点的MAC地址,目的MAC地址为所述下一跳昵称在TRILL邻接表(下一跳nickname,MAC地址,出端口号)中对应的MAC地址; MAC address of the edge node of the present [0054] the source media access control MAC header MAC address, destination MAC address of the next hop adjacent TRILL nickname table (next hop Nickname, MAC address, the port number) in corresponding MAC address;

[0055] 所述出端口号为所述下一跳昵称在TRILL邻接表(下一跳nickname,MAC地址,出端口号)中对应的端口号。 [0055] The port number is the nickname of the next-hop corresponding to the port number in a TRILL adjacency list (next hop nickname, MAC address, the port number) in the.

[0056] (2)、当所述目的IP地址为本地NVE设备的IP地址时,所述操作指示为替换MAC头; [0056] (2), when the destination IP address for the local device's IP address NVE, the MAC header indicates alternate operation;

[0057] 所述替换MAC头包括:替换后的MAC头的源MAC地址为本边缘节点的MAC地址,目的MAC地址为该目的IP地址在NVE信息表中对应的MAC地址; [0057] Alternatively the MAC header comprises: a source MAC address of MAC header after the replacement of the present MAC address of the edge node, the destination MAC address is the MAC address corresponding to the destination IP address in the information table NVE;

[0058] 所述出端口号为所述目的IP地址在NVE信息表中对应的端口号。 [0058] The port number is a port number corresponding to the destination IP address in the information table NVE.

[0059] 下面仍以图3为例,图3中的节点C根据获得的NVE信息生成的转发信息表包含的内容见表3。 [0059] FIG 3 is still an example below, the node C in FIG. 3 in Table 3 based on the content information obtained NVE generated table contains forwarding information.

Figure CN104320342BD00081

[0061] 表3 [0061] TABLE 3

[0062] 表3中,第1条和第2条转发信息表项分别根据表2中第1条和第2条NVE信息表项生成的,以第1条转发信息表项的生成为例。 [0062] In Table 3, Section 1 and 2 of the forwarding entries are generated according to Table 2 in Section 1 and 2 of NVE entries, to generate the forwarding entries Example 1 article.

[0063] 第1条转发信息表项中的目的IP地址和出端口号为该条NVE信息表项,即表2中的第1条NVE信息表项中的IP地址和端口号;操作指示中替换的目的MAC地址为表2中第1条NVE 信息中的MAC地址,替换的源MAC地址为节点C的MAC地址。 [0063] The destination IP address and port number of the article 1, the forwarding information for entry piece NVE entries, i.e., IP address and port number table article 1 NVE entries in 2; operation instruction Alternatively destination MAC address is the MAC address table 2 in section 1 NVE information, replacing the source MAC address is the MAC address of node C.

[0064] 表3中第3、第4和第5条转发信息表项分别为根据表2中的第3条、第4条和第5条NVE 信息表项生成的,以第3条转发信息表项的生成为例。 [0064] Table 3 3rd, 4th forwarding entries and 5 are generated in accordance with article 3 in Table 2, 4 and 5 NVE entries to article 3 forwarding information generating an entry for example.

[0065] 第3条转发信息表项中的目的IP地址为表2中第3条NVE信息表项中的IP地址;表2 中第3条NVE信息表项中的昵称D在TRILL路由表(D,A)中对应的下一跳昵称A,下一跳昵称A 在TRILL邻接表(A,MAC〇-〇-a,出端口号3)对应的MAC地址为MACO-0-a和出端口号3,则封装的TRILL头时,入昵称为C,出昵称为A;封装MAC头时,目的MAC地址为MACO-0-a,源MAC地址为MACO-0-c;出端口号为3。 [0065] Destination IP address Article 3 forwarding entries in Table 2 IP address in Article 3 NVE information table entry; Table nicknames D 2 in Article 3 NVE entries in the TRILL routing table ( D, a) corresponding to the next hop nickname a, the next hop in the TRILL nickname a adjacency list (a, MAC〇-billion-a, a port number 3) corresponding to the MAC address MACO-0-a and the port 3, when the package TRILL header, the nickname is C, the nickname a; when the package MAC header, destination MAC address MACO-0-a, source MAC address MACO-0-c; a port number 3 .

[0066] 步骤103,该边缘节点接收到下挂NVE设备发送的数据报文时,若确定该数据报文的目的IP地址在NVE信息表中对应的昵称不为本节点的昵称,则剥掉MAC头,根据剥掉MAC头的数据报文的目的IP地址在转发信息表中查找对应的操作指示和出端口号,根据所述操作指示封装指定的TRILL头和MAC头,并从所述出端口号对应的出端口转发封装后的数据报文。 When [0066] Step 103, the edge node receives the data transmission device linked NVE packet, if the destination IP address of the nickname data packet in the corresponding nickname information table NVE node determines not present, then stripped MAC header, find the destination IP address of the data packets in the MAC header stripped forwarding information table and an operation instruction corresponding to the port number specified by the package according to the operation instruction TRILL header and the MAC header, and from the output port corresponding to port number of data packets and transfers the package.

[0067] 若确定该数据报文的目的IP地址在NVE信息表中对应的昵称为本节点的昵称,则根据该数据报文的目的IP地址在转发信息表中查找对应的操作指示和出端口号,根据所述操作指示替换指定的MAC头,并从所述出端口号对应的出端口转发替换指定MC头的数据报文。 [0067] If the nickname destination IP address corresponding to the data packet in NVE nickname information table of the current node is determined, the operation instruction lookup in a forwarding information table according to the destination IP address of the data packet and the port number, according to the operation instruction specified by the replacement MAC header, and forwards the replaced designated MC header of the packet from the port number of the corresponding output port.

[0068] 该边缘节点接收到TRILL网络中的其它节点发送的报文时,若确定该报文的TRILL 头中的出昵称为本边缘节点的昵称,则剥离该报文的MAC头和TRILL头,并将该报文的目的IP地址在NVE信息表中对应的MAC地址作为目的MAC地址,本边缘节点的MAC地址作为源MAC 地址对剥离MAC头和TRILL头的报文进行MAC头封装,并通过该报文的目的IP地址在NVE信息中对应的端口号所对应的端口转发。 [0068] The edge node receives packets to other nodes in the TRILL network transmission of the packet if the nickname in the TRILL nickname head edge node determines the present, the release of the packet header and the MAC header TRILL and the IP address of the packet corresponding to the object information table NVE MAC address as the destination MAC address, the MAC address of this edge node as the source MAC address of the MAC header, and a TRILL header stripping the MAC header packet encapsulation, and by the port number of the packet destination IP address corresponding to the corresponding information NVE port forwarding.

[0069] 边缘节点下挂NVE设备需要向其它NVE设备发送数据报文之前,需确定本地是否存在所述其它NVE设备的IP地址对应的ARP表项,如果是,根据该ARP表项直接向所述其它NVE 设备发送数据报文;否则,会发送ARP请求报文请求所述其它NVE设备的IP地址,该ARP请求报文的目标端IP地址为所述其它NVE设备的IP地址。 [0069] Before hanging device NVE lower edge node needs to transmit data packets to other devices NVE, determine the other NVE ARP entry device whether the local IP address corresponding to the presence, if, based on the ARP entry directly to the NVE said other device sends a data packet; otherwise, sends an ARP request packet requesting the IP address of another device NVE, the ARP request packet destination IP address is the end address of the other IP devices NVE.

[0070] 边缘节点侦听到下挂NVE设备发送的ARP请求报文时,进行ARP代答,代答的MAC地址为本边缘节点的MAC地址,不是目标端IP地址对应的MAC地址。 [0070] The edge node listens to the MAC address linked NVE device sends an ARP request packet, an ARP Pickup, edge node MAC address-based pickup MAC address is not the IP address corresponding to the destination end. 边缘节点代答功能防止ARP 请求报文广播到TRILL网络中,避免了网络资源的浪费。 Edge node Pickup prevent ARP request packets broadcast to the TRILL network, avoiding the waste of network resources.

[0071] 仍以图3为例,详细说明报文在TRILL网络中报文转发过程: [0071] FIG 3 is still as an example, detailed description of the process of forwarding packets encapsulated in a TRILL network:

[0072] 首先以NVE设备1向NVE设备5发送数据报文为例。 [0072] First, a transmitting device 5 to NVE NVE device data packet as an example. 若NVE设备1本地存在NVE设备5的IP地址1. 1.1.5对应的ARP表项,则发送的数据报文的内容见表4。 When the apparatus 1 NVE local ARP entry exists NVE device IP address corresponding to 5 1. 1.1.5, packet data is transmitted from the content shown in Table 4.

Figure CN104320342BD00091

[0074] 表4 [0074] TABLE 4

[0075] 本申请实施例中的NVE设备为一个服务器中的虚拟交换机,该虚拟交换机下挂虚拟机,NVE设备为下挂虚拟机发送的报文封装MAC头,和IP头,并发送给与其直连的边缘节点。 [0075] The present application NVE embodiment of a server apparatus according to a virtual switch, the virtual switch linked to the virtual machine, the virtual machine NVE device is linked to the transmitted packet encapsulation MAC header and IP header, and sends its an edge node is connected.

[0076] 节点C接收到表4对应的数据报文时,根据报文的DIP在NVE信息表中确定对应的昵称为C,即为本节点的昵称,则根据该数据报文的目的IP地址(DIPl. 1.1.5)在转发信息表中查找,由表3可知,查找到的转发信息表项为第2条,则根据查找到的转发信息表项转发数据报文。 When the [0076] Node C receives the data in Table 4 the corresponding packet, a response packet corresponding to the determined DIP C in NVE nickname information table, the nickname is the node, the destination IP address of the data packet (DIPl. 1.1.5) to find information in the forwarding table, table 3 shows that, to find the forwarding entries of article 2, the data packet is forwarded according to the searched forwarding entries.

[0077] 该条转发信息表项中的操作指示为替换目的MAC地址为0-0-5,替换源MAC地址为0-0-C,则根据操作指示处理该数据报文后的数据报文内容见表5。 [0077] The piece of forwarding information entry operation is indicated by the replacement 0-0-5 destination MAC address, replacing the source MAC address 0-0-C, the operation instruction processing in accordance with data packets after the data packet the contents are shown in Table 5.

Figure CN104320342BD00092

[0079] 表5 [0079] TABLE 5

[0080] 节点C将表5对应的数据报文通过查找到的转发信息表现中出端口号对应的端口发送,即发送给了NVE设备5。 [0080] Table 5 C corresponding to the node data packets to find the forwarding performance of the port information corresponding port number sent, i.e. transmitted to the device 5 NVE.

[0081] 然后以NVE设备1向NVE设备3发送数据报文为例,若NVE设备1本地存在NVE设备3的IP地址1. 1.1.3对应的ARP表项,则发送的数据报文的内容见表6。 [0081] Example 1 was then NVE device 3 to transmit data packets NVE device, if the device is present NVE ARP entry IP address 1. 1.1.3 NVE device 3 corresponding to a local packet data is transmitted content Table 6.

Figure CN104320342BD00101

[0083] 表6 [0083] TABLE 6

[0084] 节点C接收到表6对应的数据报文时,根据该数据报文的目的IP地址在转发信息表中确定对应的昵称不为本节点的昵称,则剥掉该数据报文的MC头;并根据该数据报文的目的IP地址(DIPl. 1.1.3)在转发信息表中查找,由表3可知,查找到的转发信息表项为第4条, 则根据查找到的转发信息表项转发该剥掉MC头的数据报文。 When [0084] Table 6 Node C receives the corresponding data packet, determining nicknames corresponding nickname is not present in the forwarding node information table according to the destination IP address of the data packet, the data packet is stripped of MC head; and forwarding information table lookup according to destination IP address of the data packet (. DIPl 1.1.3), seen from table 3, to find the forwarding entries of article 4, the forwarding information according to the searched entry MC head forwards the stripped data packets.

[0085] 该条转发信息表项中的操作指示为封装TRILL头,入昵称为C,出昵称为E;封装MAC 头,DMAC为0-0-a,SMAC为O-0-c;则根据操作指示处理剥掉MAC头的数据报文后的报文内容见表7。 [0085] indicates a packaged article forwarding operation TRILL header table entry, the nickname is C, a nickname to E; encapsulation MAC header, the DMAC is a 0-0-a, SMAC is O-0-c; according to the packet processing operation instruction contents stripped MAC header of the data packet shown in Table 7.

Figure CN104320342BD00102

[0087] 表7 [0087] TABLE 7

[0088] 表7对应的报文通过查找到的转发信息表项中的出端口号3对应的端口3发送。 [0088] Table 7 corresponds to a message sent by the port number to find the information forwarding table entry corresponding to the port 33.

[0089] 由表7的报文对应的封装格式,可见,本申请实施例中TRILL头内封装的是IP头,不是现有实现中的MAC头,使overlay网络在部署时,TRILL网络作为underlay网络时,部署更简单。 [0089] corresponding to the packet from the encapsulation format of Table 7, can be seen, the embodiment of the present application embodiment TRILL header encapsulated IP header is a MAC header, not the conventional implementations the overlay network upon deployment, as TRILL network underlay when the network deployment easier.

[0090] 节点A接收到表7对应的报文时,剥掉MAC头,根据该报文的TRILL头中的出昵称E确定本节点不为该报文的出节点,则根据TRILL路由表和TRILL邻接表为剥掉MAC头的报文封装MC头并转发。 When the [0090] Node A receives packets corresponding to Table 7, the MAC header stripped, the TRILL nickname in the packet header E is determined that the current node is not a node according to the message, according to the TRILL routing table and TRILL adjacency list of the MAC header stripped MC header packet encapsulation and forwards.

[0091] 节点A根据出昵称E在TRILL路由表中确定下一跳昵称为E,并且根据下一跳昵称E 在TRILL邻接表中确定对应的MAC地址为O-0-e,和出端口号为6。 [0091] A node determines a next hop nickname E E nickname, and the nickname No. E determined next hop MAC address corresponding O-0-e in a TRILL adjacency table, and a port according to the routing table according to the TRILL 6. 则使用O-0-e替换表7对应报文的目的MAC地址,使用节点A的MAC地址O-0-a替换表7对应报文的源MAC地址。 Using O-0-e 7 substitution table corresponding to the destination MAC address of the packet, the MAC address of the node A using O-0-a substitution table 7 corresponding to the source MAC address of the packet. 节点A将处理后的报文通过端口6发送。 After node A packet processing sent through port 6. 对表7对应的报文进行上述处理后的报文的内容见表8。 Packets of the packet corresponding to Table 7 above process contents shown in Table 8.

Figure CN104320342BD00103

[0093] 表8 [0093] TABLE 8

[0094] 节点E接收到表8对应的报文,根据该报文的TRILL头中的出昵称E确定本节点为该报文的出节点,则剥离MAC头和TRILL头,并根据DIP在NVE信息中查找到对应的MAC地址0-0-3,将该查找到的MAC地址作为目的MAC地址,本边缘节点的MAC地址O-0-e作为源MAC地址对剥离MAC头和TRILL头的报文进行MAC头封装,并通过该目的IP地址在NVE信息中对应的端口转发。 [0094] Table 8 node E receives the corresponding packet, a packet header TRILL nickname in the present node E to the node determined in accordance with the message, the MAC header and the release TRILL header, in accordance DIP NVE information to find the corresponding MAC address is 0-0-3, the found MAC address as the destination MAC address, the MAC address of the edge node O-0-e as the source MAC address of the MAC header and the release TRILL header packets a MAC packet header package, and through the port corresponding to the destination IP address in the forwarding information NVE.

[0095] 则节点E通过上述操作处理后的报文内容见表9。 [0095] packet, the node E through the operation processing contents shown in Table 9.

Figure CN104320342BD00111

[0097] 表9 [0097] Table 9

[0098] 节点E将表9对应的报文同过端口1发送给NVE设备3。 [0098] Table 9 corresponding to the node E packet is sent to the same port 1 through 3 NVE apparatus.

[0099] 基于同样的发明构思,本申请还提出一种多链路透明互联网络中报文转发装置, 应用于TRILL网络中的任一边缘节点上。 [0099] Based on the same inventive concept, the present application also provides a transparent multi-link internetwork packet forwarding means, applied either edge of the TRILL network node. 参见图4,图4为本申请实施例中应用于上述技术的装置结构示意图。 Referring to FIG. 4, FIG. 4 is a schematic structure of the apparatus applied to the above embodiment of the present application techniques. 该装置包括:获取单元401、生成单元402、接收单元403、处理单元404和发送单元405; The apparatus comprises: an acquisition unit 401, a generating unit 402, a receiving unit 403, a processing unit 404 and transmission unit 405;

[0100] 获取单元401,用于获得TRILL网络中各边缘节点下挂网络虚拟化边缘NVE设备的NVE信息; [0100] obtaining unit 401 for obtaining information NVE TRILL network linked to virtual network device NVE edge at each edge node;

[0101] 生成单元402,用于根据获取单元401获得的NVE信息生成NVE信息表,根据NVE信息表生成转发信息表;所述NVE信息表包括:边缘节点的昵称、因特网协议IP地址;所述转发信息表包括:目的因特网协议IP地址、操作指示和出端口号; [0101] generating unit 402 for generating table information according NVE NVE information obtaining unit 401 obtains generates the forwarding table according to the information table NVE; NVE said information table includes: a nickname edge node, an Internet Protocol IP address; the forwarding information comprises: an Internet protocol IP address of the object, and the port number of instructions;

[0102] 接收单元403,用于接收本边缘节点下挂NVE设备发送的数据报文; [0102] The receiving unit 403, transmitting apparatus for hanging NVE edge node receives the present data packet;

[0103] 处理单元404,用于当接收单元403接收到所述数据报文时,若确定该数据报文的目的IP地址在NVE信息表中对应的昵称不为本节点的昵称,则剥掉MAC头,根据剥掉MC头的数据报文的目的IP地址在转发信息表中查找对应的操作指示和出端口号,根据所述操作指示封装指定的TRILL头和MAC头; [0103] processing unit 404, when the receiving unit 403 for receiving the data packet, if the destination IP address of the nickname data packet in the corresponding nickname information table NVE node determines not present, then stripped MAC header, find the destination IP address of the data packet header stripped MC in a forwarding information table and an operation instruction corresponding to the port number, according to the package instructions specified TRILL header and the MAC header;

[0104] 发送单元405,用于将处理单元404封装后的数据报文从所述出端口号对应的出端口转发。 [0104] transmitting unit 405, the data for post-processing unit 404 encapsulated packet forwarded from the egress interface corresponding port number.

[0105] 较佳地, [0105] Preferably,

[0106] 生成单元402,具体用于生成的所述NVE信息表还包括:MAC地址和端口号; [0106] generating unit 402, the specific information table NVE for generating further comprises: MAC address of and a port number;

[0107] 处理单元404,进一步用于若确定该数据报文的目的IP地址在NVE信息表中对应的昵称为本节点的昵称,则根据该数据报文的目的IP地址在转发信息表中查找对应的操作指示和出端口号,根据所述操作指示替换指定的MC头,并从所述出端口号对应的出端口转发替换指定MC头的数据报文; [0107] The processing unit 404 is further configured to, if the destination IP address of the nickname data packet corresponding to the NVE nickname information table of the current node is determined, it is searched in the forwarding information table according to the destination IP address of the data packet and an operation instruction corresponding to the port number, according to the operation instruction designated MC head replacement, and corresponds to the port number from the port forwarding an alternative data designated MC header packet;

[0108] 发送单元405,进一步用于将处理单元404替换指定MAC头的数据报文从所述出端口号对应的出端口转发。 [0108] transmitting unit 405, the data processing unit is further configured to replace the specified MAC header 404 of the packet from the port number corresponding to the port forwarding.

[0109] 较佳地, [0109] Preferably,

[0110] 获取单元401,具体用于学习到本地NVE设备的NVE信息时,触发生成单元402生成NVE信息表,并将生成的本地NVE设备对应的NVE信息表项内容同步给其它节点; [0110] When obtaining unit 401, configured to learn the local NVE NVE apparatus information generating unit 402 generates trigger NVE information table, and stores the generated local content NVE NVE entries corresponding synchronization device to other nodes;

[0111] 接收单元403,用于接收远端边缘节点同步的NVE信息表项内容; [0111] The receiving unit 403 for receiving a distal edge node synchronization NVE content entries;

[0112] 生成单元402,具体用于当接收单元403接收到远端边缘节点同步的NVE信息表项内容时,将获得的NVE信息表项内容增加到本地的NVE信息表中。 [0112] generating unit 402, specifically, when the receiving unit 403 for receiving the distal edge node synchronization information table items NVE, NVE information table items is increased to obtain local information table NVE.

[0113] 较佳地, [0113] Preferably,

[0114]接收单元403,进一步用于接收本边缘节点下挂NVE设备发送的ARP请求报文; [0114] The receiving unit 403 is further linked to the receiving apparatus of the present NVE edge node transmits the ARP request packet;

[0115] 发送单元405,用于当接收单元403接收到下挂NVE设备发送的ARP请求报文时,将本边缘节点的MAC地址响应给所述NVE设备,使所述NVE设备使用该边缘节点的MAC地址作为目的MAC地址发送数据报文。 [0115] transmitting unit 405, when the receiving unit for the transmission device linked NVE ARP request packet, the MAC address of the edge node 403 receives a response to the NVE apparatus, the apparatus using the edge node NVE MAC address of the transmission data packet as the destination MAC address.

[0116] 较佳地, [0116] Preferably,

[0117] 接收单元403,进一步用于接收TRILL网络中的其它节点发送的报文; [0117] The receiving unit 403 is further configured to receive a message sent to other nodes in the TRILL network;

[0118] 处理单元404,进一步用于当接收单元403接收到TRILL网络中的其它节点发送的报文时,若确定该报文的TRILL头中的出昵称为本边缘节点的昵称,则剥离该报文的MAC头和TRILL头,并将该报文的目的IP地址在NVE信息中对应的MAC地址作为目的MAC地址,本边缘节点的MAC地址作为源MAC地址对剥离MAC头和TRILL头的报文进行MAC头封装; [0118] processing unit 404, the receiving unit is further configured to, when the received message 403 to other nodes in the TRILL network transmission, determining if the packet header TRILL nickname in the nickname oriented edge node, then peeled off MAC header packet, and a TRILL header, and the packet destination IP address corresponding to the MAC address information in NVE as the destination MAC address, the MAC address of this edge node as the source MAC address of the MAC header and the release TRILL header packet MAC header packet encapsulation performed;

[0119] 发送单元405,进一步用于通过该报文的目的IP地址在NVE信息表中对应的端口号所对应的端口转发处理单元404封装MAC头的报文。 [0119] transmitting unit 405, the port number is further used by the destination IP address of the packet corresponding to the NVE information table corresponding to the port forwarding encapsulated packet processing unit 404 of the MAC header.

[0120] 上述实施例的单元可以集成于一体,也可以分离部署;可以合并为一个单元,也可以进一步拆分成多个子单元。 Units [0120] above-described embodiments may be integrated in one embodiment, may be deployed separately; may be combined into one unit may be split into a plurality of sub-units.

[0121] 综上所述,本申请中使用TRILL网络作为承载overlay网络的underlay网络,并给出了作为undelay网络的TRILL网络中报文转发的过程,本申请在部署overlay网络时,使用TRILL网络作为under lay网络承载,简化部署过程。 [0121] In summary, the present application is used as an underlay network bearer TRILL network overlay network, and the process is given as undelay network TRILL network packet forwarding of the present application when deploying overlay network, using the TRILL network as the under lay the carrier network, simplifying the deployment process.

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

Claims (10)

1. 一种多链路透明互联TRILL网络中报文转发方法,应用于TRILL网络中的任一边缘节点上,其特征在于,该方法包括: 该边缘节点获得TRILL网络中各边缘节点下挂网络虚拟化边缘NVE设备的NVE信息,并生成NVE信息表,所述NVE信息表包括:边缘节点的昵称、因特网协议IP地址; 该边缘节点根据所述NVE信息表生成转发信息表;该转发信息表包括:目的因特网协议IP地址、操作指示和出端口号; 该边缘节点接收到下挂NVE设备发送的数据报文时,若确定该数据报文的目的IP地址在NVE信息表中对应的昵称不为本节点的昵称,则剥掉MC头,根据剥掉MAC头的数据报文的目的IP地址在转发信息表中查找对应的操作指示和出端口号,根据所述操作指示封装指定的TRILL头和MAC头,并从所述出端口号对应的出端口转发封装后的数据报文。 A multi-link Transparent Interconnection TRILL network packet forwarding method applied to either edge of the TRILL network node, wherein, the method comprising: obtaining the edge node linked to the TRILL network at the network edge nodes virtual device NVE NVE edge information, and generates information table NVE, the NVE information table includes: a nickname edge node, an Internet protocol IP address; the edge node generates the forwarding table based on the information table NVE; the forwarding information table comprising: object of an Internet protocol IP address, instructions and the port number; the edge node receives the linked NVE transmission apparatus a data packet, if it is determined that the data packet destination IP address corresponding to the NVE information table, the nickname is not nickname of the current node, then stripped MC header lookup operation instruction corresponding to the destination IP address of the data packets in the MAC header stripped forwarding information table and the port number specified by the package according to the operation instruction TRILL header and the MAC header, and a port number from the output port corresponding to the data and transfers the encapsulated packet.
2. 根据权利要求1所述的方法,其特征在于,所述NVE信息表还包括:MAC地址和端口号; 所述方法进一步包括: 若确定该数据报文的目的IP地址在NVE信息表中对应的昵称为本节点的昵称,则根据该数据报文的目的IP地址在转发信息表中查找对应的操作指示和出端口号,根据所述操作指示替换指定的MC头,并从所述出端口号对应的出端口转发替换指定MC头的数据报文。 2. The method according to claim 1, wherein said information table further comprising NVE: MAC address of and a port number; the method further comprising: if the destination IP address of the data packet in the information table to determine NVE corresponding to the present node nickname nickname, is searched according to the destination IP address of the data packet in a forwarding information table and an operation instruction corresponding to the port number, according to the operation instruction designated MC head replacement, and from the said output port corresponding to the port number specified Alternatively MC header forwarding data packets.
3. 根据权利要求1所述的方法,其特征在于,边缘节点获得TRILL网络中各边缘节点下挂NVE设备的NVE信息,并生成NVE信息表,包括: 该边缘节点学习到本地NVE设备的NVE信息时,生成NVE信息表;并将生成的本地NVE设备对应的NVE信息表项内容同步给其它节点; 该边缘节点接收到远端边缘节点同步的NVE信息表项内容时,将获得的NVE信息表项内容增加到本地的NVE信息表中。 3. The method according to claim 1, characterized in that the edge node obtains information linked NVE NVE apparatus under TRILL network edge nodes, and generates NVE information table, comprising: the edge node to learn the local NVE NVE device NVE information received by the edge node information table items NVE distal edge node synchronization will be obtained; the information, the information table generating NVE; and the generated local content NVE NVE entries corresponding synchronization device to other nodes entry items to the local NVE information table.
4. 根据权利要求1所述的方法,其特征在于,所述方法进一步包括: 该边缘节点接收到下挂NVE设备发送的ARP请求报文时,将本边缘节点的MAC地址响应给所述NVE设备,使所述NVE设备使用该边缘节点的MAC地址作为目的MAC地址发送数据报文。 4. The method according to claim 1, wherein said method further comprises: receiving the edge node to the next linked NVE device sends an ARP request packet, the MAC address of the edge node in response to the NVE apparatus, the apparatus NVE using the MAC address of the edge node as the destination MAC address of the transmission data packet.
5. 根据权利要求1-4任意一项所述的方法,其特征在于,所述方法进一步包括: 该边缘节点接收到TRILL网络中的其它节点发送的报文时,若确定该报文的TRILL头中的出昵称为本边缘节点的昵称,则剥离该报文的MAC头和TRILL头,并将该报文的目的IP地址在NVE信息表中对应的MAC地址作为目的MAC地址,本边缘节点的MAC地址作为源MAC地址对剥离MAC头和TRILL头的报文进行MAC头封装,并通过该报文的目的IP地址在NVE信息中对应的端口号所对应的端口转发。 5. The method according to any one of claims 1-4, characterized in that, said method further comprising: the edge node receives a packet to other nodes in the TRILL network transmission time, determining if the packet TRILL the head of the present nickname nickname edge node, then the packet MAC header stripped, and a TRILL header, and the destination MAC address of the packet destination IP address corresponding to the MAC address information table NVE, the edge node MAC address as the source MAC address of MAC header stripping TRILL header and MAC header packet encapsulation, and forwards through the port of the packet destination IP address corresponding to the port number in NVE information corresponds.
6. —种多链路透明互联TRILL网络中报文转发装置,应用于TRILL网络中的任一边缘节点上,其特征在于,该装置包括:获取单元、生成单元、接收单元、处理单元和发送单元; 所述获取单元,用于获得TRILL网络中各边缘节点下挂网络虚拟化边缘NVE设备的NVE 信息; 所述生成单元,用于根据所述获取单元获得的NVE信息生成NVE信息表,根据NVE信息表生成转发信息表;所述NVE信息表包括:边缘节点的昵称、因特网协议IP地址;所述转发信息表包括:目的因特网协议IP地址、操作指示和出端口号; 所述接收单元,用于接收本边缘节点下挂NVE设备发送的数据报文; 所述处理单元,用于当所述接收单元接收到所述数据报文时,若确定该数据报文的目的IP地址在NVE信息表中对应的昵称不为本节点的昵称,则剥掉MAC头,根据剥掉MAC头的报文的目的IP地址在转发信息表中查找对 6. - Transparent Interconnection species multilink TRILL network packet forwarding means, applied either edge of the TRILL network node, wherein, the apparatus comprising: an acquisition unit, generation unit, a receiving unit, a processing unit and a transmission unit; the obtaining unit, for obtaining information NVE TRILL network linked to virtual network device NVE edge at each edge node; said generating means, based on said information obtaining unit obtaining NVE NVE information table generating, in accordance with NVE information table generating forwarding information table; NVE said information table includes: a nickname edge node, an Internet protocol IP address; the forwarding information table comprises: an Internet protocol IP address object, and the port number of instructions; the receiving unit, NVE transmitting device for hanging an edge node receives the present data packet; said processing unit for, when the receiving unit receives the data packet, if it is determined that the data packet destination IP address in NVE the nickname table is not present in the corresponding nickname node, the MAC header stripped, looking up in the forwarding information table according to the destination address of the IP packet to the MAC header stripped 的操作指示和出端口号,根据所述操作指示封装指定的TRILL头和MAC头; 所述发送单元,用于将所述处理单元封装后的数据报文从所述出端口号对应的出端口转发。 Operation instruction and the port number, the TRILL header and the MAC header according to the operation instruction specified by the package; the transmitting unit for the data packet after the encapsulation processing unit corresponding to the port number from the output port forwarding.
7. 根据权利要求6所述的装置,其特征在于, 所述生成单元,具体用于生成的所述NVE信息表还包括:MC地址和端口号; 所述处理单元,进一步用于若确定该数据报文的目的IP地址在NVE信息表中对应的昵称为本节点的昵称,则根据该数据报文的目的IP地址在转发信息表中查找对应的操作指示和出端口号,根据所述操作指示替换指定的MC头,并从所述出端口号对应的出端口转发替换指定MC头的数据报文; 所述发送单元,进一步用于将所述处理单元替换指定MAC头的数据报文从所述出端口号对应的出端口转发。 7. The device according to claim 6, wherein said generating means, the specific information table NVE for generating further comprises: MC address and port number; the processing unit is further configured to determine if the destination IP address of the data packet corresponding to the nickname information table in the present NVE nickname node, the lookup operation instruction corresponding to the destination IP address of the data packet in a forwarding information table and the port number, according to the operation Alternatively MC indicating the specified head, and a port number from the output port corresponding to the specified forwarding Alternatively MC header data packet; transmitting said data packet unit, the processing unit is further configured to replace the specified MAC header from the port number of the corresponding egress port forwarding.
8. 根据权利要求6所述的装置,其特征在于所述获取单元,具体用于学习到本地NVE设备的NVE信息时,触发所述生成单元生成NVE 信息表,并将生成的本地NVE设备对应的NVE信息表项内容同步给其它节点; 所述接收单元,用于接收远端边缘节点同步的NVE信息表项内容; 所述生成单元,具体用于当所述接收单元接收到远端边缘节点同步的NVE信息表项内容时,将获得的NVE信息表项内容增加到本地的NVE信息表中。 8. The apparatus according to claim 6, wherein the obtaining unit is specifically configured to NVE learning device information of the local NVE, NVE trigger the generation unit generates information table, and the device corresponding to the generated local NVE the content synchronization NVE entries to other nodes; the receiving unit for receiving an item information table NVE distal edge node synchronization; the generating unit is specifically configured to, when the receiving unit receives the distal edge node NVE entries to synchronize the contents when the contents of NVE entries, will receive increased local NVE information table.
9. 根据权利要求6所述的装置,其特征在于, 所述接收单元,进一步用于接收本边缘节点下挂NVE设备发送的ARP请求报文; 所述发送单元,用于当所述接收单元接收到下挂NVE设备发送的ARP请求报文时,将本边缘节点的MAC地址响应给所述NVE设备,使所述NVE设备使用该边缘节点的MAC地址作为目的MAC地址发送数据报文。 9. The apparatus according to claim 6, wherein said receiving means further receives the present apparatus for hanging NVE edge node transmits the ARP request packet; the sending unit when the receiving unit for receiving the transmitted apparatus linked NVE ARP request packet, the MAC address of the edge node in response to the NVE apparatus, the apparatus as a destination MAC address NVE transmitting data packets to the MAC address of the edge node.
10. 根据权利要求6-9任意一项所述的装置,其特征在于, 所述接收单元,进一步用于接收TRILL网络中的其它节点发送的报文; 所述处理单元,进一步用于当所述接收单元接收到TRILL网络中的其它节点发送的报文时,若确定该报文的TRILL头中的出昵称为本边缘节点的昵称,则剥离该报文的MAC头和TRILL头,并将该报文的目的IP地址在NVE信息中对应的MAC地址作为目的MAC地址,本边缘节点的MAC地址作为源MAC地址对剥离MAC头和TRILL头的报文进行MAC头封装; 所述发送单元,进一步用于通过该报文的目的IP地址在NVE信息表中对应的端口号所对应的端口转发所述处理单元封装MC头的报文。 10. The apparatus according to any one of claims 6-9, characterized in that said receiving means is further for receiving packets to other nodes in the TRILL network transmitted; the processing unit is further configured to, when the when said receiving unit receives the packets of other nodes in the TRILL network transmission, determining if the packet header TRILL nickname in the nickname oriented edge node, then release the packet MAC header, and a TRILL header, and the destination IP address of the packet corresponding to the information in the MAC NVE address as the destination MAC address, the MAC address of this edge node as the source MAC address of the MAC header, and a TRILL header stripping the MAC header packet encapsulated; the sending unit, It is further configured to forward the packet processing unit package through the port MC header destination IP address of the packet corresponding to the NVE information table corresponding to the port number.
CN201410591545.4A 2014-10-29 2014-10-29 A multi-link transparent internetwork packet forwarding method and apparatus CN104320342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410591545.4A CN104320342B (en) 2014-10-29 2014-10-29 A multi-link transparent internetwork packet forwarding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410591545.4A CN104320342B (en) 2014-10-29 2014-10-29 A multi-link transparent internetwork packet forwarding method and apparatus

Publications (2)

Publication Number Publication Date
CN104320342A CN104320342A (en) 2015-01-28
CN104320342B true CN104320342B (en) 2017-10-27

Family

ID=52375516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410591545.4A CN104320342B (en) 2014-10-29 2014-10-29 A multi-link transparent internetwork packet forwarding method and apparatus

Country Status (1)

Country Link
CN (1) CN104320342B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10034201B2 (en) 2015-07-09 2018-07-24 Cisco Technology, Inc. Stateless load-balancing across multiple tunnels
US10050862B2 (en) 2015-02-09 2018-08-14 Cisco Technology, Inc. Distributed application framework that uses network and application awareness for placing data
US10067780B2 (en) 2015-10-06 2018-09-04 Cisco Technology, Inc. Performance-based public cloud selection for a hybrid cloud environment
US10353800B2 (en) 2017-10-18 2019-07-16 Cisco Technology, Inc. System and method for graph based monitoring and management of distributed systems
US10367914B2 (en) 2016-01-12 2019-07-30 Cisco Technology, Inc. Attaching service level agreements to application containers and enabling service assurance

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9736065B2 (en) 2011-06-24 2017-08-15 Cisco Technology, Inc. Level of hierarchy in MST for traffic localization and load balancing
US8908698B2 (en) 2012-01-13 2014-12-09 Cisco Technology, Inc. System and method for managing site-to-site VPNs of a cloud managed network
US9473365B2 (en) 2014-05-08 2016-10-18 Cisco Technology, Inc. Collaborative inter-service scheduling of logical resources in cloud platforms
US10122605B2 (en) 2014-07-09 2018-11-06 Cisco Technology, Inc Annotation of network activity through different phases of execution
US10037617B2 (en) 2015-02-27 2018-07-31 Cisco Technology, Inc. Enhanced user interface systems including dynamic context selection for cloud-based networks
US10205677B2 (en) 2015-11-24 2019-02-12 Cisco Technology, Inc. Cloud resource placement optimization and migration execution in federated clouds
US10084703B2 (en) 2015-12-04 2018-09-25 Cisco Technology, Inc. Infrastructure-exclusive service forwarding
US10129177B2 (en) 2016-05-23 2018-11-13 Cisco Technology, Inc. Inter-cloud broker for hybrid cloud networks
US10263898B2 (en) 2016-07-20 2019-04-16 Cisco Technology, Inc. System and method for implementing universal cloud classification (UCC) as a service (UCCaaS)
US10142346B2 (en) 2016-07-28 2018-11-27 Cisco Technology, Inc. Extension of a private cloud end-point group to a public cloud
US10326817B2 (en) 2016-12-20 2019-06-18 Cisco Technology, Inc. System and method for quality-aware recording in large scale collaborate clouds
US10334029B2 (en) 2017-01-10 2019-06-25 Cisco Technology, Inc. Forming neighborhood groups from disperse cloud providers
US10320683B2 (en) 2017-01-30 2019-06-11 Cisco Technology, Inc. Reliable load-balancer using segment routing and real-time application monitoring

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647324A (en) * 2011-02-21 2012-08-22 中兴通讯股份有限公司 TRILL (Transparent Interconnection over Lots of Links) network interconnection method and system
CN102868614A (en) * 2012-09-13 2013-01-09 杭州华三通信技术有限公司 Packet forwarding method in TRILL (transparent interconnection of lots of links) network and routing bridge
CN102971992A (en) * 2010-06-29 2013-03-13 华为技术有限公司 Layer two over multiple sites
CN103227843A (en) * 2012-08-31 2013-07-31 杭州华三通信技术有限公司 Physical link address management method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006585A1 (en) * 2012-06-29 2014-01-02 Futurewei Technologies, Inc. Providing Mobility in Overlay Networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102971992A (en) * 2010-06-29 2013-03-13 华为技术有限公司 Layer two over multiple sites
CN102647324A (en) * 2011-02-21 2012-08-22 中兴通讯股份有限公司 TRILL (Transparent Interconnection over Lots of Links) network interconnection method and system
CN103227843A (en) * 2012-08-31 2013-07-31 杭州华三通信技术有限公司 Physical link address management method and device
CN102868614A (en) * 2012-09-13 2013-01-09 杭州华三通信技术有限公司 Packet forwarding method in TRILL (transparent interconnection of lots of links) network and routing bridge

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10050862B2 (en) 2015-02-09 2018-08-14 Cisco Technology, Inc. Distributed application framework that uses network and application awareness for placing data
US10034201B2 (en) 2015-07-09 2018-07-24 Cisco Technology, Inc. Stateless load-balancing across multiple tunnels
US10067780B2 (en) 2015-10-06 2018-09-04 Cisco Technology, Inc. Performance-based public cloud selection for a hybrid cloud environment
US10367914B2 (en) 2016-01-12 2019-07-30 Cisco Technology, Inc. Attaching service level agreements to application containers and enabling service assurance
US10353800B2 (en) 2017-10-18 2019-07-16 Cisco Technology, Inc. System and method for graph based monitoring and management of distributed systems

Also Published As

Publication number Publication date
CN104320342A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
JP5617137B2 (en) Mechanism for the virtual layer 2 and scalable it
CN103259727B (en) OSPF packets forwarding method and apparatus
EP2637364B1 (en) Method, apparatus and system for address resolution
US9654300B2 (en) N-way virtual port channels using dynamic addressing and modified routing
US20140086253A1 (en) Overlay Virtual Gateway for Overlay Networks
US9749230B2 (en) Method of sending address correspondence in a second layer protocol of applying link state routing
CN104106240B (en) Overlay network forwarding and address resolution of the balance
WO2010151571A2 (en) Method and apparatus for implementing l2 vpns on an ip network
US9264361B2 (en) System and method for implementing multiple label distribution protocol (LDP) instances in a network node
CN105791463A (en) Method and device for achieving communication of virtual machine
JP2013158034A (en) Implementation of vpns over link state protocol controlled ethernet network
CN100563211C (en) Method and system for implementing virtual gateway and virtual subnet
CN105453523A (en) Handling of virtual machine mobility in large data center
US20130173788A1 (en) Network access apparatus
CN102223303A (en) Load equilibrium method based on transparent interconnection of lots of links (TRILL) and routing bridge (RB)
CN105264493A (en) Dynamic virtual machines migration over information centric networks
CN101945034B (en) Data switching system and method based on locator identify separation protocol (LISP)
CN103841028A (en) Method and device for forwarding messages
US8982707B2 (en) Interoperability of data plane based overlays and control plane based overlays in a network environment
CN101155130B (en) Method for learning MAC address and system and equipment for conveying VPLS client data
CN101521631B (en) Treatment method, equipment and system for VPLS network messages
CN101459698A (en) Intra-domain and inter-domain network interconnecting method and system thereof
CN103731288A (en) Message forwarding method and device
JP2013504959A (en) Implementation method and system of virtual private network
CN101227407B (en) Method and apparatus for sending message based on two layer tunnel protocol

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
CB02
GR01