LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-07-2006, 12:56 PM   #1
caps_phisto
Member
 
Registered: Sep 2004
Location: NH
Distribution: FC6, FC1-4, RH9, Gentoo 2006.0/1, Slackware 10.1/2,11, Vector SOHO 5.0.1
Posts: 237

Rep: Reputation: 30
Problem Load Balancing...:(


Here is my setup:
Code:
   +--------------+          
         |              |                +-----+
         |          IF1 +----------------|  C1 |
         |              |                +-----+
         |              |
---------+ LIF          |                +-----+
         |          IF2 +----------------|  C2 |
         |              |                +-----+
         |              |
         |              |                +-----+
         |          IF3 +----------------|  C3 |
         |              |                +-----+
         +--------------+

Where:
LIF = Local Network Interface (this is the link to my internal net)
IF[1-3] = Interfaces to Comcast Modems
C[1-3] = Comcast Modems
Here is how everything is setup. I went to www.lartc.org and read chapter 4 on Splitting Access and Load Balancing as directed from a previous post. All of the commands worked there and the routing table seems to be intact.

LIF is an internal IP address and also runs DHCP for addressing nodes on the "indside". This is all working.

The problem is getting LIF to communicate with the IFs so that I can get beyond them (I can ping each IF from the LIF).

When I ping to C1 and have LIF up the ping doesn't work (Dest. Unreachable). If I desable LIF and ping again I get a reply from IF1. Then I try to ping C2. Again Dest. Unreachable. So I disable IF1 and try ping again. This time I get response from IF2. This process continues when tring to ping C3.

I have IP forwarding on and I have tried using MASQUERADE in iptables here was how I setup MASQUERADE:
Code:
iptables -t nat -A POSTROUTING eth# -j MASQUERADE
I have also tried:
Code:
iptables -t nat -A PREROUTING eth# -j MASQUERADE
I haven't the faintest clue as to why LIF can't get beyond any of the IFs! Connections are solid and working!

Thanks for any assistance you can give!

I don't know if this matters but all IFs and LIF are configured to be on the same Internal network. As well as the internal Addresses for the Comcast modems.
 
Old 09-07-2006, 01:16 PM   #2
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 548

Rep: Reputation: 33
When I'm building and testing network settings I turn IPtables off, just to eliminate that possible interferance.
 
Old 09-07-2006, 01:29 PM   #3
caps_phisto
Member
 
Registered: Sep 2004
Location: NH
Distribution: FC6, FC1-4, RH9, Gentoo 2006.0/1, Slackware 10.1/2,11, Vector SOHO 5.0.1
Posts: 237

Original Poster
Rep: Reputation: 30
Yes. That was a good idea. Unfortunately it didn't work. I am thinking it has something to do with the default route not being set correctly or not operated on correctly. I have connected a client and I can ping all of my IFs above (even with firewall on) and I can also ping the LIF. I just can't seem to get beyond that.

Again thanks for any help you can give me.
 
  


Reply



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
How to do load balancing tkt Linux - Networking 0 04-27-2005 01:22 AM
how to do load balancing? yenonn Linux - Networking 2 07-27-2004 09:20 PM
Round robin load balancing problem. GuitsBoy Linux - Networking 0 05-03-2004 09:20 AM
load balancing on rh ntaizi Linux - Software 0 12-17-2003 06:41 AM
Load balancing ?? Lucsi Linux - Newbie 1 07-16-2002 12:54 PM

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

All times are GMT -5. The time now is 09:15 AM.

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
Open Source Consulting | Domain Registration