Forum Discussion
uid01040_95184
Nimbostratus
Mar 06, 2009Referencing Sourc-IP of Pool-Members
Hi,
I have to check if the source-ip of a http-request
matches any member node of a given pool; is there a way to do this without comparing the source-ip to a list of strings containing the Node-ips ?
thanks for your input....
hape
- hoolio
Cirrostratus
Hi,when LB_SELECTED { This event is triggered when a load balancing decision has been made Check if the client IP address is the selected pool member IP address if {[IP::addr [IP::client_addr] equals [LB::server addr]}{ client IP is the same as the server IP } }
when CLIENT_ACCEPTED { Check if client IP:VIP port exists in the pool and is marked up if {[LB::status pool [LB::server pool] member [IP::client_addr] [TCP::local_port]] eq "UP"}{ The client IP is in this pool and marked up } }
- uid01040_95184
Nimbostratus
Hi
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