LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-19-2004, 05:02 AM   #1
yumok
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Two exits, one router, one lan. Would like to configure load balance.


Current configuration:

- One LAN (192.168.0.0/24)
- One exit to the world (one ADSL doing MASQ)
- One windows machine working as gateway between LAN and ADSL

Near future:

- Another exit (not yet sure how will it be, but hope it has a private IP for the inside and a public for the outside)
- A linux box to work as a router, so the windows machine stops doing that job.

So I will have:
Code:
LAN--->linux-router----> old-ADSL -------------> INTERNET
              |
              --------> NEW-connection -------> INTERNET
I was thinking in configuring the linux machine with two ethernets, but I have read there can be problems if I dont use one ethernet for each exit.

I would like using eth0 for the LAN side of the router, and eth1 for both the exits. Or eth0 for LAN and ADSL, and eth1 for the new connection if it is a direct connection with public IP.

My question is: Is it posible to configure it this way or will I need 3 ethernets (1 for LAN, 1 for ADSL and 1 for the new connection)?

Idea behind this is using mainly the new connection while keeping the ADSL as a backup if the new one fails. Also, incoming mail enters through ADSL, so I wanna keep it working.

Thanx in advance.
 
Old 07-19-2004, 09:24 AM   #2
LanRx
Member
 
Registered: Jul 2004
Posts: 85

Rep: Reputation: 15
Some time ago, I had done some basic investigation into this using the Linux Virtual Server project, and attempting to load balance my HTTP traffic. I was unsuccessful at that time, though I haven't tried it recently. I think that the reason why I was unsuccessful was because of the browser potentially needing a structured packet return, not wildly different packets, entering and exiting over two separate paths.

However, as a disclaimer, I haven't looked into it recently. I won't claim to have been 100% on top of things when I did it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns load and balance kafnir Linux - Networking 1 10-13-2005 12:41 PM
Bind 2 Nic's For load Balance xrtc Linux - Networking 1 09-12-2005 09:00 PM
Connection load balance inaki Linux - Networking 1 08-22-2005 10:50 AM
load balance with DHCP connections eantoranz Linux - Networking 0 06-02-2005 04:10 PM
Load Balance with BSD rpaula *BSD 1 03-22-2004 09:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration