Is HA for me?...2 nicīs+2 def.gw = 1 problem...

Tommy Augustsson tommy.augustsson@dotcom.se
Tue, 19 Mar 2002 10:10:17 +0100


Hi.

Thanks for the fast respond!

Itīs not exactly "channel bonding" or "load balancing" iīm after...

I would like to have the funktion of two independent servers in one server on the
same net.

The thing is that only installing another nic into a server wonīt do it... because
of the routing problem with 2 def. gw poiting to same destination ( You only have
one gw/net...normaly )

I donīt whant the server to load balance anything... Only work like to 2 different
servers.

If a client from a nother net sends packets to eth1 then the server should use the
eth1 to answer... so the communications is only over the eth1.

If a client from a nother net sends packets to eth0 then the server should use the
eth0 to answer... so the communications is only over the eth0.

I hope that you understand the funktions Iīm seeking for.

Greatfull for all the help and advise I can get

// Tommy Augustsson

Alan Robertson wrote:

> Tommy Augustsson wrote:
>
> > Hi everyone!
> >
> > First time post for me in this mailing-list...here we go ;-)
> >
> >
> > Does anyone know if this with "Linux High Availability Project " is a
> > solution to my problem.
>
> In general, I tend to answer "yes" to this question, but I don't think so in
> this case...
>
> > The problem is that even if I connect to eth1 ( from a nother net ) the
> > connection seems to "fall" over to eth1. No traffic besides the
> > connection packets are transmitted to eth1...the packets uses the eth0.
> > I would like the dev that recieved the connection to be the card that
> > holdīs the connection...like 2 independent servers.
> > Problem here is that server is allways using the first default gw.
> >
> > I was thinking, before I saw this, of using NAT but couldnīt figure out
> > how to make the idenīt work
> >
> > Does anyone know if I could use the "Linux High Availability" to make
> > this work?
>
> OK.  Are you looking for load balancing across NICs and subnets?
>
> If what you are looking for is load balancing across two NICs into a single
> server, then you probably want channel bonding.
>
> If what you want is load balancing across multiple NICs on multiple servers,
> I think what you want is the Linux Virtual Server software.
>
> For the most part we delegate load balancing to other projects ;-)
>
>         -- Alan Robertson
>            alanr@unix.sh
>
> ------------------------------------------------------------------------------
> Linux HA Web Site:
>   http://linux-ha.org/
> Linux HA HOWTO:
>   http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html
> Linux HA Mailing List Archive with Full Text Search:
>   http://www.muc.de/linux-ha/
> ------------------------------------------------------------------------------