I have two network devices/interface in my computer (each of 1Gbit) that are configured with a different IP address (but on the same network). These two interfaces IP1 & IP2 are connected by two cables to a switch and from the switch to other devices.
I would like to connect by TCP/IP to two devices D1 & D2, such that each of the network devices IP1 & IP2 will be connected to its equivalent device DIP1 & DIP2. In other words, I would like to force that communication to D1 will pass only through IP1 and that communicationm to D2 will pass only through IP2.
Now, the question is whether "bind" with the relevant local IP address of the network interface will do the work? Will it force communication to pass through the specific network device? I was told that binding to a specific local network interface (IP address) does not neccesarly force that communication will pass through the physical interface. Please advice.
Thanks
Yossi
I would like to connect by TCP/IP to two devices D1 & D2, such that each of the network devices IP1 & IP2 will be connected to its equivalent device DIP1 & DIP2. In other words, I would like to force that communication to D1 will pass only through IP1 and that communicationm to D2 will pass only through IP2.
Now, the question is whether "bind" with the relevant local IP address of the network interface will do the work? Will it force communication to pass through the specific network device? I was told that binding to a specific local network interface (IP address) does not neccesarly force that communication will pass through the physical interface. Please advice.
Thanks
Yossi