LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Gateway in LVS-DR

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Gateway in LVS-DR
From: Ariyo Nugroho <ariyo132@xxxxxxxxx>
Date: Wed, 29 Oct 2003 18:48:04 -0800 (PST)
--- Horms <horms@xxxxxxxxxxxx> wrote:
> On Wed, Oct 29, 2003 at 12:38:07AM -0800, Ariyo
> Nugroho wrote:
> 
> > I have questions about LVS-DR:
> > 
> > 1. Is it OK that the director also acts as the
> > gateway? From my previous setup with LVS-NAT, I'm
> left
> > with the director acted as the gateway for the
> > realservers. And for some reasons, I think I'll
> keep
> > using it as the gateway.
> 
> Generally no.

So, do you think I must separate the gateway from the
director? OK then.
 
> 
> > 2. I don't understand what this command does:
> > 
> > /sbin/ifconfig lo:110 192.168.1.110 broadcast
> > 192.168.1.110 netmask 255.255.255.255
> 
> The netmask has to be 255.255.255.255 because
> the loopback interface will answer packets for
> _all_ hosts on any configured interface.
> So 192.168.1.110 with netmask of 255.255.255.0
> will cause the machine to accept packets for
> _all_ addresses in the range 192.168.1.0 -
> 192.168.1.255,
> which is probably not what you want.

Aha! I understand now. You know what, you're very
creative, man! Thank you very much. I like this
community :) No, I must build my LVS-DR. Wish me luck!

 
Regards



Ariyo

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
<Prev in Thread] Current Thread [Next in Thread>