Title: How to add a Static Route and Policy-based Routing (PBR) in Gateway on Ruijie Cloud? [Print this page] Author: GTAC-Sophia Time: 2023-12-19 14:21 Title: How to add a Static Route and Policy-based Routing (PBR) in Gateway on Ruijie Cloud? 1. Adding a Static Route
Static routes are manually configured. When a data packet matches a static route, the packet will be forwarded based on the specified forwarding mode. Caution: Static routes cannot automatically adapt to changes in the network topology. When the network topology changes, you need to reconfigure the static routes.
a. Choose Device > Getaway > Routing to go to the route configuration page.
b. Click+Static Routing to add a static route. Click Save.
The following is an example of a static route that forwards data traffic to 192.168.120.0/24 through the Gi0/1 interface to the next hop device 192.168.110.2: 2. Adding PBR
Policy-based routing (PBR) is a mechanism for routing and forwarding based on user-specified policies. When a router forwards data packets, it filters the packets based on configured rules, and then forwards the matched packets according to the specified forwarding policy. PBR enables the device to define rules according to specific fields (source or destination IP address and protocol type) in the data packets and forward the data packets from a specific interface.
a. Choose Device > Getaway > Routing to go to the route configuration page.
b.
Click+ Add PBR rules to add a PBR rule.Set parameters and then click Save.
The following is an example of PBR that directs VLAN 1 (192.168.110.0/24) data packets to only go through the WAN0 interface:
Welcome to Ruijie Community (https://community.ruijienetworks.com/)