Skip to main content
All CollectionsRuijie Networks / ReyeeRouter Ruijie (Enterprise)
Ruijie - Router RG-EG3230 - Routing an IP to a WAN
Ruijie - Router RG-EG3230 - Routing an IP to a WAN

Route an IP or a segment to a specific WAN

E
Written by Engineering
Updated over a year ago

Exclusive configuration for the RG-EG3230 model

Introduction

PBR (Policy-Based Routing) is a technique that forwards and routes data packets based on policies or filters. Network administrators can selectively apply policies based on specific parameters, such as source or destination IP address, source or destination port, traffic type or protocols, access lists, packet size, or other criteria, and route packets on user-defined paths.

Example:

It is used to send traffic from a specific IP through a particular WAN when there are 2 or more service providers in place, functioning as load balancing.

Setup

1.- Access the device

  • IP: 192.168.1.1 on the administration port (MGMT), can be accessed by any other IP configured on its ports.

  • Username: admin

  • Password: Configured the first time it is accessed.

Once inside the device, navigate to the following path to proceed with the configuration:

Network -> Route/Load -> Policy-Based Route

2.- Select the option [Add ACL].


Select the option +Add ACE. It will open a dialogue box where you will fill in the following:

  • Access Control: Select "Allow"

  • Time Period: Select "All time"

  • Any IP Address: Uncheck the box

  • Single IP/IP & Mask: Choose "Single IP" to select a specific IP. If you select "IP & Mask," it's for entering a network segment.

Click OK to save the rule.

3.- Return to the Policy-Based Route tab and fill in these parameters:

  • Interface: Select the LAN port where the added IP or segment is located.

  • Policy Priority: Set it to "1" to give priority to this IP.

  • ACL ID: Enter the ACL ID number, in this case, it's the only ACL we have, which is "1".

  • Interface/Next Hop: Choose "Next Hop." In the generated box, enter the gateway of the WAN through which you want the traffic from that IP to exit.

Click on Add to finish the configuration.

It would look like the following:



Did this answer your question?