Hi, I am currently deploying LTM with Bluecoat cache servers in my customers network.
The ADC has two gateway routers connected and those routers have different NAT pools, so packets from outside network traverse one of the two according to the NAT IP addresses.
When a cache server requests OCS for the original contents as a client, the request needs to be classified and forwarded based upon NAT IPs in order not to make asymmetric traffic flows since the cache server is transparent to OCS and source IP address the cache server is using is the “original” client’s IP.
I have implemented an irule as written below trying to classify requests to OCS as the NAT IPs, BUT IT DID NOT WORK.
when CLIENT_ACCEPTED {
if { [IP::addr [IP::remote_addr] equals X.X.X.0/25] || [IP::addr [IP::remote_addr] equals Y.Y.Y.0/25]} {
pool p_pe_01
}
elseif { [IP::addr [IP::remote_addr] equals X.X.X.128/25] || [IP::addr [IP::remote_addr] equals Y.Y.Y.128/25]} {
pool p_pe_02
}
else {
pool p_gw
}
}
Any CORRECTION or SUGGESTION would be appreciated!!!
Thanks in advance,
Dylan