Forum Discussion
Simon_Gregory_1
Nimbostratus
Jan 22, 2007Redirect Help (but NOT over HTTP) !
Hi,
I have two LTM's on two physical sites (site A & B). I intend to install an iRule on the LTM (site A) to direct specific traffic originating from a specific source. This traffic will be directed to a Virtual Server installed on a different LTM (on site B). The application is not using the HTTP/S protocol.
when CLIENT_ACCEPTED {
Checks to see if remote_addr = any in the 'source_ip' class
if { [matchclass [IP::remote_addr] equals $::source_ip] } {
Route the connection to the remote Virtual Server (10.x.x.x:41475)
which is managed by a different remote LTM
???????????????????? 10.x.x.x:41475
}
else {
Send the connection to the local Pool on the local LTM
pool local_pool
}
}
Thanks, Simon (UK)
- My initial thoughts here are that the easiest way to accomplish this is to create a second pool on LTM A, which contains a single entry - the VIP IP on LTM B.
- Simon_Gregory_1
Nimbostratus
Hi Aaron, - Mike_Graston_10
Nimbostratus
I had done something similar to this where as I needed to snat the incoming address so it would pass through the 1st F5. then the remote node/vip/IP would then route back through the original f5. Not sure of your Network topology but something to consider as you probably don't want an asymetric route.
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