Forum Discussion
irule that will direct traffic based on source IP
Hello,
I was wondering if there was a way to use an I rule to direct traffic to a specific pool based on the first two octes.
We have one VIP and will have 7 diff. pools and will have approx 200 dif. source IPs. But, we need to send specific source IP traffic to a specific pool.
So is there a way say if IP contains 10.100.x.x send to pool A if IP contains 10.200.x.x send to pool B?
Thanks.
1 Reply
sure, simple compare against subnet 10.100.0.0/16 and 10.200.0.0/16. there are enough examples on how to do that.
something like this: https://devcentral.f5.com/questions/pool-redirect-based-on-source-ip-range
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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