ADC

Configure the redirection mode

The redirection mode configures the method used by a virtual server to determine where to forward incoming traffic. The Citrix ADC appliance supports the following redirection modes. Before forwarding the request to a server, the redirection modes function as follows:

  • 知识产权-Based forwarding (the default): The destination IP address is changed to the server’s IP address.
  • MAC-Based forwarding: The destination MAC address is changed to the server’s MAC address. However, the destination IP address is not changed. MAC-based redirection mode is used mostly in firewall load balancing deployments.
  • 知识产权TUNNEL Based: An IP-in-IP encapsulation is performed for the client IP packets. In the outer IP headers, the destination IP address is set to the IP address of the server and the source IP address is set to the subnet IP (SNIP). The client IP packets are not modified. This is applicable to both IPv4 and IPv6 packets.
  • TOS ID Based: The virtual server’s TOS ID is encoded in the TOS field of the IP header.

You can use either the IP TUNNEL or the TOS option to implement Direct Server Return (DSR). For more information see:

You can configure MAC-Based forwarding on networks that use DSR topology, link load balancing, or firewall load balancing. For more information on MAC-Based forwarding for load balancing, seeConfigure MBF for load balancing configuration.

To configure the redirection mode by using the CLI

At the command prompt, type:

set lb vserver  -m  

Example:

set lb vserver Vserver-LB-1 -m MAC 

Note

For a service that is bound to a virtual server on which the-m MACoption is enabled, you must bind a non-user monitor.

To configure the redirection mode by using the GUI

  1. Navigate toTraffic Management > Load Balancing > Virtual Servers.
  2. Open a virtual server and select the redirection mode.
Configure the redirection mode