Forum Discussion
duongnt_25195
Nimbostratus
Jun 15, 2009BIGIP LTM Loadbalancing for Cache Farm with Client IP Spoofing feature.
Dear everyone.
Please help me with this topology.
Network topology attached as below.
Routing:
Cache farm using Bluecoat Cache Devices.
Default route of caches is BigIP VLAN 2's ip address (233.x.x.129)
Default route of BigIP is Vlan 3 on Multilayer Switch (MS) (233.x.x.230)
Vlan 1 of MS connect to Subscribers network and Vlan 2 connect direct to Internet router.
Configurations:
BIG-IP LTM:
I created two Pools:
Go_in_pool: has 3 members are three Cache devices (233.x.x.130-132)
Go_out_pool: has only one member: VLAN3 MS (233.x.x.230)
And two Wildcard Virtual Server associate with 2 pools:
Go_in_server:
- Destinations: Network 0.0.0.0/0.0.0.0
- Service Port: 0
- Type: Performance L4
- Protocol: All Protocol
- Enable on: VLAN 1 (external)
Go_out_server:
- Destinations: Network 0.0.0.0/0.0.0.0
- Services port: 0
- Type: Performance L4
- Enable on: VLAN 2 (internal)
Cache Device:
- Caching for HTTP Traffic
- Using Client IP Spoofing feature: This feature allow Cache devices sent HTTP Request to real server with IP address of client.
Multilayer Switch: Redirect traffic:
Rule 1:
- Flow: Vlan 1, ingress
- Source IP address: Subscribers IP address
- Destination port: 80
- Action: Redirect to 233.x.x.229 (BIG-IP SelfIP Vlan external)
Rule 2:
- Flow: Vlan 2, Ingress
- Destination IP address: Subscribers IP address
- Source Port: 80
- Action: Redirect to 233.x.x.229 (BIG-IP SelfIP Vlan external)
And now I have serious problem.
- When Client sent HTTP requset (www.example.com), MS redirect this request to F5. F5 sent to Cache1.
- Cache 1 check itself, if it has content for this request, it return for Client via F5 – This's OK.
- If Cache 1 does not has content, it act as client and sent request to real server (www.example.com) to get data.
- But when using Client IP Spoofing Feature, Cache sent request with source address of Client.
- When Real server reply, it sent packet HTTP response with destination IP is IP address of Client via Internet Router.
Internet Router sent this packet to MS. MS redirect this packet to F5.
At this point. F5 see this package as new request and sent to Cache farm
- IF F5 send this package to Cache1, Cache 1 has content and response to Client correctly.
- IF F5 send this package to Cache 2 or Cache 3, Cache 1 wait to time out for it's connection. And after time out, it send an error response to Client.
That's why our network too slow and has a lot of error sessions.
Please give me an advice to fix this case.
- The_Bhattman
Nimbostratus
Do you have persistence turned on? - duongnt_25195
Nimbostratus
Dear CB. - The_Bhattman
Nimbostratus
Destination persistence is what is usually recommended for Proxy caches. I don't think that would be the root cause, but it could be pointing to another issues. Curiously is your network connection on the LTM and blue coat set to auto or is it hard coded? - duongnt_25195
Nimbostratus
Dear CB. - The_Bhattman
Nimbostratus
Rereading your problem again I was thinking why would you need the client IP spoofing turned on. In other words why would you want to send the IP address of yoour client to the internet server? - duongnt_25195
Nimbostratus
Our network is an ISP. So we must enable Client IP Spoofing feature. If not, some download site like rapidshare, megaupload will limit quota for Cache IP, and then, client clould not download from these sites. - zekky_101290
Nimbostratus
Could you please check if the auto last hop feature is enabled. This feature is found in system->configuration->Local Traffic->General. - Alex_3303
Nimbostratus
an news for this issue? - The_Bhattman
Nimbostratus
Just waiting back for a response post from duongnt. - duongnt_25195
Nimbostratus
Dear all.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects