Try "show ip wccp web-cache detail", see what the hash assignment masks are.
Adrian
On Thu, Jan 04, 2007, tacoen wrote:
> Hi! I dig everywhere but could not found the answer of my recent wccp
> implementations
>
>
> in my router, I could see
>
> sh ip wccp web-cache view
>
> WCCP Routers Informed of:
> IP-OF-ROUTER
>
> WCCP Cache Engines Visible:
> IP-OF-SQUID
>
> WCCP Cache Engines NOT Visible:
> -none-
>
>
> In router term mon, i see:
>
> 1d17h: WCCP-PKT:S00: Received valid Here_I_Am packet from IP-OF-SQUID
> w/rcv_id 00001309
> 1d17h: WCCP-PKT:S00: Sending I_See_You packet to IP-OF-SQUID w/ rcv_id
> 0000130A
>
> and so on...
>
> in my /var/log/squid/cache.log
>
> 2007/01/04 02:53:32| wccp2HereIam: Called
> 2007/01/04 02:53:32| wccp2HereIam: sending to service id 0
> 2007/01/04 02:53:32| Sending HereIam packet size 144
> 2007/01/04 02:53:32| wccp2HandleUdp: Called.
> 2007/01/04 02:53:32| Incoming WCCPv2 I_SEE_YOU length 132.
> 2007/01/04 02:53:32| Complete packet received
> 2007/01/04 02:53:32| Incoming WCCP2_I_SEE_YOU Received ID old=4881 new=4882.
> 2007/01/04 02:53:32| Cleaning out cache list
> 2007/01/04 02:53:32| checking cache list: (a98e6e40:a98e6e40)
> 2007/01/04 02:53:32| Change not detected (26 = 26)
>
> But in "sh ip wccp"
>
> Global WCCP information:
> Router information:
> Router Identifier: IP-OF-ROUTER
> Protocol Version: 2.0
>
> Service Identifier: web-cache
> Number of Cache Engines: 1
> Number of routers: 1
> Total Packets Redirected: 0
> Redirect access-list: REDIRECTL
> Total Packets Denied Redirect: 0
> Total Packets Unassigned: 0
> Group access-list: SQUID
> Total Messages Denied to Group: 0
> Total Authentication failures: 0
>
> In my squid.conf:
>
> wccp2_router IP-OF-ROUTER
> wccp2_rebuild_wait on
> wccp2_forwarding_method 1
> wccp2_return_method 1
> wccp2_assignment_method 1
> wccp2_service standard 0
> wccp2_weight 10000
> wccp2_address IP-OF-SQUID
>
> My question is: Why my Total Packets Redirected is 0 ?
> The number of object in squid cache is also not increasing also.
>
> What wrong? I try to use wccp version 1, but it also got zero packets
> redirected.
>
>
> IP-OF-SQUID and IP-OF-ROUTER is on the same subnet. IP that being
> redirected is also on the same subnet.
>
> What did happen?
>
>
>
> The rest of references:
> --------------------------------
>
>
>
> #modprobe ip_gre
> #ip tunnel add gre0 mode gre remote 64.110.142.161 local
> 64.110.142.169 dev eth0
> #ip addr add 172.16.1.6/32 dev gre0
> #ip link set gre0 up
>
> ifconfig
>
> # ifconfig gre0
> gre0 Link encap:UNSPEC HWaddr
> 00-00-00-00-05-08-28-2C-00-00-00-00-00-00-00-00
> inet addr:172.16.1.6 Mask:255.255.255.255
> UP RUNNING NOARP MTU:1476 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
>
> #iptables -L -t nat -xnv
>
> Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
> pkts bytes target prot opt in out source
> destination
> 0 0 DNAT tcp -- gre0 * IPS-MYNET !
> IPS-MYNET tcp dpt:80 to:IP-OF-SQUID:3128
> 0 0 REDIRECT tcp -- gre0 * 0.0.0.0/0
> 0.0.0.0/0 tcp dpt:80 redir ports 3128
> 0 0 REDIRECT tcp -- eth0 * 0.0.0.0/0
> 0.0.0.0/0 tcp dpt:80 redir ports 3128
>
>
>
> As for router, I use
>
> IOS (tm) C2600 Software (C2600-IS-M), Version 12.1(4), RELEASE SOFTWARE
> (fc1)
>
> sh run
>
> --cut--
>
> policy-map qos
> !
> ip subnet-zero
> no ip source-route
> ip wccp web-cache redirect-list REDIRECTL group-list SQUID
> no ip finger
> no ip domain-lookup
>
> --cut--
>
> interface FastEthernet0/1
> ip address MYNET MYNETMASK
> no ip unreachables
> ip wccp redirect exclude in
> ip wccp web-cache redirect out
> no ip mroute-cache
> duplex auto
> speed auto
> no cdp enable
>
> --cut--
>
> ip access-list standard SQUID
> permit IP-OF-SQUID
> !
> ip access-list extended REDIRECTL
> deny ip host IP-OF-SQUID any
> permit ip any any
>
> --cut--
>
>
>
> Thanks in advance.
>
>
> --
> Oh, this is my hypertext version:
> http://tacoen.smedia.or.id
> http://www.flickr.com/photos/tacoen-and-tacoen/
>
> --
> Oh, this is my hypertext version:
> http://tacoen.smedia.or.id
> http://www.flickr.com/photos/tacoen-and-tacoen/
-- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level bandwidth-capped VPSes available in WA -Received on Wed Jan 03 2007 - 19:09:22 MST
This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:00 MST