Answer the question
In order to leave comments, you need to log in
How to create multiple network connections and force different programs to use different network connections?
There is a computer with wondows 7. It has one physical network card and one Internet. There are many different network applications running on this computer all the time. As a result, all applications connect to the network through a single network connection.
I need the ability to configure network card settings for various applications. For example, so that Application1 connects with MacAddress1, and Application2 connects with MacAddress2 (namely, on the network card, although they already connect through different proxies).
The first thing that came to my mind was to create many virtual network connections (for one physical network card), specify their poppy addresses in each connection, and then, somehow, bind different applications to different network connections.
The problem is that everything should work automatically, without any manual configuration every time you start each program. That is, when launched (by me or another application), .exe1 must connect to the Internet through Adapter1, when launched, exe2 must connect to the Internet through Adapter2, and so on.
Question 2 immediately comes up:
1) What is the most convenient way to create many network connections with different settings if there is only one network card?
2) How then to bind different applications to different network connections?
I tried to add a script to automatically intercept a certain application by the name of .exe when it starts and run it through ForceBindIP, nothing happened because the hands are crooked. Everything crashes with an error every time it starts, or it doesn't connect through the adapter I need.
Maybe I'm heading in the wrong direction altogether. I would be grateful for any solutions.
Tried ForceBindIP, but "out of the box" it only works if you run applications manually every time through it.
Answer the question
In order to leave comments, you need to log in
Hello,
In the text of the task, everything was mixed into one heap, moreover, without a clear understanding of what a MAC address, network card and network connection are.
Therefore, according to the text of the question in the title "How to create several network connections and force different programs to use different network connections?"
To do this, you need to insert as many network cards into the computer as needed for the operation of different applications. Each network card will have its own external IP and its own internal IP, and, accordingly, applications can be directed (routed) to the required network interfaces (cards), each of which will have its own MAC address. Of course, these applications must have routing configuration functionality. Physically, one network card (piece of iron) can have only one MAC address. Yes, it can be changed, but it is impossible to make two or more for one network card.
virtualbox\vmware workstation. Connect virtual machines through a bridge with a network card. Get a pack of different cars with different poppies.
More memory, more disk ;) well, it makes little sense to keep it all under the seven ;)
1) Virtual machines
2) Using several Socks-proxy, the routes to which are registered through different interfaces, + a soxifier for each application.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question