Find the answer to your Linux question:
Results 1 to 2 of 2
the topic says it all.....i want to load balance betwen two ethernet cards. one eth0 i have ISP , eth1 is the other. can you help me with some links ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2003
    Posts
    12

    load balance internet connections


    the topic says it all.....i want to load balance betwen two ethernet cards.
    one eth0 i have ISP , eth1 is the other. can you help me with some links to documents that can help me?
    the idea is to have some software ( i read something about iproute2 ) that will determine the fastest connection and use it ....... when the traffic increases , it will start using the other one too. Or when one of the lines goes down it will start using the other one.

    i'm thinking about using one of the LAN's for http, and the other one for ftp , icq , irc , mail ....

    do you know software that can do that stuff?

    i would preffer some links , because i like to read first , and then ask questions..
    this way eliminates a lot of "stupid" questions

  2. #2
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    Check out QoS I think that's what you want.
    From the "help" in the kernel:

    When the kernel has several packets to send out over a network x
    x device, it has to decide which ones to send first, which ones to x
    x delay, and which ones to drop. This is the job of the packet x
    x scheduler, and several different algorithms for how to do this x
    x "fairly" have been proposed. x
    x x
    x If you say N here, you will get the standard packet scheduler, which x
    x is a FIFO (first come, first served). If you say Y here, you will be x
    x able to choose from among several alternative algorithms which can x
    x then be attached to different network devices. This is useful for x
    x example if some of your network devices are real time devices that x
    x need a certain minimum data flow rate, or if you need to limit the x
    x maximum data flow rate for traffic which matches specified criteria. x
    x This code is considered to be experimental. To administer these schedulers, you'll need the user-level utilities x
    x from the package iproute2+tc at <ftp://ftp.inr.ac.ru/ip-routing/>. x
    x That package also contains some documentation; for more, check out x
    x <http://snafu.freedom.org/linux2.2/iproute-notes.html>. x
    x x
    x This Quality of Service (QoS) support will enable you to use x
    x Differentiated Services (diffserv) and Resource Reservation Protocol x
    x (RSVP) on your Linux router if you also say Y to "QoS support", x
    x "Packet classifier API" and to some classifiers below. Documentation x
    x and software is at <http://icawww1.epfl.ch/linux-diffserv/>.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •