Configuring Destination-Based Routing
You can enable Destination-Based Routing permanently or temporarily.
Use asg_dst_route to manage Destination-Based Routing.
Syntax
> asg_dst_route -e|-d|-a|-v
Parameter
|
Description
|
-e
|
Enable Destination-Based Routing
|
-d
|
Disable Destination-Based Routing
|
-a
|
Restore Destination-Based Routing to the default
|
-v
|
Show the current and persistent status of Destination-Based Routing
|
Example
> asg_dst_route -v
Output
+------------------------------------------------------------------------------+
| SGM | Current Status | Persistency |
+------------------------------------------------------------------------------+
| 1_01 | Source+Dest based route | Source+Dest based (due to pbr rule) |
| 1_02 | Source+Dest based route | Source+Dest based (due to pbr rule) |
+------------------------------------------------------------------------------+
You can use echo < value> > /proc/sys/net/ipv4/route/src_mask to temporarily enable or disable Destination-Based Routing.
Syntax
> echo < value> > /proc/sys/net/ipv4/route/src_mask
Parameter
|
Description
|
<value>
|
Enable or disable Destination-Based Routing
Allowed values:
0 - Enable Destination-Based Routing-1 - Disable Destination-Based Routing
|
|