LinuxQuestions.org
Review your favorite Linux distribution.
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 12-13-2007, 09:25 PM   #1
console29
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
Question multi nic bounding ...


Okay gurus,
I've got four network cards.
one has the following:
IP : 192.168.0.100
subnet mask: 255.255.255.0
default gateway:192.168.0.1
DNS1: 25.44.125.137
DNS2: 25.45.245.79

the second has:
IP : 192.168.10.101
subnet mask: 255.255.255.0
default gateway:192.168.10.1
DNS1: 26.134.25.113
DNS2: 26.135.45.69

third has the following:
IP : 192.168.20.190
subnet mask: 255.255.255.0
default gateway:192.168.20.1
DNS1: 23.44.125.137
DNS2: 23.45.245.79

the forth has:
IP : 192.168.30.200
subnet mask: 255.255.255.0
default gateway:192.168.30.1
DNS1: 27.134.25.113
DNS2: 27.135.45.69

my problem is: given that the 4 NICs have different subnet, gateway and different DNS servers, how to achieve network load balancing or teaming, were all cards are used simultaneously. That is is there a internal router kernel module that will let me achieve that ...

Thanks
 
Old 12-13-2007, 10:18 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You are looking for bonding not bounding (I think).

I THINK that all the nics need to be on the same subnet in order to bond them.
 
Old 12-13-2007, 11:19 PM   #3
tagno25
Member
 
Registered: Jun 2007
Posts: 53

Rep: Reputation: 15
For load balancing try the following links

Load Balance your traffic with a script for linux
10.4. Multiple Connections to the Internet
 
Old 12-14-2007, 01:09 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Are you trying to bond multiple connections to the internet(faster internet) or are you trying to bond so your lan server is faster?
 
Old 12-14-2007, 08:19 PM   #5
console29
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Arrow multi nic bounding or bonding

Thank you ...
load balancing or load division if I may.
what I want to achieve is the following:
Let assume I am using firefox to browse, how can I configure my currently four network cards so that firefox can use them all simultaneously, i.e.: For a given http request, some packets are received via NIC-1, at the same time other packets received by NIC-2, and so on. USE ALL the NICs in PARALLEL.

And in case I am using ssh and firefox and say sftp at the same time, How I should configure the NICs, so not only to distribute the load between the NICs but also make them look as if a single NIC.
thank you
 
Old 12-14-2007, 08:46 PM   #6
console29
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up Load balancing

thank you tagno25, I found from the links what I want really.
http://www.ssi.bg/~ja/nano.txt

The issue it is not trivial! and if I understood well requires a dedicated Linux box to act as a router!
thanks
 
Old 12-19-2007, 03:37 PM   #7
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
Have you tried to use ifenslave to bond them all together?
 
  


Reply

Tags
kernel, networking



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
Network Bounding cemzafer Linux - Networking 2 05-01-2006 12:48 PM
how to configure multi-nic routing meping Linux - Networking 20 10-24-2005 01:29 PM
Multi Nic / Multi IP How To gabriele_101 Linux - Networking 3 11-02-2004 03:42 PM
Multi-NIC router whirlpool78 Linux - Networking 3 09-15-2004 01:18 PM
multi ips on one nic EVIL_ted Linux - Networking 2 06-27-2003 03:49 AM

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

All times are GMT -5. The time now is 10:15 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