Score:0

Why I'm Getting "Service web-cache lost on WCCP clinet" error on cisco router?

ar flag

I'm configuring wccp and squid.

Here is wccp configuration or router:

ip wccp web-cache redirect-list wccp-access group-list wccp-server
!
interface FastEthernet1/0
 ip address 10.10.10.1 255.255.255.0
 ip wccp web-cache redirect in
 duplex auto
 speed auto
!
ip access-list standard wccp-server
 permit 10.10.10.2
!
ip access-list extended wccp-access
 deny   ip host 10.10.10.2 any
 permit tcp host 10.10.10.3 any eq www
 deny   ip any any

Here is squid configuration on ubuntu:

enter image description here

Also I set iptables configuration as below:

iptables -t nat -F PREROUTING
iptables -t nat -A PREROUTING -i wccp1 -p tcp --dport 80 -j DNAT --to-destination 10.10.10.2:3128
echo 1 > /proc/sys/net/ipv4/ip_forward
echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/wccp1/rp_filter

Also GRE setup is as following:

iptunnel add wccp1 mode gre remote 101.10.10.1 local 10.10.10.2 dev ens33
ifconfig wccp1 up
ifconfig wccp1 10.10.10.2/32

But I'm Getting "Service web-cache lost on WCCP clinet 10.10.10.2" error on router.

How can I solve the problem??

in flag
Your GRE tunnel seems to be setup to 101.10.10.1 when it should be going to 10.10.10.1. Did you mistype in this post or on your server?
Mehran avatar
ar flag
Thanks for your comment. it's just a typo in this post.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.