Previous Next

Traffic Management and Application Acceleration > Traffic Management Policies > Layer 4 Policies

Layer 4 Policies
A Layer 4 Policy lets you set a single point of entry, that is, a single Virtual IP address, for a variety of application services, allowing different groups of users to receive services according to their individual needs.
All the VIPs managed by AppDirector are defined under Layer 4 Policies. When AppDirector receives the first packet of a session destined to a Virtual IP address, it searches for a Layer 4 Policy that matches the Layer 4 Protocol, Destination port, Source IP address, and so on. Then, based on this information, AppDirector selects the farm allocated to this service and the best server for the task from that farm, and forwards the packet to that server.
AppDirector supports both IPv4 and IPv6 VIPs. Any type of VIP can be attached to farm or farms with either IPv4, IPv6 or mixed IPv4 and IPv6 servers.
When the IP version of the VIP is different than the IP version of a server attached to it (through a farm) AppDirector performs IP gateway functionality and translates IPv6 front-end session to an IPv4 back-end session or vice-versa.
Note: For FTP, there is no need to create a port 20 Layer 4 policy for the active FTP-data connections. AppDirector handles active and passive data connections to the same VIP as the FTP-control Layer 4 policy. FTP-data exists as an application if a direct active FTP-data connection to a port other than 20 occurs.
In addition to farm selection, the Layer 4 policy also defines application acceleration policies to be applied on traffic matching the Layer 4 policy, when required. Application acceleration policies include SSL offload configuration, compression and caching rules and HTTP multiplexing activation.
To set up or update a Layer 4 policy
1.
From the AppDirector menu, select Layer 4 Traffic Redirection > Layer 4 Policies. The Layer 4 Policies pane displays.
2.
Click Create, OR select the Layer 4 Policy Name if you want to update. The Layer 4 Policy Create pane displays
3.
 
Notes:  
*
When you enter a Virtual IP address in IPv4 format, the parameters Source IP From/To accept IPv4 type addresses.
*
When you enter a Virtual IP address in IPv6 format, the parameters Source IP From/To accept IPv6 type addresses.
*
*
The Application parameter allows using custom TCP or UDP ports for applications that require special handling, such as HTTP, HTTPS, FTP, SIP, and so on. For example, use port 2100 for FTP Control Channel.
For Virtual IP Interface configuration, the Application parameter must be set to Virtual IP Interface.
*
*
*
*
*
Notes:  
4.
Click Set.