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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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.