hc_andy_35682
May 07, 2010Nimbostratus
VS Redirection while maintaining Source IP
Hi All,
I need help with an iRule.
We have two VIPS set up on the LTM.
1/ PROXY_VIP
2/ WEBMAIL_VIP
We have schools that use the PROXY_VIP for all HTTP/HTTPS connections. What I want to do is have the schools bypass the PROXY_VIP when they access http://www.webmail.com and redirect the request to WEBMAIL_VIP. I need the school's IP address to be preserved because we are using source_address persistence with the WEBMAIL_VIP to maintain sessions. Is this possible using an iRule?
Can I put this iRule on the PROXY_VIP??
Eg: http://www.webmail.com = IP Address A.B.C.D
when HTTP_REQUEST {
if { [IP::addr [IP::dest_addr] equals A.B.C.D] } {
virtual WEBMAIL_HTTP
}
}
Will this preserve the school's IP address???
Thanks.
Andy