When using a Virtual Service that has Non-Local Real Servers, the Source IP Address will always be the Virtual Service IP address. Some environments want to have the Source IP Address to be the interface of the Loadmaster and not the Virtual Service IP address. The following article will show you how to set this up.
Pre-requisite: Make sure Allow connection scaling over 64K Connections is checked, the option (Alternate Source Addresses) will not show up in Advanced properties until this is checked.
This is located in System Configuration -> Miscellaneous Options -> L7 Configuration -> Allow connection scaling over 64K Connections.
Next, you will have to navigate to the Virtual Service that you want to change the Source IP Address of. Navigate to advanced properties -> Alternate Source Addresses and type in the new Source IP Address. You will not need to add the CIDR here.
You can make the Alternate Source Addresses the IP of whatever Source IP Address you would like to see the traffic come from. Just need to make sure your real server knows how to send the traffic back to the new Source IP Address.
After completing the configuration you can verify this is all working by taking a packet capture on the Loadmaster. In my test environment, I made the alternate Source IP Address 18.104.22.168. As you can see in the screenshot the Source IP Address is now 22.214.171.124.
My real server doesn’t know where this Source IP Address is so it will not complete the TCP connection.