Solved

Linux Networking question

Posted on 1997-09-03
5
186 Views
Last Modified: 2010-03-18
Hello,

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
0
Comment
Question by:ericho
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:nicademus
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...

Nica...
0
 

Author Comment

by:ericho
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

0
 
LVL 2

Expert Comment

by:nicademus
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.

Nica...
0
 

Accepted Solution

by:
popy earned 50 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
----------------------------------------
#!/bin/sh

#
#       ppp-on
#
#       Set up a PPP link
#
if [ "$1" = "mtl1" ] ; then
        DEVICE=cub13
        PHONE=9523-5888
elif [ "$1" = "mtl2" ] ; then
        DEVICE=cub0
        PHONE=9523-6450
elif [ "$1" = "mtl3" ] ; then
        DEVICE=cub3
        PHONE=95277454

elif [ "$1" = "mtl4" ] ; then
        DEVICE=cub2
        PHONE=95277413

else
        echo mtl1 or mtl2 or mtl3 or  mtl4
        exit
fi
USER=XXX
PASSWORD=XXX
BAUD=38400
#OUR_IP_ADDR=204.19.119.
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
then
        echo Connection Lost >>/var/adm/syslog
else
        echo !!!!!!!!!!!! connection Fail !!!!!!!!!!! >>/var/adm/syslog
fi
-------------------------------------
in regard
good luck
         
0
 

Expert Comment

by:popy
ID: 1586404
oups i forgot the file  chat-ppp...
there is the file
-----------------------------
#!/bin/sh
PHONE=$1
USER=$2
PASSWORD=$3
/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
popy                                          
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now