Switches typically include multiple methods for handling traffic. When this guide refers to L4 or L7 switches, it refers to a feature on a switch that can support transparent proxying, that is, operate on the L4 or L7 layer of the OSI model. The layer in the OSI model at which a switch operates determines the capabilities of the switch. Switch names vary by vendor.
An L4 switch operates at Layer 4 in the OSI model--the Transport layer. L4 switches base their switching decisions on information in the TCP header, and TCP is a protocol that resides at Layer 4 in the OSI seven-layer model. These switches examine only the port number and determine, based on the port number, where to redirect the traffic.
An L7 switch operates at Layer 7 of the OSI model--the Application layer. Because these switches operate at Layer 7, they can understand URLs and can understand much more about the traffic than an L4 switch can.
An L7 switch has a more sophisticated partitioning capability than an L4 switch. Therefore, an L7 switch can understand much more of the traffic than an L4 switch can. It can, for example, partition HTTP client traffic based on the requested URL, which can be useful in influencing the traffic that the switch redirects to the NetCache appliances. See Request distribution with an L4 or L7 switch for more information.
Both L4 and L7 switches provide the following features:
The performance of L4 and L7 switches is similar. However, the L7 switch examines TCP/IP packets more closely than an L4 switch does. Therefore, the response time of the L7 switch is slightly slower than that of an L4 switch.
The number of L4 or L7 switches that you need depends on factors such as the following:
The following table discusses issues related to switch location.
For information about sizing specific switches, see the switch vendor's documentation. Appendix B, Requirements for Transparent Proxying, provides a list of key features to look for when buying switches.
If you have more than one network interface and you are deploying transparent proxying with an L4 or L7 switch, make sure that the port through which outgoing NetCache traffic is sent is not configured as a transparent port. If outgoing NetCache traffic is sent back through an incoming cache port on the switch, the switch diverts the traffic back to NetCache, creating a traffic loop. If this occurs, no DNS, HTTP, FTP, NNTP, MMS, or RTSP requests are serviced.
Copyright © 1994-2002, Network Appliance, Inc. All rights
reserved.
Part No. 210-00372
File: access5.htm
Last updated: 11/13/02 18:10:53