Forum Discussion
What_Lies_Bene1
May 07, 2013Cirrostratus
There are is a flaw in that plan, namely that a forwarding VS will rely on the routing table and any static route you configure will be installed with a higher metric that the route that's created by the connected interface.
The default gateway can't be directly modified as such and certainly not on a per connection basis, however, this iRule (applied to a L3 or above VS) should work I think as long as NodeB also routes back via the firewall;
when CLIENT_ACCEPTED {
if { [IP::addr [IP::local_addr] equals 10.101.104.0/24] } {
nexthop vlan_name 10.101.224.220
}
}