2 replies Latest Post - ‏2014-02-05T22:43:21Z by karpovmq
7 Posts

Pinned topic Multiple IPs

‏2014-02-03T17:07:40Z |

Hi All,

We are working on Connect:Direct on Windows Server 2012. We need to specify what IP use for outbound messages, but don't know if this is possible. For example if we want to run a process and connect to a remote node 2 we want to use IP1, but if we are dealing with the remote node 3, we want to to use IP2. The requeriment we have is to use a public IP to connect to remote servers and use a local IP to connect to local servers. Any hint on this is very appreciated.

Thanks in advance.

  • VolkerFriedrich
    148 Posts

    Re: Multiple IPs

    ‏2014-02-05T13:34:32Z  in response to karpovmq

    I would try to solve this in the routing table of the OS:
    When the network destination is node 2, use the interface associated with IP1.
    When the network destination is node 3, use the interface associated with IP2.

    Leave the outgoing.address initparm set to "<None>", so that Connect:Direct will not specify the source IP address. In this case the source IP address is automatically set by the interface that handles the outgoing connection.