awie,
i think you are facing the problems just as me...
but 1 thing you got successfully that
your cache status is "USABLE" in cisco
i was not getting that also..
wccp shouldn't need the route map...
it works on GRE tunnel to transfer the packets.
and with IOS 11.2 (or earlier) the route map increases the processor usage like anything
so that is not a good idea.
can someone help myself and awie out of this?
one more thing...
if i see netstat on linux box, i can see the WCCP session established on port 2048
please help us out...
vish
-----Original Message-----
From: Awie <awie@eksadata.com>
To: squid-users@ircache.net <squid-users@ircache.net>
Date: Friday, March 09, 2001 12:38 PM
Subject: [SQU] WCCP redirection problem...!!
Folks,
I was successfully compile and configure ip_wccp.o. Thanks for Joe Copper, Al Blakes, Thomas Adam, Vish and others.
My Squid is running well in transparent mode with route map command. But I need WCCP running because it's "health check" feature.
I edit squid.conf to enable WCCP (wccp_router 10.0.0.1). My Cisco IOS (version 12.0.(7)T) was also configured as below:
ip wccp version 1
ip wccp web-cache
!
interface Ethernet0
ip address 10.0.0.1 255.255.255.192
ip wccp web-cache redirect out
no ip directed-broadcast
no ip mroute-cache
!
access-list 150 deny tcp host 10.0.0.2 any eq www
access-list 150 permit tcp any any eq www
route-map proxy-redir permit 10
match ip address 150
set ip next-hop 10.0.0.2
I found that Cisco detect the Squid wccp signal. I typed command "show ip wccp web-caches", it show the respond as below:
WCCP Web-Cache information:
IP Address: 10.0.0.2
Protocol Version: 0.4
State: Usable
Initial Hash Info: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Hash Allotment: 256 (100.00%)
Packets Redirected: 0
Connect Time: 00:13:46
**** Protocol version (wccp) above is depend on my setting in squid.conf. Version 0.4 means I set version 4 and 0.3 mean version 3 in squid.conf.
It seems my Cisco was successfully talk to Squis, isn't it? I assume it is. But I am wrong ! Because I didn't any packet redirection from router to Squid. I also did not see "Here_I_Am / I_See_You" packet after I enable "debug ip wccp event" in IOS.
Then I change some setting in my IOS to be :
ip wccp version 1
ip wccp web-cache
!
interface Ethernet0
ip address 10.0.0.1 255.255.255.192
ip wccp web-cache redirect-list 150
no ip directed-broadcast
no ip mroute-cache
!
access-list 150 deny tcp host 10.0.0.2 any eq www
access-list 150 permit tcp any any eq www
route-map proxy-redir permit 10
match ip address 150
set ip next-hop 10.0.0.2
I got same result, packets were not redirected.
Then I did a "stupid" trial by adding command "ip policy route-map proxy-redir" to force packet redirection without disabling WCCP. I saw that redirection was running.
I don't THINK IT WAS THE RIGHT progress. Because WCCP redirection progress does not need route map command, right?
Please help me ! I am really need WCCP in my system.
Your reply is very appreciated.
Thx & rgds,
Awie
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Fri Mar 09 2001 - 11:28:40 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:35 MST