are your clients on the same subnet as you cache engine??
This might be causing you a problem, because the cache will try to 
connect to the client directly insted of from the router which is doing 
NAT, because the client expects the conection from the webserver, not 
from your squid box.
hope this helps..
-francisco
Chris Debono wrote:
>Hi 
>
>I have a problem with squid running wccp. For transparent proxy it works
>fine if I set the gateway of my workstations
>point to the squid machine. However the router does not seem to redirect
>wccp packets to the squid. 
>In my opinion, the problem seems to be related with the ip_gre.c patched
>file because the
>gre counters shown by netstat -i -v are 0, but I am not sure and would
>be very grateful if somebody could help me
>
>
>netstat -v -i
>Kernel Interface table
>Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP
>TX-OVR Flg
>eth0   1500   0    4922      0      0      0     647      0      0
>0 BMRU
>eth1   1500   0    1001      1      0      0    4863      3      0
>0 BMRU
>gre0   1476   0       0      0      0      0       0      0      0
>0 ORU
>lo    16436   0      10      0      0      0      10      0      0
>0 LRU
>
>[root@proxy squid]# ifconfig
>eth0      Link encap:Ethernet  HWaddr 00:E0:18:0A:1B:CF
>          inet addr:195.126.56.2  Bcast:195.126.56.7
>Mask:255.255.255.248
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:3971 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:532 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:100
>          RX bytes:278040 (271.5 Kb)  TX bytes:45110 (44.0 Kb)
>          Interrupt:10 Base address:0xa000
>
>eth1      Link encap:Ethernet  HWaddr 00:40:C7:97:32:E2
>          inet addr:62.240.54.13  Bcast:62.240.54.15
>Mask:255.255.255.248
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:945 errors:1 dropped:0 overruns:0 frame:0
>          TX packets:4009 errors:3 dropped:0 overruns:0 carrier:3
>          collisions:0 txqueuelen:100
>          RX bytes:69250 (67.6 Kb)  TX bytes:1244633 (1.1 Mb)
>          Interrupt:9 Base address:0x8000
>
>gre0      Link encap:UNSPEC  HWaddr
>00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>          inet addr:10.0.0.1  Mask:255.255.255.255
>          UP RUNNING NOARP  MTU:1476  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
>lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Mask:255.0.0.0
>          UP LOOPBACK RUNNING  MTU:16436  Metric:1
>          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:700 (700.0 b)  TX bytes:700 (700.0 b)
>
>I am starting the tunnel with the following command
>
>/sbin/modprobe ip_gre
>/sbin/ifconfig gre0 10.0.0.1 netmask 255.255.255.255 up
>
>
>here is my squid.conf
>
>httpd_accel_with_proxy on
>httpd_accel_uses_host_header on
>httpd_accel_host virtual 80
>wccp_router 62.240.54.5
>wccp_version 3
>wccp_incoming_address 195.126.56.2
>wccp_outgoing_address 195.126.56.2
>
> 
>
>Here is a show ip wccp on the cisco 3660 router
>
>gate1#show ip wccp
>Global WCCP information:
>    Router information:
>        Router Identifier:                   62.240.54.5
>        Protocol Version:                    1.0
>
>    Service Identifier: web-cache
>        Number of Cache Engines:             1
>        Number of routers:                   1
>        Total Packets Redirected:            0
>        Redirect access-list:                -none-
>        Total Packets Denied Redirect:       0
>        Total Packets Unassigned:            5934
>        Group access-list:                   -none-
>        Total Messages Denied to Group:      0
>        Total Authentication failures:       0
>
>Attached is the patched file ip_gre.c that I am using and the kernel
>used is 2.4.18-5 on redhat 7.3 box and squid was installed with rpm from
>redhat. Machine is live updated to the most recent versions
>
>Regards
>
>Chris
>
> 
>
Received on Tue Jul 23 2002 - 11:55:35 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:20 MST