[squid-users] setting up WCCP with multiple routers

From: Arnaud Loonstra <[email protected]>
Date: Tue, 24 Jul 2007 15:27:23 +0200

Hi,

I can't seem to find any documentation about setting up squid with
WCCPv2 and multiple cisco routers. So this might be good for the
archives if someone helps me out here.

I've got WCCP running between 1 router and a Cisco router. Now I want to
add routers.

I've tried the following

Add another router entry in squid.conf

wccp2_router 192.168.0.6
wccp2_router 192.168.48.48

Create another GRE tunnel

ip tunnel add wccp0 mode gre remote 172.31.255.48 local 10.1.250.10 dev
eth0
ip addr add 10.1.250.10/32 dev wccp0
ip tunnel add wccp1 mode gre remote 172.31.255.6 local 10.1.250.10 dev
eth0
ip addr add 10.1.250.10/32 dev wccp1
ip link set wccp0 up
ip link set wccp1 up

I've configure the two routers similar
global config:
ip wccp web-cache

and one inside interface:
 ip wccp web-cache redirect in

This is not doing what I needed
The cisco is seeing WCCP packets but they are not correct:

Jul 24 14:53:32.388: WCCP-PKT:S00: Sending I_See_You packet to
10.1.250.10 w/ rcv_id 00000003
Jul 24 14:53:42.393: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10
Jul 24 14:53:52.393: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10
Jul 24 14:53:57.389: WCCP-PKT:S00: Sending Removal_Query packet to
10.1.250.10w/ rcv_id 00000004
Jul 24 14:54:02.389: %WCCP-1-SERVICELOST: Service web-cache lost on WCCP
client 10.1.250.10
Jul 24 14:54:02.393: WCCP-PKT:S00: Sending I_See_You packet to
10.1.250.10 w/ rcv_id 00000005
Jul 24 14:54:12.393: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10
Jul 24 14:54:22.394: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10
Jul 24 14:54:27.394: WCCP-PKT:S00: Sending Removal_Query packet to
10.1.250.10w/ rcv_id 00000006
Jul 24 14:54:32.394: %WCCP-1-SERVICELOST: Service web-cache lost on WCCP
client 10.1.250.10
Jul 24 14:54:32.398: WCCP-PKT:S00: Sending I_See_You packet to
10.1.250.10 w/ rcv_id 00000007
Jul 24 14:54:42.398: WCCP-PKT:S00: Ignored duplicate Here_I_Am packet
received from 10.1.250.10

sh ip wccp web-cache detail:

WCCP Client information:
        WCCP Client ID: 10.1.250.10
        Protocol Version: 2.0
        State: NOT Usable
        Initial Hash Info: 00000000000000000000000000000000
                                 00000000000000000000000000000000
        Assigned Hash Info: 00000000000000000000000000000000
                                 00000000000000000000000000000000
        Hash Allotment: 0 (0.00%)
        Packets s/w Redirected: 0
        Connect Time: 00:00:29
        Bypassed Packets
          Process: 0
          Fast: 0
          CEF: 0

A tcpdump reveals the squid proxy is sending out UDP:2048 packets to
both routers which seems right?

14:53:02.414230 IP 10.1.250.10.2048 > 192.168.0.6.2048: UDP, length 152
14:53:02.414281 IP 10.1.250.10.2048 > 192.168.48.48.2048: UDP, length
152
14:53:02.415322 IP 192.168.0.6.2048 > 10.1.250.10.2048: UDP, length 92
14:53:07.406771 IP 192.168.48.48.2048 > 10.1.250.10.2048: UDP, length 64
14:53:12.414837 IP 10.1.250.10.2048 > 192.168.0.6.2048: UDP, length 152
14:53:12.414866 IP 10.1.250.10.2048 > 192.168.48.48.2048: UDP, length
152
14:53:12.415705 IP 192.168.48.48.2048 > 10.1.250.10.2048: UDP, length 92
14:53:17.415196 IP 10.1.250.10.2048 > 192.168.0.6.2048: UDP, length 348
14:53:17.415248 IP 10.1.250.10.2048 > 192.168.48.48.2048: UDP, length
348
14:53:22.415505 IP 10.1.250.10.2048 > 192.168.0.6.2048: UDP, length 152
14:53:22.415536 IP 10.1.250.10.2048 > 192.168.48.48.2048: UDP, length
152
14:53:27.413021 IP 192.168.0.6.2048 > 10.1.250.10.2048: UDP, length 64
14:53:32.416171 IP 10.1.250.10.2048 > 192.168.0.6.2048: UDP, length 152
14:53:32.416209 IP 10.1.250.10.2048 > 192.168.48.48.2048: UDP, length
152
14:53:32.417105 IP 192.168.0.6.2048 > 10.1.250.10.2048: UDP, length 92
14:53:37.415066 IP 192.168.48.48.2048 > 10.1.250.10.2048: UDP, length 64
14:53:42.416840 IP 10.1.250.10.2048 > 192.168.0.6.2048: UDP, length 152
14:53:42.416870 IP 10.1.250.10.2048 > 192.168.48.48.2048: UDP, length
152
14:53:42.417544 IP 192.168.48.48.2048 > 10.1.250.10.2048: UDP, length 92
14:53:52.417504 IP 10.1.250.10.2048 > 192.168.0.6.2048: UDP, length 152
14:53:52.417540 IP 10.1.250.10.2048 > 192.168.48.48.2048: UDP, length
152
14:53:57.413797 IP 192.168.0.6.2048 > 10.1.250.10.2048: UDP, length 64

Any suggestions on how the configuration should be done?

Arnaud.

Amarantis Onderwijsgroep is de concernorganisatie van ISA-scholen en ROC ASA
Received on Tue Jul 24 2007 - 07:27:49 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:04 MDT