Ruijie Community

Title: How to configure PBR on ruijie EG? [Print this page]

Author: Daisy    Time: 2022-7-2 15:16
Title: How to configure PBR on ruijie EG?
I want VLAN 1 go through WAN 1, VLAN 2 go through WAN 2, how can I do it?


You can use the policy route to do it, for example
     vlan 1 is 192.168.1.0   vlan 2 is 192.168.2.0.
     WAN 1 is 10.100.10.1,  gateway is 10.100.10.254
     WAN 2 is 10.100.11.1,gateway is 10.100.11.254


Step 1 click route policy-base route, click add ACL



Step 2, Add two ACL 10 and 11,set ACE to permit 192.168.1.0 and 192.168.2.0






Step 3 Configure Policy route


Finished


Author: tengsern.tan@uc    Time: 2023-7-20 12:48
this is for VLAN, what about specific IP address (one client/server) only?

Author: yujiamin@ruijie    Time: 2023-7-20 13:23
The Wi-Fi Hero replied at 2023-7-20 12:48
this is for VLAN, what about specific IP address (one client/server) only?

Dear sir

You can configure the ACL  to match the specific IP address here and apply the ACL on different PBR rules.



Best regards
Jenny


Author: tengsern.tan@uc    Time: 2023-7-21 09:44
GTAC-Jenny replied at 2023-7-20 13:23
Dear sir

You can configure the ACL  to match the specific IP address here and apply the ACL on di ...

do i have to enable default route for both WAN?

Author: yujiamin@ruijie    Time: 2023-7-21 09:51
The Wi-Fi Hero replied at 2023-7-21 09:44
do i have to enable default route for both WAN?

Dear sir

Yes, the default route will be added by default when you set the port to WAN port to make sure the user internet access. You can type this command: show ip route to check the EG routing.

Best regards
Jenny


Author: janzsaludaga199    Time: 2023-12-27 23:06
hello how about 3 ISP
i want this vlan10 go only ISP 1
but vlan 20 go only ISP 2 and ISP 3

Author: rickywong@multi    Time: 2024-1-31 18:04
Will the Extended ACL work with PBR also?

For example,

when the Destination port is UDP 443, the Route to wan1
when the Source port is UDP 53, the Route to wan2







Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2