Forum Discussion
walt_97468
Nimbostratus
Feb 09, 2010inbound requests for FTP and sFTP
We have a need to send requests to different nodes within a pool, based on source IP address. For example if a request comes in from 172.16.95.5 send it to node 192.168.1.10, and if the request comes...
The_Bhattman
Nimbostratus
Feb 10, 2010Hi Walt,
If you using datagroups
You could define 2 datagroups
class net1 {
172.16.95.5 255.255.255.255
}
class net2 {
172.16.95.6 255.255.255.255
}
when CLIENT_ACCEPTED {
if { [matchclass [IP::client_addr] equals $::net1] } {
node 192.168.1.10
} else if { [matchclass [IP::client_addr] equals $::net2] } {
node 192.168.1.11
}
}
Then you can define as many networks you want in these datagroups to correspond which node you would like them send the traffic to.
I hope this helps
Bhattman
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