Pesquisa Imagens Mapas Play Gmail Drive Calendário Tradutor Mais »
Entrar
Utilizadores de leitores de ecrã: clique neste link para ativar o modo acessível. O modo acessível inclui as mesmas funcionalidades, mas funciona melhor com o seu leitor.

Patentes

  1. Pesquisa Avançada de Patentes
Número de publicaçãoCN101610215 B
Tipo de publicaçãoConcessão
Número de candidaturaCN 200910089709
Data de publicação17 Ago 2011
Data de apresentação21 Jul 2009
Data de prioridade21 Jul 2009
Também publicada comoCN101610215A
Número de publicação200910089709.2, CN 101610215 B, CN 101610215B, CN 200910089709, CN-B-101610215, CN101610215 B, CN101610215B, CN200910089709, CN200910089709.2
Inventores刘如冰, 郑国良
Requerente杭州华三通信技术有限公司
Exportar citaçãoBiBTeX, EndNote, RefMan
Links Externos:  SIPO, Espacenet
Route forwarding method and gateway equipment
CN 101610215 B
Resumo
The invention discloses a route forwarding method, comprising the following steps: outer net route information is sent to an ascending interface board, inner net route information is simultaneously sent to the ascending interface board and a descending interface board, and a default route to the ascending interface board is configured on the descending interface board; for business flow by which the inner net accesses the inner net, the descending interface board is forwarded according to the self inner net route information; for business flow by which the outer net accesses the outer net, the descending interface board can not find corresponding next route information in self inner net route information, the business flow is forwarded to the ascending interface board according to the default route, and then is forwarded by the ascending interface board according to the outer net route information; for the business flow by which the outer net accesses the inner net, the ascending interface board forwards the business flow according to the inner net route information. The invention also discloses gateway equipment. The technical proposal of the invention can avoid waste of resources and reduce cost.
Reivindicações(10)  traduzido de Chinês
1. 一种路由转发方法,该方法适用于通过下行接口板连接内网以及通过上行接口板连接外网的网关设备,其特征在于,将外网路由信息下发到上行接口板上,而将内网路由信息同时下发到上行接口板和下行接口板上,并在下行接口板上配置到上行接口板的默认路由,该方法包括:对于内网访问内网的业务流,下行接口板根据自身的内网路由信息进行转发;对于内网访问外网的业务流,下行接口板在自身的内网路由信息中找不到相应的下一跳路由信息,则根据默认路由转发到上行接口板,再由上行接口板根据外网路由信息进行转发;对于外网访问内网的业务流,上行接口板根据内网路由信息进行转发。 A routing forwarding method is suitable for the network connection through the downstream interface board and outside the network gateway device connected via the uplink interface board, characterized in that the external network by the information sent to the uplink interface board, and the by the information within the network at the same time issued to the upstream and downstream interface board interface board, and in the downstream interface board to configure a default route to the upstream interface board, the method comprising: for internal network access network traffic, according to the downlink interface board own internal network by the information forwarded; intranet for access network service flows downstream interface board within its own network by the information in the appropriate next hop information can not be found, then forwarded through the default route to the upstream interface board then the uplink interface board forwards the information according to external network; traffic for extranet access network, the uplink interface board according to the information forwarded within the network.
2.如权利要求1所述的方法,其特征在于,当有两个以上的上行接口板时,下行接口板根据预设的负载分担策略将内网访问外网的不同业务流转发到不同的上行接口板。 2. The method according to claim 1, characterized in that when there are two or more uplink interface board, downlink interface board according to a preset load balancing policies within the network to access different services outside the network traffic to a different Uplink interface board.
3.如权利要求2所述的方法,其特征在于,所述下行接口板根据预设的负载分担策略将内网访问外网的不同业务流转发到不同的上行接口板包括:在下行接口板上配置具有多个下一跳的默认路由,其中,每一个上行接口板都对应于所述默认路由的一个以上的下一跳;对于内网访问外网的业务流,下行接口板在自身的内网路由信息中找不到相应的下一跳路由信息,则匹配到默认路由,根据预设策略从默认路由的多个下一跳中选择一个下一跳,将业务流转发到所选择的下一跳所对应的上行接口板。 3. The method of claim 2, wherein said downstream LPU preset load balancing policies based on the internal network to access external network traffic to various different business uplink interface boards include: the downstream LPU configuration with the default routing multiple next hop, where each uplink interface board correspond to one or more of the default route next hop; for intranet access external network traffic flow downstream interface board itself the appropriate next hop routing information within the network can not find the information, the matching default route to choose according to preset policies from the default route multiple next hops in a next hop, the business stream to selected next hop corresponding uplink interface board.
4.如权利要求1所述的方法,其特征在于,该方法在将外网路由信息下发到上行接口板上,而将内网路由信息同时下发到上行接口板和下行接口板上之前进一步包括:将特定接口指定为公网接口,将从公网接口学习到的路由确定为外网路由,将从公网接口以外的其他接口学习到的路由确定为内网路由;或者,指定特定路由协议,将根据该特定路由协议所得到的路由确定为外网路由,将根据该特定路由协议以外的其他路由协议所得到的路由确定为内网路由。 4. The method according to claim 1, characterized in that the method before the outside network by the information sent to the uplink interface board, and the internal routing information simultaneously issued to the upstream and downstream interface board interface board further comprising: a particular interface as the public network interface, from the public interface of the route is determined to learn from the outside network, the routes learned from an interface other than the public network interface is determined to be within the routing; or, specify a particular routing protocol will be determined according to the particular routing protocol routing for the outside of the resulting routes will be determined according to the internal network by the other routing protocols that particular routing protocol other than the resulting route.
5.如权利要求1至4中任一项所述的方法,其特征在于,所述上行接口板为高规格接口板;所述下行接口板为低规格接口板。 5. A method as claimed in any one of claims 1-4, characterized in that the uplink interface board for the high-profile interface board; the downlink interface board for the low standard interface board.
6. 一种网关设备,其特征在于,该网关设备包括:连接内网的下行接口板、连接外网的上行接口板和路由处理单元,其中,路由处理单元,用于将外网路由信息下发到上行接口板上,而将内网路由信息同时下发到上行接口板和下行接口板上,并在下行接口板上配置到上行接口板的默认路由;下行接口板,用于在接收到内网访问内网的业务流时,根据自身的内网路由信息进行转发;用于在接收到内网访问外网的业务流时,在自身的内网路由信息中找不到相应的下一跳路由信息,则根据默认路由转发到上行接口板;上行接口板,用于在接收到下行接口板发送的业务流时,根据外网路由信息进行转发; 用于在接收到外网访问内网的业务流时,根据内网路由信息进行转发。 A gateway device, characterized in that the gateway device comprising: a connection down the network interface board to connect the external network uplink interface board and routing processing unit, wherein the route processing unit for the outside network by the information Send to uplink interface board, and the internal routing information simultaneously issued to the upstream and downstream interface board interface board, and in the downstream interface board to configure a default route to the upstream interface board; downlink interface board for receiving the When the traffic flow within the network to access the network, according to its own internal network for forwarding the information; for, when receiving the traffic flow within the network to access the external network, in its own internal network by the information corresponding to the next can not find hop routing information is forwarded through the default route to the upstream interface board; uplink interface board for receiving the traffic sent downstream interface board, according to the information forwarded outside the network; means for receiving the external network access within the network When the traffic flow, according to the information forwarded within the network.
7.如权利要求6所述的网关设备,其特征在于,该网关设备包括两个以上的上行接口板,下行接口板,用于根据预设的负载分担策略将内网访问外网的不同业务流转发到不同的上行接口板。 7. The gateway device according to claim 6, wherein the gateway device comprises more than two uplink interface board, the downstream interface board, for according to a preset load balancing strategy will access different services within the network outside the network traffic to different upstream interface board.
8.如权利要求7所述的网关设备,其特征在于,路由处理单元,用于在下行接口板上配置具有多个下一跳的默认路由,其中,每一个上行接口板都对应于所述默认路由的一个以上的下一跳;下行接口板,用于在接收到内网访问外网的业务流时,在自身的内网路由信息中找不到相应的下一跳路由信息,则匹配到默认路由,根据预设策略从默认路由的多个下一跳中选择一个下一跳,将业务流转发到所选择的下一跳所对应的上行接口板。 8. The gateway device according to claim 7, characterized in that the routing processing unit for the downlink interface board configured with a default route multiple next hop, where each uplink interface board correspond to the more than one default route next hop; downlink interface board for receiving access to the network traffic outside the network, in its own internal network by the information in the appropriate next hop information can not be found, then match default route, according to a preset policy to select a next hop, business traffic to the next hop corresponding uplink interface board selected from a plurality of next hop in the default route.
9.如权利要求6所述的网关设备,其特征在于,在将外网路由信息下发到上行接口板上,而将内网路由信息同时下发到上行接口板和下行接口板上之前,所述路由处理单元,用于将特定接口指定为公网接口,将从公网接口学习到的路由确定为外网路由,将从公网接口以外的其他接口学习到的路由确定为内网路由;或者,所述路由处理单元,用于指定特定路由协议,将根据该特定路由协议所得到的路由确定为外网路由,将根据该特定路由协议以外的其他路由协议所得到的路由确定为内网路由。 9. The gateway device according to claim 6, wherein the external network before the information sent by the uplink interface board, and the internal routing information simultaneously issued to the upstream and downstream interface board interface board, The routing processing unit for the specific interface as the public network interface, from the public interface of the route is determined to learn from the outside network, the routes learned from an interface other than the public network interface is determined to be within the network by the ; alternatively, the routing processing unit for specifying a particular routing protocol, will determine the external network routing protocols based on the particular routes obtained by the determined in accordance with other routing protocols within the particular routing protocol other than the resulting routing routes.
10.如权利要求6至9中任一项所述的网关设备,其特征在于, 所述上行接口板为高规格接口板;所述下行接口板为低规格接口板。 6 to 10. The gateway device according to any one of claims 9, wherein the uplink interface board for the high standard of the interface board; the downlink interface board for the low standard interface board.
Descrição  traduzido de Chinês

一种路由转发方法和一种网关设备 , A routing forwarding method and a gateway device

技术领域 Technical Field

[0001] 本发明涉及网络通信技术领域,尤指一种路由转发方法和一种网关设备。 [0001] The present invention relates to the field of network communication technology, especially a routing forwarding method and a gateway device. 背景技术 Background

[0002] 在现有技术中,由于网关设备是私网用户访问外部网络以及外部网络访问私网的桥梁,因此网关设备上需要学习内网路由以及外网路由。 [0002] In the prior art, since the gateway device is a private network users to access external network access to the private network and the external network bridge, and therefore need to learn from the internal network and external network by a gateway device.

[0003] 图1是现有技术中的网关设备的一个典型组网示意图。 [0003] FIG. 1 is a schematic diagram of a typical prior art network gateway device. 如图1所示,交换机A作为企业网的网关,有多条路径接入到互联网anternet),从互联网学习到了大量路由,这些路由不会引入到内网去。 As shown in Figure 1, the switch A as a corporate network gateway, multiple paths to access the Internet anternet), from the Internet to learn a large number of routes, those routes are not introduced into the nets. 所有内网访问因特网的流量都通过交换机A进行转发。 All traffic within the network to access the Internet are forwarded through the switch A. 在现有技术中,交换机A上的所有接口板上都需要配置相同的内网路由信息和外网路由信息,即所有接口板上的路由表是相同的。 In the prior art, all interfaces A panel of the switch should be configured on the same internal network and external network by the information from the message that all interface board routing table are the same. 具体来说,交换机A上的与互联网连接的上行接口板以及与内部(与交换机B和交换机C连接)连接的各下行接口板都需要支持包括内网路由和外网路由的大规模路由,因此,交换机A上整机都使用高规格的接口板,例如,一般都配置所有的接口板为支持IM路由的高规格接口板。 Specifically, the uplink interface board and an Internet connection on the switch A and each downstream interface board and internal (connected to switch B and switch C) connections are required to support large-scale routing include internal routing and external routing, and therefore on switch A machine uses high-profile boards, for example, are generally configured to support all of the interface boards IM routing of high-profile interface board.

[0004] 但是在实际的企业网中,通常上行需要支持大规模的路由,而下行接入的路由较少。 [0004] However, in an actual enterprise network, usually upstream need to support large-scale routing, and downlink access routes less. 这样,按照现有的网关设备整机配置高规格接口板的方案,存在资源浪费,且整体使用成本过高的情况。 Thus, in accordance with the existing gateway device interface board high specification machine configuration program, the existence of a waste of resources, and the overall cost is too high.

发明内容 DISCLOSURE

[0005] 本发明提供了一种路由转发方法,该方法能够避免资源的浪费,降低成本。 [0005] The present invention provides a routing forwarding method, this method can avoid the waste of resources and reduce costs.

[0006] 本发明还提供了一种网关设备,该网关设备能够避免资源浪费,降低成本。 [0006] The present invention also provides a gateway device, the gateway device can avoid the waste of resources and reduce costs.

[0007] 为达到上述目的,本发明的技术方案具体是这样实现的: [0007] To achieve the above object, a specific aspect of the present invention is achieved by:

[0008] 本发明公开了一种路由转发方法,该方法适用于通过下行接口板连接内网以及通过上行接口板连接外网的网关设备,将外网路由信息下发到上行接口板上,而将内网路由信息同时下发到上行接口板和下行接口板上,并在下行接口板上配置到上行接口板的默认路由,该方法包括: [0008] The present invention discloses a routing forwarding method is suitable for the network connection through the downstream interface board and outside the network gateway device connected via the uplink interface board, the external network by the information sent to the uplink interface board, and The internal routing information simultaneously issued to the upstream and downstream interface board interface board, and in the downstream interface board to configure a default route to the upstream interface board, the method comprising:

[0009] 对于内网访问内网的业务流,下行接口板根据自身的内网路由信息进行转发; [0009] For intranet access within the network traffic, the downlink interface board according to their internal network are forwarded by the information;

[0010] 对于内网访问外网的业务流,下行接口板在自身的内网路由信息中找不到相应的下一跳路由信息,则根据默认路由转发到上行接口板,再由上行接口板根据外网路由信息进行转发; [0010] For the network to access external network traffic, downstream LPU corresponding next hop routing information from the information found in their own internal network, the router forwards default route according to the uplink interface board, and then the uplink interface board According to the information forwarded outside the network;

[0011 ] 对于外网访问内网的业务流,上行接口板根据内网路由信息进行转发。 [0011] For traffic extranet access network, the uplink interface board according to the information forwarded within the network.

[0012] 本发明还公开了一种网关设备,该网关设备包括:连接内网的下行接口板、连接外网的上行接口板和路由处理单元,其中, [0012] The present invention also discloses a gateway device, the gateway device comprising: a connection down the network interface board to connect the external network uplink interface board and routing processing unit, wherein

[0013] 路由处理单元,用于将外网路由信息下发到上行接口板上,而将内网路由信息同时下发到上行接口板和下行接口板上,并在下行接口板上配置到上行接口板的默认路由; [0013] The routing processing unit for external network by the information sent to the uplink interface board, and the internal routing information simultaneously issued to the upstream and downstream interface board interface board, and in the downlink to uplink interface board configuration Interface default route board;

[0014] 下行接口板,用于在接收到内网访问内网的业务流时,板根据自身的内网路由信 [0014] downstream interface board for receiving the traffic flow within the network access network, the board according to its own internal network by the letter

4息进行转发;用于在接收到内网访问外网的业务流时,在自身的内网路由信息中找不到相应的下一跳路由信息,则根据默认路由转发到上行接口板; 4 forwarding information; means for receiving access to the network when outside the network traffic in its own network by the information within the appropriate next hop information can not be found, then forwarded through the default route to the upstream interface board;

[0015] 上行接口板,用于在接收到下行接口板发送的业务流时,根据外网路由信息进行转发;用于在接收到外网访问内网的业务流时,根据内网路由信息进行转发。 [0015] uplink interface board for receiving the traffic sent downstream interface board, according to the information forwarded outside the network; for, when receiving the traffic extranet access network, according to the information carried within the network Forward.

[0016] 由上述技术方案可见,本发明这种将外网路由信息下发到上行接口板上,而将内网路由信息同时下发到上行接口板和下行接口板上,并在下行接口板上配置到上行接口板的默认路由;对于内网访问内网的业务流,下行接口板根据自身的内网路由信息进行转发; 对于内网访问外网的业务流,下行接口板在自身的内网路由信息中找不到相应的下一跳路由信息,则根据默认路由转发到上行接口板,再由上行接口板根据外网路由信息进行转发; 对于外网访问内网的业务流,上行接口板根据内网路由信息进行转发的技术方案,由于下行接口板只需要支持少量的内网路由即可,因此可以采用比上行接口板规格低的接口板, 这与现有技术中的所有接口板采用相同的高规格的接口板相比,避免了资源的浪费,并降低了成本。 [0016] seen from the above technical solutions, the present invention is that the external network by the information sent to the uplink interface board, and the internal routing information simultaneously issued to the upstream and downstream interface board interface board, and in the downstream LPU Configure the default route on the uplink interface boards; for traffic flow within the network to access network downlink interface board based on their own internal network for forwarding the information; for intranet access network service flows downstream LPU in itself the appropriate next hop information network can not find the information, then forwarded through the default route to the upstream interface board, and then the uplink interface board forwards the information based on external network; traffic for extranet access network, the uplink interface board according to internal network are forwarded by the information technology program, since the downlink interface board requires only a small amount of support from the internal network can be, so you can use less than the uplink interface board interface board specifications, which the prior art all interface cards Compared with the same interface board high specification, avoiding the waste of resources, and reduce costs.

附图说明 Brief Description

[0017] 图1是现有技术中的网关设备的一个典型组网示意图; [0017] FIG. 1 is a schematic diagram of a typical prior art network gateway device;

[0018] 图2是本发明实施例一种路由转发方法的流程图; [0018] FIG. 2 is a flow diagram of a routing forwarding method example embodiment of the present invention;

[0019] 图3是本发明实施例一种网关设备的组成结构框图。 [0019] FIG. 3 is a block diagram of a gateway device composed of an embodiment of the present invention.

具体实施方式 DETAILED DESCRIPTION

[0020] 图2是本发明实施例一种路由转发方法的流程图。 [0020] FIG. 2 is a flow diagram of a routing forwarding method example embodiment of the present invention. 该方法适用于通过下行接口板连接内网以及通过上行接口板连接外网的网关设备,如图2所示该方法包括: This method is suitable for connection through the downstream interface board network and the external network gateway device connected via the uplink interface board, as shown in Figure 2 the method comprising:

[0021] 201,将外网路由信息下发到上行接口板上,而将内网路由信息同时下发到上行接口板和下行接口板上,并在下行接口板上配置到上行接口板的默认路由。 [0021] 201, the external network by the information sent to the uplink interface board, and the internal routing information simultaneously issued to the upstream and downstream interface board interface board and an interface board in the downlink to uplink interface board configured default route.

[0022] 本步骤中,可以通过指定特定的接口为公网接口,则从此接口学习到的路由即为外网路由(或称为hternet路由),而从公网接口以外的其他接口学习到的路由即为内网路由。 [0022] This step can be specific interface for the public network interface, this interface learned by the specified routing is external routers (or hternet routes), and from outside the public interface of other interfaces to learn the route is within the router. 用户可以根据网络规划,自行通过配置命令或者其他方式指定公网接口,以保证该公网接口所学习到的路由是外网路由。 Users can network planning, self-designated public network interface configuration commands or by other means, to ensure that the public network interface the route is learned outside routes. 此外,还可以指定特殊的路由协议来标识不同路由的处理,例如根据指定的边界网关协议(BGP,Border Gateway Protocol)所得到的路由为外网路由,而根据其他协议所得到的路由为内网路由等,当然用户根据网络规划,通过配置命令或其他方式来指定特殊的路由协议,以保证该特殊的路由协议所得到的路由是外网路由。 In addition, you can also specify a particular routing protocol to identify the different routes of processing, such as Border Gateway Protocol specified (BGP, Border Gateway Protocol) route is obtained from the outside network, and according to the agreement obtained by other routes within the network route, of course, the user according to the network planning, configuration commands or by other means to specify a particular routing protocol to ensure that the special routing protocol routing is obtained by the external network. 外网路由只下发到上行接口板上,而内网路由则需要下发到上行接口板和下行接口板。 Only issued by the external network uplink interface board, and internal routes you need delivered to the upstream and downstream interface board interface board.

[0023] 202,对于内网访问内网的业务流,下行接口板根据自身的内网路由信息进行转发。 [0023] 202, the traffic flow within the network to access network downlink interface board based on their own internal network to forward the information.

[0024] 本步骤中,在内网中用户相互访问时,只需要在下行接口板转发即可。 [0024] In this step, when the internal network users to access each other, only it needs to be forwarded to the downlink interface board.

[0025] 203,对于内网访问外网的业务流,下行接口板在自身的内网路由信息中找不到相应的下一跳路由信息,则根据默认路由转发到上行接口板,再由上行接口板根据外网路由信息进行转发。 [0025] 203, for the network to access external network traffic, downstream LPU corresponding next hop routing information from the information found in their own internal network, the router forwards default route according to the uplink interface board, and then the uplink According to the external network interface board forwarded the information.

[0026] 204,对于外网访问内网的业务流,上行接口板根据内网路由信息进行转发。 [0026] 204, the traffic in the external network to access the network, uplink interface board according to the information forwarded within the network. [0027] 在图2所示的方案中,由于下行接口板只需要支持少量的内网路由即可,因此可以采用比上行接口板规格低的接口板,这与现有技术中的所有接口板采用相同的高规格的接口板相比,避免了资源的浪费,并降低了成本。 [0027] In the scheme shown in Figure 2, since the downlink interface board requires only a small amount of support from the internal network can be, so you can use less than the uplink interface board interface board specifications, which the prior art all interface cards Compared with the same interface board high specification, avoiding the waste of resources, and reduce costs.

[0028] 下面以图1所示组网为例,对图2所示方法进行进一步的说明。 [0028] The following network shown in Figure 1 as an example, the method shown in Figure 2 for further instructions.

[0029] 在图1中,作为网关设备的交换机A包括:一个与互联网连接上行接口板和两个分别与交换机B和交换机C连接的下行接口板,其中上行接口板采用性能参数高于某个第一预设值的高规格接口板,而两个下行接口板均采用性能参数低于某个第二预设值的低规格接口板,这里第一预设值和第二预设值可以相同,也可以不相同。 [0029] In Figure 1, a switch A gateway device comprising: an interface board connected to the downstream and upstream interface board with two separate switch B and switch C is connected to the Internet, where the uplink interface board uses performance parameters above a certain first preset value high specification interface board, and two downstream plate to use performance parameters below a certain second preset value lower specification interface board, where the first and second preset value preset value may be the same or may not be the same. 交换机A将学习到的互联网路由信息(即外网路由信息)下发到上行接口板,将学习到的内网路由信息下发到包括上行接口板和下行接口板的所有的三个接口板上,并在两个下行接口板上分别配置到上行接口板的默认路由。 A switch will learn Internet routing information (ie external routing information) sent down to the uplink interface board, you will learn within the network by the information sent to the interface board including upstream and downstream LPU of all three interface board and two downstream interface board are configured default route to the upstream interface board. 在IPv6或IPv4组网下默认路由的配置方式可以如表1所示: Default route in the IPv6 or IPv4 network configuration may be as shown in Table 1:

[0030] [0030]

Figure CN101610215BD00061

[0031] 表1 [0031] Table 1

[0032] 则图1中的交换机A对各种业务流的路由转发如下: Routing [0032] FIG. 1 is a switch A variety of traffic forwarding as follows:

[0033] (1)内网访问内网的业务流 [0033] (1) within the network to access network traffic

[0034] 由于每个下行接口板上都配置了内网的路由信息,因此当下行接口板接收到内网访问内网的业务流时,可以根据自身的内网路由信息转发该业务流即可。 When the [0034] Since each downstream interface board is configured with network routing information, therefore the current line interface board receives traffic flow within the network to access the network, the traffic can be based on their own internal network by the information forwarded .

[0035] (2)内网访问互联网的业务流 Traffic [0035] (2) within the network to access the Internet

[0036] 当下行接口板接收到内网访问互联网的业务流时,由于下行接口板上没有配置互联网路由信息,因此只能匹配到默认路由上,将该业务流转发到上行接口板,再由上行接口板根据自身上的路由信息进行三层转发,将业务流转发到正确的互联网下一跳上去。 When the [0036] current line interface board receives the network to access the Internet traffic, due to the downstream interface board is not configured Internet routing information, so the only match to the default route, the business traffic to uplink interface board, then by uplink interface board based on the routing information on the Layer 3 forwarding, traffic traffic to hop up the correct Internet.

[0037] (3)互联网访问内网的业务流 Traffic [0037] (3) Internet access network

[0038] 当上行接口板接收到来自互联网的访问内网的业务流时,根据自身保存的外网路由信息和内网路由信息表项进行转发即可。 [0038] When the uplink interface board receives traffic flow within the access network from the Internet, according to its own network by the information stored in the external and internal network are forwarded to the entries.

[0039] 由上述实施例可以看出,本发明的技术方案提供了一种路由接口板混插的解决方案,使得高规格的接口板和低规格的接口板共存同一设备中,并以高规格接口板的路由规格工作。 [0039] As can be seen from the above embodiments, the technical aspect of the present invention provides a routing interface board intermixing of solutions that enable high-standard interface board and an interface board low specification coexist in the same device, and to a high standard LPU route to specification.

[0040] 在上述实施例中,内网到互联网的业务流报文均经过接互联网的上行接口板集中转发,因此导致上行接口板的转发负荷较大。 [0040] In the above embodiment, the internal network to the Internet traffic packets have been connected to the Internet uplink interface board centralized forwarding, thus resulting in a large load forwarding uplink interface board. 在本发明实施例中,根据用户的使用情况,增加适当数量的其他上行接口板共同承担流量的转发,并使用预设的负载分担策略,如等价路由方式等,让内网到互联网的业务流报文,分担到不同的上行接口板上,以下具体说明: In the present embodiment of the invention, according to the user's usage, adding the appropriate number of other shared uplink interface board forwards traffic, and use the default load balancing strategies, such as the equivalent routing, so that the internal network to the Internet business flow packets to different shared uplink interface board, the following specific instructions:

[0041] 例如,当增加一个上行接口板,即存在两个上行接口板时:两个上行接口板上都需要配置外网路由和内网路由,且每一个下行接口板上配置的默认路由都对应于所述两个上行接口板;当下行接口板接收到内网到外网的业务流时,可以根据等价路由方式,在两个上行接口板之间实现负载分担。 [0041] For example, when adding an uplink interface board, that there are two uplink interface boards: two uplink interface board should be configured by the external network and internal network routes, and each downstream interface board configured default routes corresponding to the two uplink interface boards; the current line interface board receives traffic when the network outside the network, according to the equivalent routing between two uplink interface board to achieve load balancing. 例如,上一个匹配到默认路由的业务流转发到上行接口板1, 则下一个匹配到默认路由的业务流就转发到上行接口板2,如此交替进行。 For example, a match to the default route traffic stream to upstream interface board 1, the next match in the default route traffic is forwarded to uplink interface board 2, and so on alternately.

[0042] 此外,还可以根据用户的需求调整每个上行接口板的负荷分担比例。 [0042] In addition, users can also share ratio needs to adjust each load based on the uplink interface board. 具体为:在下行接口板上配置具有多个下一跳的默认路由,其中,每一个上行接口板都对应于所述默认路由的一个以上的下一跳;对于内网访问外网的业务流,下行接口板在自身的内网路由信息中找不到相应的下一跳路由信息,则匹配到默认路由,根据预设策略从默认路由的多个下一跳中选择一个下一跳,将业务流转发到所选择的下一跳所对应的上行接口板。 In particular: In the downstream interface board configured with a default route multiple next hop, where each uplink interface board correspond to one or more of the default next-hop routing; for network access outside the network traffic downlink interface board by the information in the appropriate next hop information found in their own internal network, then match the default route, according to a preset strategy Choose from multiple default next hop in a next hop will Business traffic to the next hop corresponding to the selected uplink interface board.

[0043] 仍以两个上行接口板为例,两个上行接口板上都需要配置外网路由和内网路由, 且每一个下行接口板上配置的默认路由都对应于所述两个上行接口板。 [0043] are still two upstream interface board, for example, two uplink interface board should be configured by the external network and internal network routes and default route each downstream interface board configuration corresponds to the two uplink interfaces board. 本例中需要上行接口板1分担1/4的流量,上行接口板2分担3/4的流量,则可以通过在下行接口板上下发具有4个下一跳的默认路由实现,4个下一跳中的一个为上行接口板1,其他3个均为上行接口2,如表2所示: This case requires balancing uplink interface board 1 1/4 traffic, uplink interface board 2 3/4 share of traffic, you can send in the downstream interface board has four default next hop routing implementation, 4 next a jump in the uplink interface board 1, the other three are the uplink interface 2, as shown in Table 2 below:

[0044] [0044]

Figure CN101610215BD00071

[0045]表 2 [0045] Table 2

[0046] 则基于表2所示的默认路由配置,当下行接口板接收到内网到外网的业务流时, 匹配到默认路由,且该默认路由具有4个下一跳,则根据预设的均衡策略,如等价路由方式等,从4个下一跳中选择一个下一跳进行转发。 [0046] Table 2 are based on the default routing configuration, the current line interface board receives network traffic when outside the network, routing to match the default, and the default route with four next hop, then by default balanced strategies, such as routing and other equivalents, four next hop is selected from a next hop forwarding.

[0047] 基于上述实施例给出一种如图3所示的网关设备的组网结构。 [0047] gives a network gateway device structure shown in Figure 3 based on the above embodiments. 该网关设备可以汇聚层或核心层的网关设备,也可以是接入层的网关设备。 The gateway device may convergence layer or core layer of the gateway device, the gateway device may also be the access layer.

[0048] 图3是本发明实施例一种网关设备的组成结构框图。 [0048] FIG. 3 is a block diagram of a gateway device composed of an embodiment of the present invention. 如图3所示,该网关设备包括:连接内网的下行接口板301、连接外网的上行接口板302和路由处理单元303,其中: Shown in Figure 3, the gateway device comprising: a connection down the network interface board 301, external network connections uplink interface board 302 and routing processing unit 303, in which:

[0049] 路由处理单元303,用于将外网路由信息下发到上行接口板302上,而将内网路由信息同时下发到上行接口板302和下行接口板上301,并在下行接口板301上配置到上行接口板302的默认路由; [0049] routing processing unit 303 for the external network by the information sent to the upstream interface board 302, and the internal routing information simultaneously issued to the uplink and downlink 302 interface board interface board 301, and the downstream LPU Configure the default route upstream interface board 302, 301;

[0050] 下行接口板301,用于在接收到内网访问内网的业务流时,根据自身的内网路由信息进行转发;用于在接收到内网访问外网的业务流时,在自身的内网路由信息中找不到相应的下一跳路由信息,则根据默认路由转发到上行接口板302 ; [0050] downstream interface board 301 for receiving the traffic flow within the network to access the network, according to its own internal network for forwarding the information; for, when receiving the traffic flow within the network to access the external network, in itself the appropriate next hop routing information within the network can not find the information, then forwarded to the upstream interface board 302 according to the default route;

[0051] 上行接口板302,用于在接收到下行接口板发送的业务流时,根据自身的外网路由信息进行转发;用于在接收到外网访问内网的业务流时,根据自身的内网路由信息进行转发。 [0051] uplink interface board 302 for receiving the downlink interface board sends traffic flow, according to their own foreign network for forwarding the information; for, when traffic received extranet access network, according to their own within the network by the information forwarded.

[0052] 如图3所示,该网关设备包括多个下行接口板301和两个以上的上行接口板302, 其中,[0053] 每一个下行接口板301,用于根据预设的负载分担策略将内网访问外网的不同业务流转发到不同的上行接口板302。 [0052] Figure 3, the gateway device comprises a plurality of downlink interface board 301 and two or more uplink interface board 302, wherein [0053] each downstream interface board 301 for sharing strategy based on preset load The different services within the network to access external network traffic to a different uplink interface board 302.

[0054] 在图3中,路由处理单元303,用于在每个下行接口板301上配置具有多个下一跳的默认路由,其中,每一个上行接口板302都对应于所述默认路由的一个以上的下一跳; [0054] In Figure 3, the routing processing unit 303 is configured on each downstream interface board 301 has a default route multiple next hop, where each uplink interface board 302 corresponds to the default route in the more than one next hop;

[0055] 下行接口板301,用于在接收到内网访问外网的业务流时,在自身的内网路由信息中找不到相应的下一跳路由信息,则匹配到默认路由,根据预设策略从默认路由的多个下一跳中选择一个下一跳,将业务流转发到所选择的下一跳所对应的上行接口板302。 [0055] The downlink interface board 301 for receiving access to the network traffic outside the network, in its own internal network by the information in the appropriate next hop information can not be found, then the default route to the match, according to the pre Choose a next hop set strategy, business traffic to the next hop corresponding to the selected uplink interface board 302 from the default routing multiple next hops.

[0056] 在图3中,所述路由处理单元303,用于将特定接口指定为公网接口,将从公网接口学习到的路由确定为外网路由,将从公网接口以外的其他接口学习到的路由确定为内网路由;或者,所述路由处理单元303,用于指定特定路由协议,将根据该特定路由协议所得到的路由确定为外网路由,将根据该特定路由协议以外的其他路由协议所得到的路由确定为内网路由。 [0056] In Figure 3, the routing processing unit 303, for a particular interface as the public network interface, from the public interface of the route is determined to learn from the external network interface from the public network interface other than the Learning to routes determined to be within the routing; or, the routing processing unit 303, is used to specify a particular routing protocol to determine the external network routing protocols based on the particular routes obtained by the outside according to the particular routing protocol Other routing protocols was determined to be within the network by the route.

[0057] 在图3中,所述上行接口板302为性能参数高于预设值的高规格接口板;所述下行接口板301为性能参数低于预设值的低规格接口板。 [0057] In Figure 3, the uplink interface board 302 is a performance parameter is above a preset value high specification interface boards; the downlink interface board 301 is a performance parameter is below a preset value, low specification interface board.

[0058] 综上所述,本发明这种将外网路由信息下发到上行接口板上,而将内网路由信息同时下发到上行接口板和下行接口板上,并在下行接口板上配置到上行接口板的默认路由;对于内网访问内网的业务流,下行接口板根据自身的内网路由信息进行转发;对于内网访问外网的业务流,下行接口板在自身的内网路由信息中找不到相应的下一跳路由信息,则根据默认路由转发到上行接口板,再由上行接口板根据自身的外网路由信息进行转发;对于外网访问内网的业务流,上行接口板根据自身的内网路由信息进行转发的技术方案,由于下行接口板只需要支持少量的内网路由即可,因此可以采用比上行接口板规格低的接口板,这与现有技术中的所有接口板采用相同的高规格的接口板相比,避免了资源的浪费,并降低了成本。 [0058] In summary, the present invention is that the external network by the information sent to the uplink interface board, and the internal routing information simultaneously issued to the upstream and downstream interface board interface board, and in the downstream interface board Configure the default route upstream interface board; for traffic flow within the network to access network downlink interface board based on their own internal network for forwarding the information; for intranet access network service flows downstream interface board in the network itself routing information not found in the corresponding next hop routing information is forwarded through the default route to the upstream interface board, and then the uplink interface board forwards the information according to its own external network; traffic for extranet access network, uplink Interface board according to its own internal network for forwarding the information technology program, since the downlink interface board requires only a small amount of support from the internal network can be, so you can use less than the uplink interface board interface board specifications, which the prior art All interface boards using the same high standard compared to the interface board, to avoid the waste of resources, and reduce costs.

[0059] 为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举较佳实施例,对本发明进一步详细说明。 [0059] For the purpose, technical solutions and advantages of the present invention will be more clearly understood, the preferred embodiment of the present invention is described in further detail below with reference to the accompanying drawings simultaneously.

[0060] 以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围,凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 [0060] The above are only preferred embodiments of the invention only, not intended to limit the scope of the present invention, where any modifications within the spirit and principles of the present invention made, equivalent replacement and improvement, shall fall within the scope of the present invention.

Citações de Patentes
Patente Citada Data de apresentação Data de publicação Requerente Título
CN1881885A17 Jun 200520 Dez 2006华为技术有限公司Network switching equipment and network service protection method
CN101188560A18 Dez 200728 Mai 2008杭州华三通信技术有限公司Method and device for dynamically detecting forward capability
CN101267399A24 Abr 200817 Set 2008杭州华三通信技术有限公司Packet forward method, device and its uplink interface board
US200700102507 Jul 200511 Jan 2007Peter BoschMethod of hard handover in a wireless communication system
WO2009123112A130 Mar 20098 Out 2009Kyushu University, National University CorporationNetwork system, node, packet forwarding method, program, and recording medium
Classificações
Classificação InternacionalH04L12/701, H04L12/66
Eventos Legais
DataCódigoEventoDescrição
23 Dez 2009C06Publication
7 Abr 2010C10Entry into substantive examination
17 Ago 2011C14Grant of patent or utility model
10 Mai 2017CP03