Forum Discussion
Srini_Vaiyapuri
Nimbostratus
Jan 26, 2016Need help with an Irule
Hi,
We have request that when user from diferent source IP subnets ( for eg: 10.10.10.0/24 , 20.20.20.0/24 and 30.30.30.0/24) hits the F5 VIP IP, VIP needs to respond back from specific tier (we...
Dinesh_22825
Nimbostratus
Jan 26, 2016You can create datagroups, 2 pools something like web pool and app pool and validate source IP with that datagroup using irule. Once validation is successful you can redirect it to the pool accordingly.
Check if client IP is part of datagroup
when HTTP_REQUEST {
if { [matchclass [IP::client_addr] equals ]}{
pool
}
}
Srini_Vaiyapuri
Nimbostratus
Jan 26, 2016Thanks Dinesh.
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