Forum Discussion
abachman_72712
Nimbostratus
Aug 03, 2009Filter by incoming IP address
I need to write an iRule for a pool that will direct traffic to the correct member by incoming IP address. The pool members are setup to push traffic to member on service port 9081.
(e...
Ian_Smith
Aug 08, 2009Ret. Employee
If what you are saying is that you have a SOAP message that contains an element which will tell you which pool member to send it to, then what you need to do is:
- search for that element using [XML::element]
- make a variable out of its value [set]
- then switch on that variable [switch]
- when you match it, you can use [active_members] to check if the pool member is available
- then write a session entry using [session] if you need to
- and direct the traffic to it using the member specification in [pool]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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