TCP load balancing with multiple IP addresses possible?

2

1

I'm using a network with speed limit per IP. So i want to join multiple IP addresses to To increase Download speed.

Windows have this multi IP option link

Windows multiple ip address configuration

How can i Merge these IP addresses so i can use them simultaneously ?


[Update 1]

I found lots of other people asking about the same (But all gave up): Here

I also found a way to bind an ip to an specific application Here or Here


[Update 2]

I managed to download using two two different IP at the same time.

Using ForceBindIp V1.31 and assigning second IP to Firefox, I manage to download simultaneously.

Download using multiple IP addresses

Now I just need a load balancing system to put together these connections. (My idea is to find a load balancing proxy client!)


[Answer for windows server 2008 (Or maybe 7 and 8)]

If your using windows server 2008 (Or maybe 7 and 8) you can use this article to actually solve this problem. But as I am on windows 10, I can't really use that article. (Don't know really if it work on the same network adapter!)

Mahdi Rafatjah

Posted 2017-04-26T06:42:31.777

Reputation: 422

It is not so easy. If you manage to get your machine two IPs you could set up some tunneling/loadbalancing solution but this does require a endpoint and the result might be disappointing. Not to mention IT Security group will kill you if the find out. – eckes – 2017-04-26T10:04:44.237

I can assign multiple IP addresses, But i need to force applications using them. Any idea how to tunnel them ? @eckes – Mahdi Rafatjah – 2017-04-26T10:31:36.570

Is the speed limit actually less than what the single link can carry? Even if you assign multiple IPs to one interface you won't be able to exceed the link speed. You would need to look into aggregation in order to use them both but that usually uses multiple, physical adapters. Alternatively you would need to find a way to tell a program which adapter to use which isn't done easily either. – Seth – 2017-04-26T11:17:38.590

@Seth Yes This can work. there are programs like vmware so bridge your network and they are working on my case. please think of the way so i can merge these IP addresses. – Mahdi Rafatjah – 2017-04-26T11:21:53.527

My comment actually contains the technical term of what you're trying to do. So you will have to check into it yourself. In addition a network bridge like the one VMware and VirtualBox create are ever so slightly different. After all your guest only sees a virtual interface and uses that for network access. Tough certain information between the physical and virtual interface are passed back and forth. The hypervisor takes care of actually patching it through to the network layer. – Seth – 2017-04-26T11:27:14.917

@Seth Alright, so what makes me stop adding that layer ? http://speedify.com/ Does that (kind of)

– Mahdi Rafatjah – 2017-04-26T11:30:15.667

1So you have a solution? Than use it? Did I say at any point that something would stop you from doing this? But just in case it's not clear: You're not looking for a bridging solution. You're looking for a link aggregation solution (NIC Teaming) for multiple IPs on the same physical interface. Which usually doesn't work because it's not operating on an IP level. Even the "solution" (a VPN) you linked doesn't do anything it that regard. it merely create a virtual interface which you can get for free with OpenVPN. Though you would have to setup the server yourself. – Seth – 2017-04-26T11:42:49.547

well that ip binder can't bind ip from the same network ! the speedify merges your different connections (wifi, data,lan) @Seth – Mahdi Rafatjah – 2017-04-26T12:05:24.447

Answers

0

Is it theoretically possible?: Yes (By combining ForceBindIP, a Proxy and a Load Balance Engine).

Is it possible Now?: No!

The only way to MERGE them in windows is "NIC Team" available in Windows Server 2012 and up, which needs multiple "Link Per Interface", (Check Here and Here if you want to enable it on windows 8, 8.1, 10...) and in expensive network infrastructure devices you find "Link Aggregation" which virtually works the same way. As stated by Microsoft the idea of assigning multiple IP addresses to one interface in windows was to eliminate the need of changing IP address in case you routinely migrate to different networks (e.g. Home, office, cafe...), or when you need more than 1 IP on the same network (e.g. accessing two different subnets). But, there are expensive infrastructures where you can randomly, or conditionally, load balance your traffic between a pool of IPs (e.g. Source NAT Pool in Juniper networks).

NetwOrchestration

Posted 2017-04-26T06:42:31.777

Reputation: 2 385

NIC Teams and bonding work below the IP layer – eckes – 2017-04-26T18:36:34.143

@eckes I know, but the title is too generic and maybe someone looking for link aggregation end up here. – NetwOrchestration – 2017-04-26T19:08:54.400

agree it is good to mention it, but it's not what the original asker needs. At least not what Heins looking for as the limit is on an IP level (supposedly) – eckes – 2017-04-26T19:10:44.677

1@eckes I agree on that, so it deserves a down vote. viel Spaß! :) – NetwOrchestration – 2017-04-26T19:16:20.833

Hay @AmirHossein, I looked at your articles, it seems that they can join two adapters, but as I explained I have one adapter having multiple IP addresses. What do you say ? – Mahdi Rafatjah – 2017-04-26T22:24:11.060

@AmirHossein havent downvoted it, just want to make sure the scope of the answer is understood, maybe you can edit it in – eckes – 2017-04-26T23:23:25.653

@MahdiRafatjah Updated my answer. – NetwOrchestration – 2017-04-27T08:06:38.300

@eckes I did my best to put it into scope... I didn't say you downvoted. However, you have the right to downvote :) – NetwOrchestration – 2017-04-27T08:09:59.133

I'm really sorry @AmirHossein new version of ForceBindIp really worked. (older versions i tested before didn't) All I need is a load balancing system. if you make it all together, The answer will be yours. – Mahdi Rafatjah – 2017-04-28T20:06:42.630

@MahdiRafatjah You can use scripts instead shortcuts to launch applications with ForceBindIP, but you still can't aggregate them. For example you can't use both IPs to download using IDM. I believe it's totally possible and even easy to accomplish, but it needs some programmer attention. Maybe you can contact the developers and ask them to add multi-IP load-balancing. – NetwOrchestration – 2017-04-28T20:48:24.123

-1

From the instructions you linked, it looks like you hit add in the top box and put in another ip address in the same range. But, if the network uses DHCP to assign addresses, that will possibly lead to conflicts. Try using a high number like .235 as the last part of the ip address if that happens.

Otherwise, you need 2 network cards with one ip each.

In my experience, Windows isn't good at aggregating links. You might also need software such as Speedify (speedify.com)

Sir Adelaide

Posted 2017-04-26T06:42:31.777

Reputation: 4 758

Well i have no problem assigning an ip address. i just need to use more than one at once. – Mahdi Rafatjah – 2017-04-26T10:26:15.340

Not possible with TCP without some intermediate layer. – eckes – 2017-04-26T10:40:08.123

Alright all I want is that layer, Windows provides the basics and Vmware is using it to create bridges, So i want to do that (Any how) @eckes – Mahdi Rafatjah – 2017-04-26T10:46:13.017

1The suggestion about using high IPs is rather bad without knowing any more about the network configuration. – Seth – 2017-04-26T11:15:23.653