Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why load balancing is used in Linux server ? Is it possible to controll bandwidth in linux server using "load balancing ".I am using Linux Enterprise 4 server .
I am a newby using this .
I have two different Network suppose NETWORK1(192.168.10.0) and NETWORK2(192.168.20.0). My NETWORK1 need 64 KBps and my NETWORK2 need 32KBps Bandwidth .
For this reason I got two different internet connection from different two ISP's . I want to use a One Linux Router for this purpose . And the Two ISP's line are connected two different Lan card(LAN1 and LAN2) into my Linux server .
And I also attached another two lan card (LAN3 and LAN4) for my Interneal Network (NETWORK1 and NETRWORK2). I use my linux pc as a router . I use two ISP's Line so that if one ISP line is disturbed then another will be help as backup.
hmm, ok your description is pretyt vague, but am i right in thinking you just want to use two internet connections as if they were one? you sound like you're confusing the issue a huge amount by suggest one internal network needs one conneciton, the other uses the other one.. can't be right...
anyway, you do not actually want to look into bonding at all, that's not the right thing here. instead, go to http://lartc.org and read chapter 4, which will go over load balancing of isp connections.
well exactly. hit 1 is absolutely not what's being asked for. bonding is for creating high capcity reliable links between a server and a local switch, using 802.3ad or other such technologies. you're spreading ip traffic across two physical links and recombining on the peer device to obtain the original data stream. this is below ip level, and only works within single layer 2 Ethernet networks. if you send one ip packet to isp 1 and the 2nd packet of the same conversation to isp2, you'll never see either packet again.
well exactly. hit 1 is absolutely not what's being asked for
Erm
I have a friend who is now using bonding after having done the same with lartc (he first didn't want to recompile kernel). For two isp lines, he is not using 802.3ad mode if I remember, he just has two ethernet lines that goes to 2 routers and a third ethernet line for the LAN. the 2 on the isp side are seen as a single one.
I think he switched basically because you need a lot of work with lartc for doing the same stuff (like failover for example)
And until today, it's still working
nope, sorry i don't believe you. what's the default gateway on that machine then? a bonded pair of nics acts a a ginel nic, with a single ip address. as such the default gateway needs to be reached via a local connection to a gateway. Yhat gateway ip address will only exist on one if that goes down, the bond is left with the other nic only.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.