Hello,

I have been trying to get wccp and squid to work and have been unsuccessful so 
far.  I have followed the FAQ at 
http://www.squid-cache.org/Doc/FAQ/FAQ-17.html#ss17.13 with the following 
configurations

Trustix 2.4.31          squid 2.5S10
Slackware 2.4.31        squid 2.5S10
Slackware 2.6.10        squid 2.5S10
Slackware 2.6.10        squid 2.5S11
FreeBSD 5.4             Squid 2.5S10

I have tried these combinations with IOS version 12.1.26E and 12.2.18SXD6 and 
still not solution.  I have tried setting the wccp_incoming_address and 
wccp_outgoing_address to the IP of my only network card, but still nothing 
works.  The following is what i see from my router:

MDIST#sho ip wcc we det
WCCP Cache-Engine information:
        Web Cache ID:          0.0.0.0
        Protocol Version:      0.4
        State:                 Usable
        Redirection:           GRE
        Packet Return:         GRE
        Assignment:            HASH
        Initial Hash Info:     00000000000000000000000000000000
                               00000000000000000000000000000000
        Assigned Hash Info:    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
                               FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        Hash Allotment:        256 (100.00%)
        Packets Redirected:    15
        Connect Time:          03:16:30

MDIST#sho ip wcc we view
    WCCP Routers Informed of:
        -none-

    WCCP Cache Engines Visible:
        10.10.144.2

    WCCP Cache Engines NOT Visible:
        -none-

MDIST#


Running WCCP packet debug, i can see that the received a Here I am packet and 
then responds with an I See You packet. The router then assigns the complete 
hash to the squid server, but the servers responds with no hash assigned.  
Could it be my gre is setup improperly?  It seems as if the squid server 
doesn't receive/understand anything that is coming from the router.

In FreeBSD i have:
# Kernel settings
options IPFIREWALL
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_FORWARD
device  gre

# GRE tunnel settings
ifconfig gre0 create
ifconfig gre0 10.10.144.2 10.10.144.1 netmask 255.255.255.255 up
ifconfig gre0 tunnel 10.10.144.2 10.10.144.1
route delete 10.10.144.1

# Firewall settings
ipfw add fwd 127.0.0.1,3128 tcp from any to any 80 in


Thanks,
Bryan

Reply via email to