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 ...
hoolio
Cirrostratus
Jul 28, 2009Hi,
With IP::addr (Click here), you can use /cidr notation:
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr]/24 equals 10.10.10.0] } {
pool my_pool
}
}
Aaron
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