On 08/01/11 05:43, Alibek Bolatov wrote:
OS: CentOS 5,5, 2.6.18-194.26.1.el5
Squid 2.6.STABLE21 (from repo, with --enable-wccpv2 options)
Cisco 7201 (Cisco IOS Software, 7200 Software (C7200P-IK91S-M),
Version 12.2(31)SB17, RELEASE SOFTWARE (fc1), image file
c7200p-ik91s-mz.122-31.SB17.bin)
I can not configure a transparent proxy.
I hereby make the following:
<snip>
squid.conf
----------------------------------------
wccp2_router 192.168.255.250 (loopback on C7201)
wccp2_address 192.168.2.2
wccp2_forwarding_method 1
wccp2_return_method 1
...
----------------------------------------
<snip>
#show ip wccp web-cache detail
WCCP Cache-Engine information:
Web Cache ID: 192.168.2.2
Protocol Version: 2.0
State: NOT Usable
Redirection: L2
Packet Return: L2
Packets Redirected: 0
Connect Time: 00:00:21
Assignment: MASK
#show ip wccp web-cache view
WCCP Routers Informed of:
-none-
WCCP Cache Engines Visible:
192.168.2.2
WCCP Cache Engines NOT Visible:
-none-
----------------------------------------
Based on the results 'show ip wccp', Cisco does not see the Squid, as
cache-engine.
Advise what I need to fix it?
Cisco apparently *does* see Squid. What do you think "WCCP Cache Engines
Visible: 192.168.2.2" means?
I'm not sure why your squid.conf contains redirect and return method #1
(GRE) but Cisco displays L2 (which is redirect/return method #2).
There are two things which may be interfering:
* you are missing the "wccp2_assignment_method" directive
* also, Squid will wait for the cache dir rebuild to finish before
sending the first wccp2 HereIAm packet.
* what is with "11.22.33.44" on the GRE interface? The IP Squid is
using there is 192.168.2.2 yes?
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.10
Beta testers wanted for 3.2.0.4