GTAC-Sophia Publish time 2023-12-19 14:21:34

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.
data/attachment/forum/202312/19/141658hnd9ddd9ddi0cof3.pngb. 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:
data/attachment/forum/202312/19/141734ctndjjir3e3fzxfi.png2. 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.
data/attachment/forum/202312/19/141935fkjpwf0af5509nvo.png
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:
data/attachment/forum/202312/19/142008lzihrhk3vas9kzvq.png
Pages: [1]
View full version: How to add a Static Route and Policy-based Routing (PBR) in Gateway on Ruijie Cloud?