[SQU] WCCP redirection problem...!!

From: Awie <awie@dont-contact.us>
Date: Fri, 9 Mar 2001 14:32:46 +0800

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.html
Received on Thu Mar 08 2001 - 23:43:27 MST

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