[Webinar] Learn how to a build a cloud-first strategyRegister Now


Linux Networking question

Posted on 1997-09-03
Medium Priority
Last Modified: 2010-03-18

I have been trying to setup EQL (load balancing) on my Slackware 3.3 machine, and I have read the NET3-HOW-TO and
followed the procedures, but it seems like that HOW-TO is
too outdated that I couldn't get anything to work.

Can someone give me some detail instructions or point me to
a web page or a good HOW-TO ?

Best Regards,
Eric Ho
Question by:ericho
  • 2
  • 2

Expert Comment

ID: 1586400
I am going to attempt to answer this, with one thing in mind, over here in Australia at least you will be hard pressed to find too many service providers which will use EQL.
      Do you understand what it is?  I shall explain just in case.
EQL is a way of using two links from your computer to your Internet Service Provider, (it must support the feature)  essentially it is like having one modem receiving from one computer and the other transmitting to the other computer, and vice versa on the other end.
So you effectively you double your data throughput speed.
But unless you have the two links, etc. you will not be able to connect, because your modem will be trying to be just a transmit or just a receive, because it has not been configured for it's proper mode, of duplexing.  SO you should not enable this feature when you recompile the kernel.

If your question is along the lines of, YES you do need the EQL and you want to therefore know how to set it up , well what you have to do is compile a kernel with EQL support in it.  You should read up on compiling a new kernel, and the option for the EQL is in the Network device support section.
If you require instructions on how to compile the kernel, then I shall post that when you respond, otherwise I hope that kind of covers what you were after, if not, sorry...


Author Comment

ID: 1586401
- I know what load balancing with multiple serial lines is, I have done it before with Win95.
- I have compiled the kernel with EQL support
- I can establish 2 PPP links with 2 modems (ppp0, ppp1) using ttyS0 and ttyS1
- I have also added a static route (eql) after the 2 ppp connections have established

Hum....I guess I will do everything over again tonight to see if I did anything stupid :(
Thanks for trying to help anyway.

Best Regards,
Eric Ho


Expert Comment

ID: 1586402
Do you possibly have to have two static routes, or instead of adding a default gateway or net with  route add net  x.x.x.x
howabout route add host x.x.x.x
or instead of route add gw default
use route add gw x.x.x.x  using the ip addr of one modem or two lots of the same statement with two seperate devices.

Sorry I couldn't offer more than that since I have nevet atually used EQL so I do not know how the routing table is organised.


Accepted Solution

popy earned 100 total points
ID: 1586403
there is my setup for 4 modems, i use cyclades card, then you have to relace cubX by ttySX, and have to modify the phone number, and parameter, mtl1 mtl2 etc, and execute script the number of the time you need to :-), then for 2 modems, you have to execute it like this twice : ppp-on.4line mtl1 and ppp-on.4line mtl2, will ethablish 2 connection over the net on load balancing
there is my script

#       ppp-on
#       Set up a PPP link
if [ "$1" = "mtl1" ] ; then
elif [ "$1" = "mtl2" ] ; then
elif [ "$1" = "mtl3" ] ; then

elif [ "$1" = "mtl4" ] ; then

        echo mtl1 or mtl2 or mtl3 or  mtl4
OPTIONS='lcp-echo-interval 15 lcp-echo-failure 2'

/usr/lib/ppp/fix-cua $DEVICE
echo ppp-on: `date` call in 30 seconds... >>/var/adm/messages
sleep 30

if /usr/lib/ppp/pppd $OPTIONS \
        asyncmap 0 -detach modem crtscts mru 296 $OUR_IP_ADDR: \
        connect "/usr/lib/ppp/chat-ppp $PHONE $USER $PASSWORD" \
        /dev/$DEVICE $BAUD
        echo Connection Lost >>/var/adm/syslog
        echo !!!!!!!!!!!! connection Fail !!!!!!!!!!! >>/var/adm/syslog
in regard
good luck

Expert Comment

ID: 1586404
oups i forgot the file  chat-ppp...
there is the file
/usr/lib/ppp/chat -v ABORT "NO CARRIER" ABORT BUSY  "" ATZ0 OK ATD$PHONE CONNECT "" ogin:--ogin: $USER ssword: \\q$PASSWORD
if you dont have this file, the load balancing will not work
in regard

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question