WO2010127528A1 - Ip网络设备及分布式ip网络设备的路由最佳匹配方法 - Google Patents

Ip网络设备及分布式ip网络设备的路由最佳匹配方法 Download PDF

Info

Publication number
WO2010127528A1
WO2010127528A1 PCT/CN2009/073893 CN2009073893W WO2010127528A1 WO 2010127528 A1 WO2010127528 A1 WO 2010127528A1 CN 2009073893 W CN2009073893 W CN 2009073893W WO 2010127528 A1 WO2010127528 A1 WO 2010127528A1
Authority
WO
WIPO (PCT)
Prior art keywords
route
board
network device
destination
routing data
Prior art date
Application number
PCT/CN2009/073893
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Publication of WO2010127528A1 publication Critical patent/WO2010127528A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks

Definitions

  • the present invention relates to communication or, in particular, to an IP (Internet Protocol, Internet Protocol) network device and a route of a distributed IP network device.
  • IP Internet Protocol, Internet Protocol
  • IP networks have gradually become an indispensable tool in people's daily work and life, and IP network devices are increasingly becoming the mainstream Internet core data exchange devices.
  • IP network devices are increasingly becoming the mainstream Internet core data exchange devices.
  • the devices are generally used in the office or on the lower-end aggregation layer.
  • One type is distributed.
  • the service and the master are not on the same board. That is, there are multiple service boards.
  • the types of service boards are not the same.
  • the devices are generally used on the high-end aggregation layer. .
  • the number of service routing boards used by the distributed IP network devices is not the same.
  • the size of the hardware routing forwarding table on each service board is also inconsistent.
  • the present invention is directed to providing an IP network device and a distributed IP network device, in view of the serious waste of hardware routing table resources in the related art and the inability to further differentiate the IP service.
  • the routing best matching method, the invention realizes the single order and has flexible configuration. Can solve at least one of the above problems.
  • a distributed IP network device is provided.
  • the distributed IP network device includes: a source board and a destination board, and the device further includes a configuration module, where The configuration module is used to configure the destination board for the source board.
  • the source board is used to forward IP routing data that does not match the route to the destination board.
  • the destination board is used to forward the source board. IP routing data for secondary route lookup.
  • the source board includes a default route generation module and a flag setting module, wherein the default route generation module is configured to generate a default route to the configured destination board; the flag setting module is configured to not have an IP route matching the route locally. Data is added. Secondary route lookup flag.
  • the destination board includes a matching module, configured to determine whether the received IP routing data with the secondary route lookup flag is sent by the corresponding source board.
  • a route best matching method for a distributed IP network device is also provided.
  • the route matching method for the distributed IP network device according to the present invention includes: configuring the destination board for the source board of the IP network device before routing the data, and when the data is routed, the source board will not match the route locally.
  • the IP routing data is forwarded to the destination board.
  • the destination board performs secondary routing on the IP routing data.
  • the hardware routing forwarding table of the source board is smaller than the hardware routing forwarding table of the destination board.
  • the source board adds the secondary route lookup flag to the IP routing data before forwarding the IP routing data to the destination board, and generates a default route.
  • the default route points to the destination board to be sent.
  • the source board will forward the IP routing data that does not match the route to one of the destination boards; or the load sharing mode will not match locally.
  • the IP routing data to the route is forwarded to each destination board.
  • the destination board first determines whether the secondary route lookup flag of the IP routing data matches the corresponding source board, and if so, performs the IP routing data twice. Route matching; otherwise, IP routing data is discarded.
  • FIG. 1 is a schematic diagram showing the structure of an IP network device according to an embodiment of the present invention.
  • FIG. 1 it is a schematic structural diagram of an IP network device of the present invention, which includes N service boards and configuration modules, and the number of the service boards is 1 to N, respectively, where the configuration module is configured to configure routing for the source boards.
  • the hardware routing table of the service board 1 is the smallest and the hardware routing table of the service board N is the largest, that is, the service board 1 is the source board and the service board N is the destination.
  • the board is configured to forward the service board N to the service board 1 before the data is routed.
  • the source board is used to forward the IP routing data that does not match the route to the destination board.
  • the source board includes the default route.
  • the generating module and the flag setting module the default route generating module is configured to generate a default route to the configured destination board; the flag setting module is configured to add a secondary route lookup flag for the IP routing data that does not match the route locally; (Service board 1) After receiving the IP routing data, the route matching will be performed locally. If it matches, the IP routing data will be forwarded according to the matched route. If there is no match, If the route is appropriate, the flag setting module adds a secondary route lookup flag to the IP route data that does not match the route to the local route.
  • the default route generation module generates a default route to the destination board (the service board N);
  • the IP routing data is forwarded to the destination board (the service board N).
  • the destination board is used to perform secondary route lookup on the IP routing data forwarded by the source board.
  • the destination board includes a matching module, which is used to determine the received Whether the IP routing data of the secondary route lookup flag is sent by the corresponding source board.
  • FIG. 2 it is a flowchart of the method of the present invention, which specifically includes the following steps (step S201 - step S210): Step S201: Configure a destination board for the source board;
  • the hardware routing table of the source board is smaller than the hardware routing table of the destination board.
  • a source board can use multiple destination boards.
  • Step S202 The source board receives the IP routing data, and performs route matching locally.
  • Step S203 If the route is locally matched, step 204 is performed; otherwise, step 205 is performed; Step S204: Forwarding the IP routing data according to the matched route , ending; step S205: adding force to the IP routing data. a secondary route lookup flag;
  • Step S206 Generate a default route to the destination board, and forward the data to the corresponding destination board; if there are multiple destination boards, you can forward the data to a destination board according to the configuration, or according to the configuration The configuration is forwarded to each destination board. In this case, the data is distributed to each destination board in load balancing mode.
  • Step S207 When the destination board receives the IP routing data with the secondary route lookup flag, it determines whether the secondary route lookup flag of the IP routing data matches the corresponding source board. If yes, step 208 is performed; otherwise, the step is performed. 210: Step S208: Perform secondary route matching on the IP routing data, if yes, perform steps
  • step S209 forwarding the IP routing data according to the matched route, and ending; step S210: discarding the IP routing data, and ending.
  • the present invention utilizes the characteristics of the default route, and generates a default route to the service board of the hardware routing and forwarding table on the small service board of the distributed IP network device, so that the service board resources are complementary; The technology is used to distinguish the IP routing data that is forwarded from other service boards on the destination board, and perform secondary routing search for the service data that needs to be best matched (that is, the data forwarded from the corresponding source board). More precise routing forwarding exits.
  • the above are only the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. It should be understood that those skilled in the art to which the present invention pertains may make equivalent changes or substitutions in accordance with the technical solutions of the present invention, and all such changes or substitutions should belong to the appended claims. The scope of protection required.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

IP网络设备及分布式 IP网络设备的路由最佳匹配方法 技术领域 本发明涉及通信领或,具体涉及一种 IP ( Internet Protocol,英特网十办议) 网络设备及分布式 IP网络设备的路由最佳匹配方法。
^景技术 随着因特网的高速发展, IP 网络逐渐成为人们日常工作和生活中必不 可少的工具, IP网络设备也越来越成为主流的因特网核心数据交换设备。 目前用于实现 IP 网络的设备主要有两种类型: 一种是集中式, 业务和 主控在同一块单板上, 这种设备一般都使用在办公场所或比较低端的汇聚层 上; 另一种是分布式, 业务和主控不在同一块单板上, 即具有多个业务单板, 各业务单板的类型也不完全相同 , 这种设备一般都使用在局用的高端汇聚层 以上。 由于分布式的 IP 网络设备使用的业务单板类型不完全相同 , 同时为了 节约成本, 各业务单板上的硬件路由转发表大小也不一致, 导致了当需要路 由的 IP 路由数据总数大于硬件路由转发表较小的业务单板的硬件路由转发 表时, 只能使用默认路由将 IP路由数据路由到更高层网络处理,造成了该 IP 浪费, 同时也无法做到对 IP业务的进一步区分。 发明内容 针对相关技术中硬件路由转发表资源的严重浪费 ,同时也无法做到对 IP 业务的进一步区分的问题, 为此, 本发明的主要目的在于提供一种 IP网络设 备及分布式 IP网络设备的路由最佳匹配方法 , 本发明实现筒单, 配置灵活。 可以解决上述问题至少之一。 根据本发明的一个方面 , 提供了一种分布式 IP网络设备。 根据本发明的分布式 IP 网络设备包括: 源单板和目的单板, 设备还包 括配置模块, 其中, 配置模块用于为源单板配置路由最佳的目的单板; 源单板用于将在本地没有匹配到路由的 IP路由数据转发给目的单板; 目的单板用于对源单板转发的 IP路由数据进行二次路由查找。 优选地, 源单板包括默认路由生成模块和标志设置模块, 其中, 默认路由生成模块用于生成指向配置的目的单板的默认路由; 标志设置模块用于为在本地没有匹配到路由的 IP路由数据添力。二次路 由查找标志。 优选地, 目的单板包括匹配模块, 用于判断接收到的具有二次路由查找 标志的 IP路由数据是否是相应的源单板发送的。 根据本发明的另一方面, 还提供了一种分布式 IP 网络设备的路由最佳 匹配方法。 根据本发明的分布式 IP 网络设备的路由最佳匹配方法包括: 在路由数 据前, 为 IP网络设备的源单板配置目的单板 , 路由数据时 , 源单板将在本地 没有匹配到路由的 IP路由数据转发给目的单板, 目的单板对 IP路由数据进 行二次路由匹西己。 优选地, 源单板的硬件路由转发表小于目的单板的硬件路由转发表。 优选地, 源单板将 IP路由数据转发给目的单板前还为 IP路由数据添力口 二次路由查找标志, 并生成默认路由, 默认路由指向要发往的目的单板。 优选地, 若源单板配置有至少两个目的单板, 则源单板将在本地没有匹 配到路由的 IP路由数据转发给其中的一个目的单板;或者按照负荷分担方式 将在本地没有匹配到路由的 IP路由数据转发给各个目的单板。 优选地 , 目的单板接收到具有二次路由查找标志的 IP路由数据后 , 首 先判断 IP路由数据的二次路由查找标志是否与相应的源单板匹配, 若是, 则 对 IP路由数据进行二次路由匹配; 否则, 丢弃 IP路由数据。 优选地, 若目的单板为 IP路由数据匹配到路由, 则将按照路由转发 IP 路由数据; 否则, 丢弃 IP路由数据。 本发明有效的解决了分布式 IP 网络设备由于要路由的数据总数大但业 务单板的硬件路由转发表 、造成的业务单板的硬件路由转发表资源不够用而 某些业务单板的硬件路由转发表资源又严重浪费, 无法灵活的进行路由区分 的缺陷, 适应工程现场灵活的路由匹配需求。 附图说明 图 1是才艮据本发明实施例的 IP网络设备结构示意图; 图 2是才艮据本发明方法实施例的流程图。 具体实施方式 以下结合附图和优选实施例 , 对本发明^故进一步详细描述。 如图 1所示, 是本发明 IP网络设备的结构示意图, 包括 N个业务单板 和配置模块, 业务单板的编号分别为 1到 N, 其中, 配置模块用于为源单板 配置路由最佳的目的单板, 本实施例中, 假设业务单板 1的硬件路由转发表 最小而业务单板 N的硬件路由转发表最大 , 即业务单板 1为源单板, 业务单 板 N为目的单板, 这样, 在数据路由前, 将业务单板 N配置给业务单板 1 ; 源单板用于将在本地没有匹配到路由的 IP路由数据转发给目的单板 ,源单板 包括默认路由生成模块和标志设置模块, 默认路由生成模块用于生成指向配 置的目的单板的默认路由; 标志设置模块用于为在本地没有匹配到路由的 IP 路由数据添加二次路由查找标志; 源单板(业务单板 1 )接收到 IP路由数据 后, 首先会在本地进行路由匹配, 若匹配到, 将按照匹配到的路由转发 IP路 由数据, 若没有匹配到合适的路由, 则标志设置模块为在本地没有匹配到路 由的 IP路由数据添加二次路由查找标志,默认路由生成模块生成指向目的单 板(业务单板 N )的默认路由; 将没有匹配到路由的 IP路由数据转发给目的 单板(业务单板 N ); 目的单板用于对源单板转发的 IP路由数据进行二次路 由查找 , 目的单板包括匹配模块 , 用于判断接收到的具有二次路由查找标志 的 IP路由数据是否是相应的源单板发送的。 如图 2所示, 是本发明方法的流程图, 具体包括如下步骤(步骤 S201- 步骤 S210 ): 步骤 S201: 为源单板配置目的单板; 源单板的硬件路由转发表小于目的单板的硬件路由转发表,一个源单板 可以用多个目的单板。 步骤 S202: 源单板接收到 IP路由数据 , 在本地进行路由匹配; 步骤 S203: 在本地匹配到路由, 则执行步骤 204; 否则, 执行步骤 205; 步骤 S204: 按照匹配到的路由转发 IP路由数据, 结束; 步骤 S205: 为 IP路由数据添力。二次路由查找标志; 步骤 S206: 生成指向目的单板的默认路由, 将数据转发给相应的目的 单板; 若目的单板有多个, 则可根据配置转发到某一个目的单板, 或者根据配 置转发到各个目的单板, 这种情况下, 可以采用负荷分担方式将数据流分担 到各目的单板处理。 步骤 S207: 目的单板接收到具有二次路由查找标志的 IP路由数据时 , 判断 IP路由数据的二次路由查找标志是否与相应的源单板匹配, 若是, 则执 行步骤 208; 否则, 执行步骤 210; 步骤 S208: 对 IP路由数据进行二次路由匹配, 若匹配到, 则执行步骤
209; 否则, 执行步骤 210; 步骤 S209: 按照匹配到的路由转发 IP路由数据, 结束; 步骤 S210: 丢弃 IP路由数据, 结束。 本发明利用默认路由的特性, 在分布式 IP 网络设备的硬件路由转发表 小的业务单板生成默认路由指向硬件路由转发表大的业务单板, 使得业务单 板资源互补; 利用二次路由查找技术, 在目的单板上对从其他业务单板转发 来的 IP路由数据进行区分, 对需要最佳匹配的业务数据 (即从相应的源单板 转发来的数据 ) 进行二次路由查找 , 找到更精确的路由转发出口。 以上仅为本发明的较佳实施例而已, 并非用于限制本发明的保护范围。 应当理解的是, 对本发明技术所在领域的普通技术人员来说, 可以根据本发 明的技术方案及其构思进行相应的等同改变或替换 ,而所有这些改变或替换 , 都应属于本发明所附权利要求的保护范围。

Claims

权 利 要 求 书
1. 一种分布式 IP网络设备, 包括源单板和目的单板, 其特征在于, 所述 设备还包括配置模块, 其中,
所述配置模块用于为源单板配置路由最佳的目的单板; 所述源单板用于将在本地没有匹配到路由的 IP路由数据转发给 目的单板;
所述目的单板用于对源单板转发的 IP路由数据进行二次路由查 找。
2. 如权利要求 1所述的分布式 IP网络设备, 其特征在于, 所述源单板包 括默认路由生成模块和标志设置模块, 其中,
所述默认路由生成模块用于生成指向配置的目的单板的默认路 由;
所述标志设置模块用于为在本地没有匹配到路由的 IP路由数据 添力 P二次路由查找标志、。
3. 如权利要求 1所述的分布式 IP网络设备, 其特征在于, 所述目的单板 包括匹配模块, 用于判断接收到的具有二次路由查找标志的 IP路由数 据是否是相应的源单板发送的。
4. 一种分布式 IP网络设备的路由最佳匹配方法, 其特征在于, 在路由数 据前, 为所述 IP网络设备的源单板配置目的单板, 路由数据时, 所述 源单板将在本地没有匹配到路由的 IP路由数据转发给目的单板 , 所述 目的单板对所述 IP路由数据进行二次路由匹配。
5. 如权利要求 4所述的分布式 IP网络设备的路由最佳匹配方法, 其特征 在于, 所述源单板的硬件路由转发表小于所述目的单板的硬件路由转 发表。
6. 如权利要求 4所述的分布式 IP网络设备的路由最佳匹配方法, 其特征 在于, 所述源单板将 IP路由数据转发给目的单板前还为所述 IP路由 数据添加二次路由查找标志, 并生成默认路由, 所述默认路由指向要 发往的目的单板。
7. 如权利要求 4或 5所述的分布式 IP网络设备的路由最佳匹配方法, 其 特征在于 , 若所述源单板配置有至少两个目的单板 , 则所述源单板将 在本地没有匹配到路由的 IP路由数据转发给其中的一个目的单板; 或 者按照负荷分担方式将在本地没有匹配到路由的 IP路由数据转发给各 目的单板。
8. 如权利要求 7所述的分布式 IP网络设备的路由最佳匹配方法, 其特征 在于 , 所述目的单板接收到具有二次路由查找标志的 IP路由数据后 , 首先判断所述 IP路由数据的二次路由查找标志是否与相应的源单板匹 配, 若是, 则对所述 IP路由数据进行二次路由匹配; 否则, 丢弃所述 IP路由数据。
9. 如权利要求 4所述的分布式 IP网络设备的路由最佳匹配方法, 其特征 在于 , 若所述目的单板为所述 IP路由数据匹配到路由 , 则将按照所述 路由转发所述 IP路由数据; 否则, 丢弃所述 IP路由数据。
10. 如权利要求 8所述的分布式 IP网络设备的路由最佳匹配方法, 其特征 在于 , 若所述目的单板为所述 IP路由数据匹配到路由 , 则将按照所述 路由转发所述 IP路由数据; 否则, 丢弃所述 IP路由数据。
PCT/CN2009/073893 2009-05-08 2009-09-11 Ip网络设备及分布式ip网络设备的路由最佳匹配方法 WO2010127528A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2009101072646A CN101552730A (zh) 2009-05-08 2009-05-08 Ip网络设备及分布式ip网络设备的路由最佳匹配方法
CN200910107264.6 2009-05-08

Publications (1)

Publication Number Publication Date
WO2010127528A1 true WO2010127528A1 (zh) 2010-11-11

Family

ID=41156732

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/073893 WO2010127528A1 (zh) 2009-05-08 2009-09-11 Ip网络设备及分布式ip网络设备的路由最佳匹配方法

Country Status (2)

Country Link
CN (1) CN101552730A (zh)
WO (1) WO2010127528A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227463B (zh) * 2014-06-13 2018-09-04 杭州迪普科技股份有限公司 一种分布式设备中业务板间的通信方法
CN106330553A (zh) * 2016-08-30 2017-01-11 杭州迪普科技有限公司 报文转发方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6606315B1 (en) * 1999-07-02 2003-08-12 Cisco Technology, Inc. Synchronizing service instructions among forwarding agents using a service manager
CN1812377A (zh) * 2006-02-28 2006-08-02 港湾网络有限公司 一种数据通信设备中两级路由表的管理方法
CN101035089A (zh) * 2007-04-24 2007-09-12 中兴通讯股份有限公司 一种提高分布式系统性能的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6606315B1 (en) * 1999-07-02 2003-08-12 Cisco Technology, Inc. Synchronizing service instructions among forwarding agents using a service manager
CN1812377A (zh) * 2006-02-28 2006-08-02 港湾网络有限公司 一种数据通信设备中两级路由表的管理方法
CN101035089A (zh) * 2007-04-24 2007-09-12 中兴通讯股份有限公司 一种提高分布式系统性能的方法及装置

Also Published As

Publication number Publication date
CN101552730A (zh) 2009-10-07

Similar Documents

Publication Publication Date Title
EP2920932B1 (en) Apparatus for a high performance and highly available multi-controllers in a single sdn/openflow network
CN100579072C (zh) 一种在ip设备之间进行通信的方法和系统
US8605622B2 (en) Route setup server, route setup method and route setup program
EP2641377B1 (en) Forwarding traffic flow in intelligent resilient framework system
US8107482B2 (en) Multipath discovery in switched ethernet networks
JP5488979B2 (ja) コンピュータシステム、コントローラ、スイッチ、及び通信方法
EP3697033B1 (en) Method and device for forwarding information
JP5429179B2 (ja) ネットワークノードおよびその負荷分散方法
JP2015515809A (ja) 仮想ファブリックリンク障害復旧のためのシステムおよび方法
WO2009062352A1 (fr) Procédé de routage de commutateurs par mise en file d'attente
WO2015123962A1 (zh) 开放流交换机优雅重启处理方法、装置及开放流控制器
WO2014075216A1 (zh) 一种虚拟集群建立的方法及网络设备
WO2010135987A1 (zh) 链路聚合方法及装置
WO2005112370A1 (ja) アクセスネットワークシステム及び加入者データ経路制御方法
US20070189158A1 (en) Method and a system for transmitting control data traffic between a base station of a 3G mobile communication network and a network management station
WO2010127528A1 (zh) Ip网络设备及分布式ip网络设备的路由最佳匹配方法
WO2015151442A1 (ja) 通信システム、通信方法および制御装置
JP7298606B2 (ja) 通信システム及び通信方法
WO2011047581A1 (zh) 一种环网保护信息的发现方法及系统
WO2012062106A1 (zh) 线性保护组隧道复用方法和隧道尾节点
JP2020537439A (ja) 直接相互接続ゲートウェイ
US8547829B1 (en) Dynamically enhanced network performance for distributed wireless local area network (WLAN) architecture
JP2005295557A (ja) ルーティング・アーキテクチャ
WO2011124183A2 (zh) 路由器集群转发信息库的获得方法及路由器
JP5374290B2 (ja) ネットワーク中継装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09844280

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09844280

Country of ref document: EP

Kind code of ref document: A1