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...
yammy1688_99834
Mar 29, 2011Nimbostratus
Posted By hoolio on 03/28/2011 08:11 PM
Hi Ken,
It's missing "IP::addr" to actually do the comparison:
when CLIENT_ACCEPTED {
if {[IP::addr [IP::client_addr] equals "10.64.40.0/24"] } {
node 10.64.40.2
}
}
Aaron
Would it be possible to use a class containing a subnet/gateway pair for this rule? I can't quite figure out how to get a pair of variables to go together.
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