Route 1 represents the default IP route and route 2 represents the configured IP route.
Figure 200 Example of IP Policy Routing
To force packets coming from clients with IP addresses of 192.168.1.33 to 192.168.1.64 to be routed to the Internet via the WAN port of the Prestige, follow the steps as shown next.
1Create a routing policy set in menu 25.
2Create a rule for this set in Menu 25.1.1 - IP Routing Policy as shown next.
Figure 201 IP Routing Policy Example
| Menu 25.1.1 - IP Routing | Policy |
| |
Policy Set Name= set1 |
|
|
| |
Active= Yes |
|
|
|
|
Criteria: | = 6 |
|
|
|
IP Protocol |
| Packet length= 10 | ||
Type of Service= Don't Care |
| |||
Precedence | = Don't Care |
| Len Comp= Equal | |
Source: |
|
| end= 192.168.1.64 | |
addr start= 192.168.1.2 |
| |||
port start= 0 |
| end= N/A |
| |
Destination: |
|
| end= N/A |
|
addr start= 0.0.0.0 |
|
| ||
port start= 80 |
| end= 80 |
| |
Action= Matched | = Gateway addr | Gateway addr | = 192.168.1.1 | |
Gateway type | ||||
Type of Service= No Change |
| Gateway node | = 0 | |
Precedence | = No Change |
| Log= No |
|
Press ENTER to Confirm or ESC | to Cancel: |
|
Chapter 34 IP Policy Routing | 304 |