报文转发方法和装置制造方法及图纸

技术编号:6067578 阅读:145 留言:0更新日期:2012-04-11 18:40
本发明专利技术提供了报文转发方法和装置。其中,该方法包括:根据报文中的用于识别所述报文所属流的参数进行哈希运算,得到初始哈希值;将所述初始哈希值进行两种不同的哈希运算,得到两个不同的哈希值;根据其中一个哈希值在到达所述报文的目的IP地址的等价路由中选择一个等价路由,根据另一个哈希值在被选的等价路由对应的聚合端口中选择一个端口;通过所选的所述端口转发所述报文。采用本发明专利技术,能够实现由等价路由的同一成员路由转发的不同报文,分担在该成员路由对应的聚合端口的不同端口上进行转发。

Message forwarding method and apparatus

The invention provides a message forwarding method and device. Among them, the method includes: according to the parameters used for identifying the message packets in the hash, the initial hash value; the initial hash value of two different hash operations, get two different hash values; according to one hash value to select a routing routing equivalence equivalence in the arrival of the message on the destination IP address, according to another hash value of a corresponding port in port selection polymerization was selected in the equivalent routing; forwarding the packet through the port selected. By adopting the invention, different messages that can be routed and routed by the same member of an equivalent route can be realized and shared to be transmitted on different ports of the aggregated port corresponding to the member routing.

【技术实现步骤摘要】

【技术保护点】
1.一种报文转发方法,其特征在于,该方法包括:根据报文中的用于识别所述报文所属流的参数进行哈希运算,得到初始哈希值;将所述初始哈希值进行两种不同的哈希运算,得到两个不同的哈希值;根据其中一个哈希值在到达所述报文的目的IP地址的等价路由中选择一个等价路由,根据另一个哈希值在被选的等价路由对应的聚合端口中选择一个端口;通过所选的所述端口转发所述报文。

【技术特征摘要】

【专利技术属性】
技术研发人员:程臻
申请(专利权)人:杭州华三通信技术有限公司
类型:发明
国别省市:86

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1