Forum Discussion
iRule to Force Source IP to Specific Backend Node
- Jan 08, 2025
Jison111 to force the source IP to a specific Pool member you can use an Irule or an LTM Policy.
I found some information that could help answer your questions on our myf5 portal, please click on the links below .
K43431442: Configuring an iRule to select an alternate Pool from the Default Pool based on client IP address.
https://my.f5.com/manage/s/article/K43431442K73862425: Creating external data groups
https://my.f5.com/manage/s/article/K73862425https://clouddocs.f5.com/api/irules/IP__client_addr.html
I hope this helps.
instead of irules, you can use gui based local traffic policy.
put node1 to pool1 and node2 to pool2
create lt policy and rules such as below
then attach the lt policy to the vserver
Recent Discussions
Related Content
* 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