How do I configure route precedence on a firewall?
09/29/2023
233 People found this article helpful
447,219 Views
Description
Before SonicOS 6.5 SonicWall firewalls prioritized traffic based on Source IP, Destination IP and Service fields.
Now, the Type Of Service (TOS, it's a 8-bit field contained in the IP Header of the packet) is included in the routing logic when taking routing decisions. This will allow you to configure multiple static routes with the same Source IP, Destination IP and Service but with a different TOS value.
Routes can now be prioritized based on metric. Previously they were prioritized based on specificity of a route (longer prefixes prioritized over short prefixes). The new Metric-Weighted option will allow metric to take precedence on prioritization over route specificity.
Cause
Resolution for SonicOS 7.X
This release includes significant user interface changes and many new features that are different from the SonicOS 6.5 and earlier firmware. The below resolution is for customers using SonicOS 7.X firmware.
There are two types of route prioritization added from 6.5 and later:
- Route Prioritization based on TOS:
- Navigate to Policy | Rules and Policies | Routing Rules
- Modify or Add a static route
- Click on the Advanced tab
- Type the TOS Value and TOS Mask to prioritize the route.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090230929936136.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk1NTgsImlhdCI6MTcyNTA3MzU1OH0.I9pfTv1EmCgt5dsYTDrwCLfZL8Knp31k3P2UGu3oMWI)
NOTE: You can configure multiple routes with same Source IP, Destination IP and Service: they will be prioritized based on the TOS value.
- Route Prioritization with Weighted-Metrics - It will allow the metric to take precedence in prioritization over the route specificity.
The routing logic will take the following in consideration: Route Class; Metric; Cumulative Specificity of Source, Destination, Service and TOS fields.
- Navigate to Network | System | Dynamic Routing
- Go to the Settings tab
- Enable Prioritize routes by metric within route classes
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090230929271158.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk1NTgsImlhdCI6MTcyNTA3MzU1OH0.I9pfTv1EmCgt5dsYTDrwCLfZL8Knp31k3P2UGu3oMWI)
- Navigate to Policy | Rules and policies | Routing Rules, Modify or Add a static route
- Specify the Metric based on the priority of the rule
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090230929719487.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk1NTgsImlhdCI6MTcyNTA3MzU1OH0.I9pfTv1EmCgt5dsYTDrwCLfZL8Knp31k3P2UGu3oMWI)
Resolution for SonicOS 6.5
This release includes significant user interface changes and many new features that are different from the SonicOS 6.2 and earlier firmware. The below resolution is for customers using SonicOS 6.5 firmware.
There are two types of route prioritization added from 6.5 and later:
- Route Prioritization based on TOS:
- Go to the Manage tab
- Click Network | Routing
- Modify or Add a static route
- Click on the Advanced tab
- Type the TOS Value and TOS Mask to prioritize the route.
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170831938663.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk1NTgsImlhdCI6MTcyNTA3MzU1OH0.I9pfTv1EmCgt5dsYTDrwCLfZL8Knp31k3P2UGu3oMWI)
NOTE: You can configure multiple routes with same Source IP, Destination IP and Service: they will be prioritized based on the TOS value.
- Route Prioritization with Weighted-Metrics - It will allow the metric to take precedence in prioritization over the route specificity.
The routing logic will take the following in consideration: Route Class; Metric; Cumulative Specificity of Source, Destination, Service and TOS fields.
- Go to the Manage tab
- Click Network | Routing
- Go to the Settings tab
- Enable Prioritize routes by metric within route classes
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170831007712.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk1NTgsImlhdCI6MTcyNTA3MzU1OH0.I9pfTv1EmCgt5dsYTDrwCLfZL8Knp31k3P2UGu3oMWI)
- Modify or Add a static route
- Specify the Metric based on the priority of the rule
![Image](https://sonicwall.rightanswers.com/portal/app/portlets/results/onsitehypermedia/090170831047981.png?linkToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJzb25pY3dhbGwiLCJleHAiOjE3NTY2MDk1NTgsImlhdCI6MTcyNTA3MzU1OH0.I9pfTv1EmCgt5dsYTDrwCLfZL8Knp31k3P2UGu3oMWI)
Related Articles
Categories
Was This Article Helpful?
YES
NO