Re: WCCP and Squid

From: Lincoln Dale <ltd@dont-contact.us>
Date: Tue, 19 Oct 1999 20:27:16 +1000

At 11:24 19/10/99 +0200, Jan Haluza wrote:
>2.
>Set up Cisco router (enable wccp redirection) (IOS 12.0(6a))
>
>ip wccp enable
>ip wccp redirect-list 161
>
>interface ATM1/0.3 multipoint
> ip address INTERFACE_IP_ADDR NETMASK
> ip web-cache redirect

one small addition to your list ...

if you're running IOS 12.0(anything)T, or any future 12.1(anything)
mainline releases, the wccp command syntax has changed.

you would use:
   ip wccp version 1
   ip wccp web-cache redirect-list 161
   !
   interface ATM1/0.3 multipoint
     ip wccp web-cache redirect out
   !

these changes reflect the fact that:
  - IOS supports both WCCPv1 and WCCPv2
  - 'web-cache' is just one (static) service. there can be up
    to 100 'dynamic' services with WCCPv2.
  - redirection of interfaces is currently on 'outbound' interfaces;
    a future release of IOS may well enhance it to include 'input'
    interfaces...

other than that, looks good.

...
>Redirected http packets are GRE encapsulated and type marked as protocol
>type 0x883e - such packets processed by the linux GRE driver will be
>dropped (because of the protocol type)
>Since encapsulated packets are IP packets, let the GRE driver rewrites
>packet protocol type specification
>(patch can be found here http://www.vsb.cz/~hal01/cache/wccp/ip_gre.patch)

as an alternative to that, Glenn has written a wccp-specific version of the
'gre' protocol handler. i'm sure he'll post a url ...

cheers,

lincoln.

--
   Lincoln Dale          Content Switching
   ltd@cisco.com         Cisco Systems Inc.        |         |
                                                   ||        ||
   +1 (408) 525-1274     bldg M, 170 West Tasman  ||||      ||||
   +61 (3) 9269-4200 <<  San Jose CA 95134    ..:||||||:..:||||||:..
Received on Tue Oct 19 1999 - 04:37:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:57 MST