Forum Discussion
dnoble_103799
Nimbostratus
Jul 08, 2009REdirect
Is it possible to configure a Big IP to route the requests from a given group of IP addresses to a set of hosts on a specific port, while routing the requests from all the other IP addresses to the sa...
hoolio
Cirrostratus
Jul 08, 2009You can define the two different groups of destination hosts in two separate pools:
special_pool
1.1.1.1:80
1.1.1.2:80
1.1.1.3:80
1.1.1.4:80
main_pool
1.1.1.1:8080
1.1.1.2:8080
1.1.1.3:8080
1.1.1.4:8080
And then define the set of client IP addresses you want sent to special_pool in a datagroup of type 'address'. You can create a datagroup under Local Traffic >> iRules >> Datagroups.
You can then use an iRule which checks the client IP address against a datagroup:
when CLIENT_ACCEPTED {
Check if client is in special_clients datagroup
if {[matchclass [IP::client_addr] equals $::special_clients]}{
Use the special pool
pool special_pool
} else {
pool main_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
