use gateway based on source address
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 out a particular gateway, in this case, 10.64.20.2 (firewall interface).
I set up a 0.0.0.0/0.0.0.0 IP forwarding VS coupled with this irule
when CLIENT_ACCEPTED {
if {[[IP::client_addr] equals "10.64.40.0/24"] } {
node 10.64.40.2
}
}
The LTM floating IP (10.64.40.1) is set as the default gateway of the node, and node IP is 10.64.40.80.
Doesn't want to work for some reason.
I tried copying the config from this thread: http://devcentral.f5.com/Community/...fault.aspx
Looks pretty straightforward, but I must be doing something wrong. Would appreciate if others had any thoughts/ideas.
Thanks,
-Ken