Jump to content

Hi, dual network here, one on 4g+ (40mb) and one on slow adsl(5mb), on the motherboard ethernet i have the adsl and on a usb to ethernet the 4g+, to use one in the specific i have to disable the other.

there is any way that i can (not forcebindIP) force an application or a game to use a dedicated network card? 

 

p.s. I enable and disable the network card by cmd.bat file based on the necessity and i cant use the metrics interface on the control panel because on windows 11 they are brocken af and even if i set it in the right way it will just take what the computer prefer.

 

Sorry for my english <3

Link to post
Share on other sites

You should be able to do that with custom routing rules. Something similar to this

route -p add <server-1-ip-range> MASK <…> <ip-of-router-1>
route -p add <server-2-ip-range> MASK <…> <ip-of-router-2>

 

Of course it'll take some work to identify which IPs a specific software communicates, then set up routing rules to ensure its traffic goes through the first or second gateway.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

19 minutes ago, Eigenvektor said:

You should be able to do that with custom routing rules. Something similar to this

route -p add <server-1-ip-range> MASK <…> <ip-of-router-1>
route -p add <server-2-ip-range> MASK <…> <ip-of-router-2>

 

Of course it'll take some work to identify which IPs a specific software communicates, then set up routing rules to ensure its traffic goes through the first or second gateway.

mmmm... I think that is very difficult to map all the ip address that a game like csgo, valorant or others use to be able to address that with rules, maybe possible, but very time consuming and if i play on new server it will go on the wrong route... any program that let you visualize the ip used from some other application and maybe that let you create the rules? 

Anyway, thank you for the reply ❤️

Link to post
Share on other sites

6 minutes ago, AciD_236 said:

any program that let you visualize the ip used from some other application and maybe that let you create the rules?

Windows Resource Monitor should be able to show which IPs a program is connected to. Don't know of any software that can create the rules for you.

 

It's certainly going to be work to set this up. I suppose you could have a default route that goes through the faster route for everything (at first) and then selectively move stuff that should be fine on the slower connection over to that one.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

17 hours ago, Eigenvektor said:

Windows Resource Monitor should be able to show which IPs a program is connected to. Don't know of any software that can create the rules for you.

 

It's certainly going to be work to set this up. I suppose you could have a default route that goes through the faster route for everything (at first) and then selectively move stuff that should be fine on the slower connection over to that one.

So, from the resource monitor i can have all the connection and all program with their ip, but starting from that i dont find the same ip on the routing table in cmd, 

 

just need to understand how i can reconize the program and route that to the dedicated connection, from that im working on a c# form that working with cmd and powershell can change the route and visualize what is connected to who and how the latency is.

 

 

IMG ROUTING TABLE.png

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×