[squid-users] WCCP and squid problem !!!! Help me!!

From: Jason Yap <jason@dont-contact.us>
Date: Sun, 12 Mar 2006 10:56:29 +0800

***********************
Your mail has been scanned by InterScan MSS.
***********-***********

Hi,

 

I've been trying to get transparent caching work with my Cisco 3620 router
but without a success. Here are my configs:

 

Router with IOS version 12.2(32):

----------------------------------------------------------------

ip wccp version 1

ip wccp web-cache

!

no ip domain-lookup

!

interface Ethernet0/0

 description Interface to ISP

 ip address 10.254.40.10 255.255.255.252

 ip nat outside

 full-duplex

!

interface Ethernet0/1

 description To SQUID web cache

 ip address 192.168.2.1 255.255.255.248

 ip nat inside

 no keepalive

 full-duplex

 

interface Ethernet1/0

 description TO LOCAL LAN

 ip address 192.168.1.1 255.255.255.248

 ip nat inside

 full-duplex

!

ip nat inside source list 101 interface Ethernet0/0 overload

ip classless

ip route 0.0.0.0 0.0.0.0 10.254.40.9 (default route to ISP)

no ip http server

!

access-list 101 permit ip 192.168.1.0 0.0.0.7 any

access-list 101 permit ip 192.168.2.0 0.0.0.7 any

 

Squid (ver 2.4 Stable7.4) config:

----------------------------------

 

http_port 3128

httpd_accel_port 80

httpd_accel_host virtual

httpd_accel_with_proxy on

httpd_accel_uses_host_header on

wccp_router 192.168.2.1

wccp_version 4

 

---------------------------------

show ip wccp web-cache

Global WCCP information:

    Router information:

        Router Identifier: 192.168.2.1

        Protocol Version: 1.0

 

    Service Identifier: web-cache

        Number of Cache Engines: 1

        Number of routers: 1

        Total Packets Redirected: 368

        Redirect access-list: -none-

        Total Packets Denied Redirect: 0

        Total Packets Unassigned: 0

        Group access-list: -none-

        Total Messages Denied to Group: 0

        Total Authentication failures: 0

 

--------------------------------------------------------------

 

show ip wccp web-cache detail

WCCP Cache-Engine information:

        Web Cache ID: 0.0.0.0

        Protocol Version: 0.4

        State: Usable

        Initial Hash Info: 00000000000000000000000000000000

                               00000000000000000000000000000000

        Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

                               FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

        Hash Allotment: 256 (100.00%)

        Packets Redirected: 277

        Connect Time: 00:43:42

----------------------------------------------------------

 

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-

-------------------------------------------------------------

 

Squid is confirmed working as I can browse the web if I manually configure
the squid IP in my browser and I could see something in squid's "access log"

 

Router interface e0/0 is going to my ISP, e0/1 is going to my SQUID box (on
Redhat 8.0) and e1/0 in to my LAN users. I'm seeing increased "Packets
Redirected" in the router when I enable transparent proxy, but browsing
failed. Nothing was shown in my squid's "access.log"

 

Any anyone help??

 

Thanks

 

Jason
Received on Sat Mar 11 2006 - 19:57:50 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST