Forum Discussion
yammy1688_99834
Mar 29, 2011Nimbostratus
use gateway based on source address
Hey Gang, I've been working with f5 support trying to get this working while now but can't seem to get it going for some reason. Essentially, I need traffic sourced from a node to be sent o...
Michael_Yates
Mar 29, 2011Nimbostratus
Sure. Try this:
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals mynetworks] } {
pool matching.pool.name or node 10.10.10.10
}
else {
pool nonmatching.pool.name or node 20.20.20.20
}
}
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