Multipath load balancing NAT gateway forwarding method and system based on P4

The invention discloses a P4-based multipath load balancing NAT gateway forwarding method and system, and the method comprises the steps that an SDN controller obtains a weight hash load balancing strategy flow table according to a bandwidth time delay product, and transmits the weight hash load bal...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: QIAN ZHENYANG, SIMA DUAN, LUO XIAOHUI, DING ZHAOXIONG, ZHENG ZHUANGXIN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a P4-based multipath load balancing NAT gateway forwarding method and system, and the method comprises the steps that an SDN controller obtains a weight hash load balancing strategy flow table according to a bandwidth time delay product, and transmits the weight hash load balancing strategy flow table to a P4 programmable switch; and the P4 programmable switch selects a forwarding link according to the weight hash load balancing strategy flow table and performs load balancing NAT gateway forwarding. The method can be achieved based on P4 language writing, the path quality is obtained in an active detection mode for weighting, routing communication is carried out through a weight hash strategy, the network reliability is improved, and meanwhile certain flexibility and expansibility are achieved. 本发明公开了一种基于P4的多路径负载均衡NAT网关转发方法和系统,所述方法包括:SDN控制器根据带宽时延积,得到权重哈希负载均衡策略流表,并将权重哈希负载均衡策略流表下发给P4可编程交换机;P4可编程交换机根据权重哈希负载均衡策略流表选择转发链路并进行负载均衡NAT网关转发。本发明可基于P4语言编写实现,通过主动探测的方式获取路径质量做加权,并通过权重哈希策略进行选路通信,提升网络可靠