LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-05-2004, 01:10 AM   #1
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Rep: Reputation: 30
Load balancing question


I have two NICs in my computer, and I want to receive internet data on both of them. How can I do that ? Will data transfer be better ?
 
Old 08-05-2004, 01:40 AM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Theoretically yes, but you need two isp's, one on each card. As a rule, providers limit the number of ip's you can get. After having the first one, you can't have a second.
 
Old 08-05-2004, 02:59 AM   #3
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
Ok, here's the setup. I receive the internet from LAN (through a switch, from a server). Both the NIC's can recieve an IP through DHCP, and it doesn't matter in what NIC I plug the network cable I still receive net. Now... can I plug two network cables in both my NICs and gaim some sort of speed ?
 
Old 08-05-2004, 09:06 AM   #4
Erebus Bat
LQ Newbie
 
Registered: Jul 2004
Distribution: Ubuntu 10.04 (Lucid)
Posts: 25

Rep: Reputation: 15
Most likely not. You say that you are on a LAN? I assume that you are in an office? Your company's internet pipe is probably not that big and everyone is sharing a relatively small pipe. However there is also a possibility that your company may limit the bandwidth available to each NIC so everyone will receive a more uniform connection. If this is the case and you have two unique paths to the shaping switch then it may be possible to setup a connection like you are speaking of. Can you give more details of your setup?
 
Old 08-05-2004, 12:20 PM   #5
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
I'm on a LAN, in a student hostel, we have a high bandwidth connection (fiber optics). We have no limitation for the available bandwidth (but I just can't get enough ) for each computer. Is this enogh information ? Could you tell me how it is done ? Do I need to be limited in some way, in order to do a load balancing ? Could you point out some directions to do this load balancing ?
 
Old 08-05-2004, 03:58 PM   #6
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
If your network indeed has no limit on how much bandwidth you can have per MAC, then there would be no advantage of doing this.

If they put a cap on bandwidth per MAC, then you could have two NICs each getting the maximum allowed bandwidth, but I know of no way to combine that into one connection. You would have to manually bind individual programs to each NIC.
 
Old 08-06-2004, 02:26 AM   #7
Menestrel
Member
 
Registered: Oct 2003
Location: Bucharest
Distribution: Debian Sarge, Slackware Current, Ubuntu
Posts: 183

Original Poster
Rep: Reputation: 30
Now I have a maximum of 10 MBs and with two cables I thought I could get a maximum of 20 MBs
 
Old 08-06-2004, 11:57 AM   #8
jdelaros1
LQ Newbie
 
Registered: Sep 2003
Location: Austin, TX USA
Distribution: Fedora 1.0, 2.0 & SuSE 9.2
Posts: 20

Rep: Reputation: 0
If you go to this site, http://peeyush.tk and then click on "Load Sharing / balancing or bonding between two or more then Network card" under "Linux", it describes a method where you can "bond" your NICs to appear as one.

I believe this is used in clustering environments where load balancing/redundancy is used. There are some links at the end of the article that may also be of help.
 
Old 08-06-2004, 12:07 PM   #9
jdelaros1
LQ Newbie
 
Registered: Sep 2003
Location: Austin, TX USA
Distribution: Fedora 1.0, 2.0 & SuSE 9.2
Posts: 20

Rep: Reputation: 0
Or try this site: http://www.pcquest.com/content/searc...037&way=search

It covers Linux at the bottom.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do load balancing tkt Linux - Networking 0 04-27-2005 01:22 AM
Load Balancing otisthegbs Linux - Networking 4 02-10-2005 02:16 PM
Load Balancing matux Linux - Networking 0 01-05-2005 10:59 AM
how to do load balancing? yenonn Linux - Networking 2 07-27-2004 09:20 PM
Load balancing ?? Lucsi Linux - Newbie 1 07-16-2002 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration