Networking Forums

Networking Forums > Computer Networking > Linux Networking > load balancing, fail-over

Reply
Thread Tools Display Modes

load balancing, fail-over

 
 
kqueue
Guest
Posts: n/a

 
      06-27-2006, 08:10 PM
I have set up an advanced linux router implementing load balancing and
failover using Julian Anastasov's patch and following Christoph Simon's
Nano-Howto to use more than one independent internet connection.

The router is load balancing between 2 external independent Internet
lines. I have written a PERL script to check if a connection is down.
If a connection is down, the script will bring down the corresponding
interface. It later checks if the connection is back up by bringing up
the down interface with a metric of 19 and pinging 3 different public
websites through that interface. If all 3 pings are successful then it
changes the metric to 0. If it fails, the script will bring the
interface back down.The problem I'm having is when the down interface
is brought back up by the script, new sessions intiated by a web
browser from the local area network stall. However, connection through
the other working interface is fine.

In addition, bringing up the down interface by hand from the command
prompt using the ifup command works fine versus if the script executes
it using the PERL's system command.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Balancing and Auto-fail Over MarkWirez Windows Networking 7 07-13-2005 12:41 PM
Network Load Balancing, Fail Over, NIC Teaming with Radio Bridges. Davide DG Linux Networking 5 01-10-2005 09:04 PM
Load Balancing RH Ent ES Martyn Linux Networking 2 06-13-2004 05:11 PM
38% web page load fail mike Windows Networking 0 04-20-2004 02:02 AM
Load Balancing Phil Andersen Windows Networking 2 04-15-2004 08:16 PM



1 2 3 4 5 6 7 8 9 10 11