Using 2 different cable connection on one computer

bibiandbibo

Honorable
Jun 22, 2013
10
0
10,520
Hi guys,

I have a windows pc with 2 NIC and i also have 2 separate cable broadband connection.
I want to use both of them on my windows machine as i usually play BF4, one connection gives better ping to Asia region and other gives better ping to Europe region.

So is there any way i can accomplish this that BF4 will use 2nd connection when i want to play on European server and 1st when on ASian.

I
 
Solution
A load balancer pretty much dynamically puts in the route statements I put in by other post. It is extremely hard for it to be effective in a installation like yours. It really only works well in a internal enterprise network where you have control or you are a company trying to do the reverse of what you are attempting...ie they want to balance many remote users to their servers.

The problem comes because you have 2 ip addresses. The internet is built on the premise that you only have a single ip. For file transfers this is a fundamental to how the communication works so for a single file transfer you can not have multiple ip. It is even a larger problem in a web site is actually made up of many ip addresses and if you were to...
If you want to get very ambitious you can have both at the same time. One will be your primary default internet and the other will be used for the network you specify. It sounds easy but is very tedious since figuring out all the IP addresses a site uses is not always straight forward. First be very sure your 2 internet connections do not use the same subnet for the lan.

The key to this is the ROUTE command. First thing issue a ROUTE PRINT command and look for the gateway ip of the secondary connection. You must first issue ROUTE DELETE 0.0.0.0 mask 0.0.0.0 ?.?.?.? where ?.?.?.? is the ip of your secondary router.

Now the tedious part you need to put in ROUTE ADD commands with a mask of 255.255.255.255 for each ip you want to use the secondary connection.
 
A load balancer pretty much dynamically puts in the route statements I put in by other post. It is extremely hard for it to be effective in a installation like yours. It really only works well in a internal enterprise network where you have control or you are a company trying to do the reverse of what you are attempting...ie they want to balance many remote users to their servers.

The problem comes because you have 2 ip addresses. The internet is built on the premise that you only have a single ip. For file transfers this is a fundamental to how the communication works so for a single file transfer you can not have multiple ip. It is even a larger problem in a web site is actually made up of many ip addresses and if you were to talk to some with one IP and others with a different one it think you are 2 different people. If you were to go to your bank site and it had a number of servers it would think someone was trying to hack your session and disallow both sessions. For something like a game site the authentication server is different that the game server. So you would authenticate with the main server and it would then tell the game server to allow you in but if you have a different IP how can it ever know you are a valid user.

Now if you are very careful you can get lists of all the servers and send all servers for say cnn over connection 1 and all servers for bbc over connection 2. Problem is there are no comprehensive lists like this on the internet.

Load balancing software just makes this issue worse. It makes no attempt to know what servers have relationships with each other. It pretty much just looks at the utilization and sends its traffic out the lower used. You get extremely random results. Now there is some load balance software that you can tell it what sites to use on which connection but all you are doing is putting a gui interface on the ROUTE command that you get for free with windows.
 
Solution