Forum Discussion
Dave_73612
Nimbostratus
Jul 28, 2009Pool redirect based on source IP Range
Hi guys,
I need to write an IRule to route traffic to different pools based on source IP range.
Would this be the best syntax to use?
when CLIENT_ACCEPTED ...
Dave_73612
Nimbostratus
Jul 29, 2009Yep they are for that example however:
I dont want to define the client IP
I want to check [IP::addr [IP::client_addr] against a known defined range and only redirect IP's of that range off to another pool.
Or am I missunderstanding you here hehe.
Also with this example
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.10.10.0/24] } {
pool my_pool
}
}
Would i need an else pool default_pool ? Or is it implied.
D
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