Set network interface on client host to be used for Cache connections
I'm connecting to Intersystems Cache database using Intersystems JDBC Driver. There are several network interfaces on client host. I need to make all the Cache traffic to go through a particular interface. Is there a way to choose which network interface to use for Cache connection via JDBC Driver API or somehow via Java code? The approach to use ip route add is suitable but I'm looking for a Java-way like setLocalAddress() on some APIs or something.
Discussion (1)0
Comments
Hi Tom,
i guess this is so you are using a specific VLAN? Usually to achieve this you would need to use the target IP of the network interface of the adapter assigned to the VLAN.
But i might be totally wrong with my assumptions.