I
I
Ilya Miroshnichenko2015-06-15 10:20:40
Computer networks
Ilya Miroshnichenko, 2015-06-15 10:20:40

How to direct application traffic to a specific network interface?

There is a Windows application that checks the functionality of several remote web services on the Internet. The task is to check their performance through several Internet providers that are connected to the computer through several network cards. Clarification: it is necessary to check all services through each provider. And it is desirable to do this at the same time, i.e., the option of turning on network interfaces in turn and starting the program is the most extreme case.
At the moment, the problem has been solved using virtual machines, each of which has one network card attached, and the application is already running in the VM. Cons: part of the resources for maintaining the VM is lost, it is difficult to explain the maintenance process to the staff.
Is it possible to somehow direct application traffic to a specific network interface without using a VM? Can Docker do this? I just haven't met him yet. Is it possible to do this using third-party software or OS tools?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rainbird, 2015-06-15
@miroshnics

I used the ForceBindIP software, but that was during the WinXP days. See if it's still alive...

M
Max, 2015-06-15
@MaxDukov

"on the forehead" before each application launch, change the default route.
On Linux, what you want is called advanced routing / policy based routing, on Win, as far as I know, there is no built-in solution.
Maybe ISA/TMG would help you. But I'm not sure.

I
Ivan, 2015-06-15
@LiguidCool

Well ping -S zhezh?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question