WCCP provides a way for routers to redirect traffic to proxy-cache servers. WCCP has built-in mechanisms for request distribution and redundancy.
The following table discusses issues related to WCCP router location.
The following table shows the methods that NetCache supports for WCCP routers to redirect traffic to NetCache appliances.
Note
Not all routers are capable of L2 rewriting. See the Cisco documentation for information about additional limitations with MAC address rewriting.
In WCCP, traffic redirection and distribution are based on logical WCCP service groups. A service group is a group of one or more routers and one or more proxy-cache servers that can work together in traffic redirection and distribution because they have been defined, through a service group definition, with the same settings.
Information you provide in a service group definition on a NetCache appliance includes the following:
The WCCP routers in the same service group have the corresponding configuration, which ensures that they can redirect client-side HTTP TCP port 80 traffic to those NetCache appliances. You can also set passwords by service group to ensure that a WCCP router and proxy-cache server authenticate with each other.
The following illustration shows several NetCache appliances, some that are configured as Web caches handling client-side HTTP traffic and others that are configured as news caches handling client-side NNTP traffic. The router is configured to redirect both HTTP and NNTP traffic. The service groups to which the router and specific appliances "belong" determine the appliances to which the router can redirect a particular type of traffic.
In the preceding illustration, the two NetCache appliances on the left handle only one type of traffic, HTTP (TCP port 80). Service group 0 has been defined in NetCache as the service group for HTTP (TCP port 80) traffic, and the router has been configured to listen for requests from service group 0.
The NetCache appliances on the right handle NNTP (TCP port 119) requests only. Service group 1 has been defined in NetCache as the service group for NNTP traffic, and the router has been configured to listen for requests from service group 1.
Typically, administrators configure a separate service group for each protocol. A single NetCache appliance that handles multiple protocols could, therefore, be configured with multiple service groups. Likewise, a WCCP router can belong to multiple service groups.
Note
Third-party proxy-cache servers must support transparency and WCCP 2.0 to be included in a service group.
Each service group can consist of 64 WCCP routers and up to 32 NetCache appliances (or third-party proxy-cache servers). The routers that a specific NetCache appliance can communicate with depends on the service groups to which the NetCache appliance and the WCCP routers belong.
NetCache supports both unicast and multicast transmission between WCCP routers and NetCache appliances. If your WCCP routers are configured for WCCP multicast, you can configure WCCP service groups for multicast transmission between WCCP routers and NetCache appliances. Unicast and multicast are defined as follows:
The advantages of using multicast transmission between members of a service group are as follows:
With unicast transmission, you must explicitly identify WCCP routers with which the NetCache appliance interacts. If a router is later removed from the network, you must remove the router's IP address from the NetCache configuration.
Network Appliance recommends that you select one transmission scheme for your WCCP transparency deployment--either unicast or multicast. The reason is that your configuration and management will be simpler.
Setting up transparent proxying with WCCP routers and NetCache appliances involves planning for service groups and completing the configuration supporting service groups on both the router and NetCache appliance.
Consider the following requirements:
See your WCCP router documentation and the Administration Guide for help with planning your service groups.
Some advantages of using a WCCP router instead of a switch are as follows:
IP spoofing deployments require symmetric routing so that server responses are redirected to the same NetCache appliance that received the client request. To implement IP spoofing for WCCP, the following conditions must be met:
The following sections describe these conditions.
Before implementing IP spoofing, contact your Cisco representative to ensure that your WCCP router supports inbound redirection. At the time of this writing, Cisco routers that support the MAC address rewriting feature do not support the inbound redirection feature. Therefore, you cannot deploy IP spoofing with routers that support MAC address rewriting.
In addition to dedicating one interface on the router to clients and another interface to origin servers, you must dedicate a router interface for the NetCache appliances, as shown in the following illustration (A, B, and C represent the separate interfaces).
In the router configuration, an inbound redirection filter based on the client-side WCCP service group must be applied on the client-side interface of the router in order to route client-to-server traffic to NetCache appliances. Similarly, an inbound redirection filter based on the server-side WCCP service group must be applied on the server-side interface of the router to route server-to-client traffic to NetCache appliances.
Copyright © 1994-2002, Network Appliance, Inc. All rights
reserved.
Part No. 210-00372
File: access7.htm
Last updated: 11/13/02 18:10:53