ADC

Configure the Prefer Direct Route option

On a wildcard load balancing virtual server if you explicitly configure a route to a destination, by default, the Citrix ADC appliance forwards traffic according to the configured route. If you want the appliance to not look up for the configured route, you can set the Prefer Direct Route option to NO.

If a device is directly connected to a Citrix ADC appliance, the appliance directly forwards traffic to the device. For example, if the destination of a packet is a firewall, the packet need not be routed through another firewall. However, sometimes, you might want the traffic to go through the firewall even if the device is directly connected to it. In such cases, you can set the Prefer Direct Route Option to NO.

Note: The preferDirectRoute setting is applicable to all the wildcard virtual servers on the Citrix ADC appliance.

To set the Prefer Direct Route option by using the CLI

At the command prompt, type:

set lb parameter -preferDirectRoute (YES | NO)
<!--NeedCopy-->

Example:

set lb parameter -preferDirectRoute YES
<!--NeedCopy-->

To set the Prefer Direct Route option by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Configure Load Balancing parameters.
  2. Select Prefer Direct Route.
Configure the Prefer Direct Route option