Re: [squid-users] Re: Need your help : Tproxy + WCCP

From: Vivek <viveksnv_at_aol.in>
Date: Wed, 18 Feb 2009 06:52:32 -0500

Henrik,

Thanks for your prompting reply.

I had configured the WCCP rules on the Ethernet 0 interface(Clients
connected interface). Eth 1 - Squid server, Serial Int - internet.

ip wccp 80 redirect in

ip wccp 90 redirect out

WCCP status in the router.

Cisco-2851-IFT#sh ip wccp 80 detail

WCCP Client information:

        WCCP Client ID: xx.xx.xx.xx

        Protocol Version: 2.0

        State: Usable

        Initial Hash Info: 00000000000000000000000000000000

                                 00000000000000000000000000000000

        Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

                                 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

        Hash Allotment: 256 (100.00%)

        Packets s/w Redirected: 5

        Connect Time: 00:04:31

        Bypassed Packets

          Process: 0

          Fast: 0

          CEF: 0

          Errors: 0

Cisco-2851-IFT#sh ip wccp 90 detail

WCCP Client information:

        WCCP Client ID: xx.xx.xx.xx

        Protocol Version: 2.0

        State: Usable

        Initial Hash Info: 00000000000000000000000000000000

                                 00000000000000000000000000000000

        Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

                                 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

        Hash Allotment: 256 (100.00%)

        Packets s/w Redirected: 0

        Connect Time: 00:05:11

        Bypassed Packets

          Process: 0

          Fast: 0

          CEF: 0

          Errors: 0

Please give some ideas for troubleshooting this..

Thanks

Vivek N.

-----Original Message-----

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>

To: Vivek <viveksnv_at_aol.in>

Cc: squid-users_at_squid-cache.org

Sent: Wed, 18 Feb 2009 5:10 pm

Subject: Re: [squid-users] Re: Need your help : Tproxy + WCCP

ons 2009-02-18 klockan 06:31 -0500 skrev Vivek:

> wccp2_router xx.xx.xx.xx

>

> wccp_version 4

Why? This is related to WCCP(v1) and 4 is the default. No need to

specify. In fact we should probably remove this directive even as it's

not of any much practical use today, those with such old IOS versions

better upgrade anyway..

> wccp2_forwarding_method 1

>

> wccp2_return_method 1

>

> wccp2_assignment_method 1

>

> wccp2_service dynamic 80

>

> wccp2_service_info 80 protocol=tcp flags=src_ip_hash priority=240

> ports=80

Ok.

> wccp2_service dynamic 90

>

> wccp2_service_info 90 protocol=tcp flags=dst_ip_hash,ports_source

> priority=240 ports=80

No obvious errors there.

> and service 80 and 90 are enabled in the router. But only 80 service
is

> working( Packets redirected), 90 service is not working.

I would triple-check that the router config is correct.

 - Service configured

 - The router view of the wccp state.

 - That the wccp service is attached to the right interface of the

router

Regards

Henrik

________________________________________________________________________
You are invited to Get a Free AOL Email ID. - http://webmail.aol.in
Received on Wed Feb 18 2009 - 11:53:31 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 18 2009 - 12:00:01 MST