Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an internet connection which has limited up/down bandwidth per IP address. What I want to do is to get multiple IP addresses on a "single" LAN interface, and use a load balancer to distribute traffic through them. I was successful at getting 100 ip addresses on a single interface. my problem is that Linux and Windows use the first ip address of an interface by default, so my bandwidth is not increased. I would appreciate if someone tells me what Load Balancing software has the ability to distribute load between multiple IPs on a single interface. I have tried to do so on both Win7 and Backtrack-LinuxR2

share|improve this question
5  
What kind of insane arrangement is this? – Michael Hampton Oct 13 '12 at 14:55
3  
This......doesn't make sense. – MDMarra Oct 13 '12 at 15:49
If your ISP really did limit on IP but gave you a large net block (I doubt it) then you could use the SNAT target in Linux iptables to do rewrite the source address. This will only help with parallel connections as you can't distribute TCP sessions across different address. – Fuzzyfelt Oct 14 '12 at 8:42

closed as not a real question by Greg Askew, Miles Erickson, EEAA, Michael Hampton, Ward Oct 14 '12 at 3:20

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

2 Answers

you can try configuring haproxy on linux that should solve your issue, but why add 100 or more virtual ips on a single nic, a better solution would be to have multiple multiple vm's and then do load balancing using ha proxy

share|improve this answer

I think you need to rephrase and or clarify your question.

If the target host is running out of bandwidth you have a couple of options depending on your hardware and network.

Configure two or more network cards to work together

  • In windows this is called Network Teaming.
  • In Linux this is called Network Bonding.
  • In BSD this is Link Aggregation/Trunking.

    Types

  • Adaptive load balance

  • Receive load balance
  • Transmit load balance
  • LACP ( Link Aggregation Control protocol. ) *Requires hardware support.

    There are more types mostly to do with failure / failover see - http://en.wikipedia.org/wiki/Link_aggregation

If you are looking to balance on multiple WAN connections, this can be tricky and for simplicity I would say just get a better connection.

If needs must, I can see two options setup a reverse proxy eg: haproxy on a low-cost virtual server that accepts http connections and load balances them to your WAN IP addresses.

and more risky and less control is to setup multiple dns entries for your domain to ip(s) *don't do this.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.