Reputation: 386
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.
Upvotes: 1
Views: 77