Joe,
Many thanks for your kind to help me. I want to report you the progress (and
result) I did.
My IOS seems not support old IOS command such as "wccp enable", below my IOS
setting to enable and redirect WCCP (it is 100% same with Al Blake's):
ip wccp version 1
ip wccp web-cache
!
interface Ethernet0
ip address 10.0.0.1 255.255.255.192
ip wccp web-cache redirect out
no ip directed-broadcast
no ip mroute-cache
!
I tried to change wccp_outgoing to my router address (10.0.0.1). But Squid
abnormally terminated with message in cache.log:
2001/03/10 11:43:04| Accepting HTTP connections at 0.0.0.0, port 8080, FD 5.
2001/03/10 11:43:04| Accepting ICP messages at 0.0.0.0, port 3130, FD 7.
2001/03/10 11:43:04| Accepting SNMP messages on port 3401, FD 8.
2001/03/10 11:43:04| Accepting WCCP messages on port 2048, FD 9.
2001/03/10 11:43:04| commBind: Cannot bind socket FD 10 to 10.0.0.1:2048:
(99) Cannot assign requested address
2001/03/10 11:43:04| storeDirWriteCleanLogs: Starting...
2001/03/10 11:43:04| WARNING: Closing open FD 5
2001/03/10 11:43:04| 65536 entries written so far.
2001/03/10 11:43:04| 131072 entries written so far.
2001/03/10 11:43:05| 196608 entries written so far.
2001/03/10 11:43:06| 262144 entries written so far.
2001/03/10 11:43:07| 327680 entries written so far.
2001/03/10 11:43:07| WARNING: Closing open FD 7
2001/03/10 11:43:09| Finished. Wrote 349151 entries.
2001/03/10 11:43:09| Took 5.0 seconds (69391.4 entries/sec).
FATAL: Cannot open Outgoing WCCP Port
Squid Cache (Version 2.3.STABLE4): Terminated abnormally.
Then I undo the change and Squid seemed run normal again.
2001/03/10 11:45:59| Accepting HTTP connections at 0.0.0.0, port 8080, FD 8.
2001/03/10 11:45:59| Accepting ICP messages at 0.0.0.0, port 3130, FD 9.
2001/03/10 11:45:59| Accepting SNMP messages on port 3401, FD 10.
2001/03/10 11:45:59| Accepting WCCP messages on port 2048, FD 11.
2001/03/10 11:45:59| Ready to serve requests.
FYI, I try to run WCCP simultaneously with route map, it works ! Packet
redirection counter start counting the packets. If I remove "wccp lines"
from Ethernet0 section, counter stopped. But that is a stupid progress to
apply, right? Because I won't get the "health check" benefit.
My IOS still get no "HERE_I_AM" (debug ip wccp event -> ON) although I typed
"terminal monitor" to emulate console mode.
Thx & rgds,
Awie
----- Original Message -----
From: "Joe Cooper" <joe@swelltech.com>
To: "Awie" <awie@eksadata.com>
Sent: Saturday, March 10, 2001 12:42 PM
Subject: Re: WCCP issue
> I don't mind questions. However, if you didn't get any errors when you
> modprobe'd the ip_wccp module, it shouldn't be the source of your
> problems. Try adding one of the incoming or outgoing options (I've
> found I had to do so to make it work in some situations).
>
> You're getting close...but I've always found it pretty tricky to get
going.
>
> Awie wrote:
>
> > Joe,
> >
> > So far, I still get the problem. This morning I will try to cache the
> > wccp_outgoing tag in Squid.conf. I suspect that ip_wccp is the source of
my
> > current problem. I will try your WCCP patch.
> >
> > However, as a new beginner in Linux, I will be very confuse to apply
patch.
> > Few days, ago I tried to apply kernel patch 2.2.18 to kernel 2.2.14. I
got
> > some hunks.
> >
> > Hope you won't mind if I send you questions.
> >
> > Thx & rgds,
> >
> > Awie
> >
> > ----- Original Message -----
> > From: "Joe Cooper" <joe@swelltech.com>
> > To: "Awie" <awie@eksadata.com>
> > Sent: Friday, March 09, 2001 2:42 AM
> > Subject: Re: WCCP issue
> >
> >
> >
> >> Awie wrote:
> >>
> >>
> >>> Hi Joe,
> >>>
> >>> I am sorry not reply you soon. I was very tired not sleeping for
almost
> >>
> > 48
> >
> >>> hours.
> >>
> >> I've been there, done that. So I sympathize.
> >>
> >>
> >>
> >>> Anyway, I have access list in my IOS that routing the www request to
> >>
> > Squid
> >
> >>> box. Here the list:
> >>>
> >>> interface Ethernet0
> >>> ip address 10.0.0.1 255.255.255.192
> >>> no ip directed-broadcast
> >>> no ip mroute-cache
> >>> ip policy route-map proxy-redir
> >>> !
> >>> access-list 150 deny tcp host 10.0.0.2 any eq www
> >>> access-list 150 permit tcp any any eq www
> >>> route-map proxy-redir permit 10
> >>> match ip address 150
> >>> set ip next-hop 10.0.0.2
> >>>
> >>> I tried to put command "ip wccp redirect-list 150" in my IOS, but it
did
> >>
> > not
> >
> >>> help.
> >>
> >> I'm no router expert! You've got all the information I do, actually.
> >> The document that I wrote and the bit on that web page I linked you to,
> >> is what I always go on. ;-)
> >>
> >>
> >>> I read an article, that WCCP will "react" (conversation between
router
> >>
> > &
> >
> >>> squid) within (around) 30 seconds. Is that right? Or it will "react"
> >>
> > very
> >
> >>> instantly?
> >>
> >> Squid sends out WCCP "HERE_I_AM" messages every thirty seconds. WCCP
> >> responds immediately. On starting Squid, it will send a message as
soon
> >> as it is ready to accept requests. So almost instant (10-15 seconds).
> >>
> >>
> >>> Should I load modprobe ip_wccp every time system reboot? If yes, I
will
> >>
> > put
> >
> >>> it in my rc.d file.
> >>
> >> Read up on using rc.modules. It's purpose is for loading modules that
> >> are always present on a system. (It will work to put it in rc.local as
> >> well.)
> >>
> >>
> >>> Tomorrow morning I will re-check and re-run WCCP again.
> >>>
> >>> Thx & rgds,
> >>>
> >>
> >> Good luck.
> >>
> >>
> >> --
> >> Joe Cooper <joe@swelltech.com>
> >> Affordable Web Caching Proxy Appliances
> >> http://www.swelltech.com
> >>
>
>
> --
>
> --
> Joe Cooper <joe@swelltech.com>
> Affordable Web Caching Proxy Appliances
> http://www.swelltech.com
>
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Fri Mar 09 2001 - 22:26:37 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:36 MST