MSR uses policy-based routing (PBR) to achieve load balancing (an internal network segment sends traffic out through two WAN ports in a flow-by-flow manner)

2025-11-18 14:47:00 Published
  • 0 Followed
  • 0Collected ,10Browsed

Network Topology

The MSR router is deployed at the internal network egress, with two PPPoE dial-up ports connected to different carriers

 

Problem Description

How to implement an internal network segment that uses policy-based routing (PBR) to distribute the load across two WAN interfaces

Process Analysis

Set multiple outbound interfaces to work in load sharing mode.

<Sysname> system-view

[Sysname] policy-based-route aa permit node 11

[Sysname-pbr-aa-11] apply output-interface gigabitethernet 1/0/1 gigabitethernet 1/0/2

[Sysname-pbr-aa-11] apply loadshare output-interface

Load sharing mode: Multiple next hops are used to guide packet forwarding. If fast forwarding is not matched, available next hops are selected in turn per packet according to the configuration order to guide packet forwarding; if fast forwarding is matched, available next hops are selected in turn per flow according to the configuration order to guide packet forwarding.

 

Fast forwarding table

display ip fast-forwarding cache

 

The following situations may occurWhen going to the link for the second time, the NAT address changed, causing the access to be blocked by the server

A case of website page go to fail issue when accessing through firewall - Zhiliao

You can try using the following command

[Sysname] ip load-sharing mode src-ip global

Solution

Set multiple outbound interfaces to work in load sharing mode.

<Sysname> system-view

[Sysname] policy-based-route aa permit node 11

[Sysname-pbr-aa-11] apply output-interface gigabitethernet 1/0/1 gigabitethernet 1/0/2

[Sysname-pbr-aa-11] apply loadshare output-interface

Please rate this case:   
0 Comments

No Comments

Add Comments: