Use the ICIClientSettings interface SetHomeIPString method to designate the IP address where the user or Settings Level must make connections.
Signature:
HRESULT SetHomeIPString([in] BSTR bstrVal);