LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Broadcast Address for VIP (lo:0)...

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, "Sean Rolinson" <snowdog@xxxxxxxxxxxxx>
Subject: RE: Broadcast Address for VIP (lo:0)...
From: "Peter Mueller" <pmueller@xxxxxxxxxxxx>
Date: Tue, 10 Aug 2004 13:26:36 -0700
> I'd be very interested in how you got LVS/DR on RH 3.0 ES 
> running, like maybe seeing your configuration file. Did you 
> use the RedHat Piranha software or used the LVS software directly?

The easiest way is to use Horm's RPMS, especially with the kernel:
http://www.ultramonkey.org/download/2.0.1/rh.el.3.0/

> My question to the group: Is it ok to not to have a broadcast 
> entry in for lo:0?  Does LVS need to have a broadcast set for 
> it to work properly?

As long as its on loopback it should be ok.  The goal on the realservers
with this kermudgery is to not ARP-reply with the VIP.

One other option for this I use on Redhat real servers is transparent
proxy.  You don't have to deal with setting up loopback adapters and all
that jazz.

$IPTABLES -t nat -A PREROUTING -p tcp -d $VIP --dport 80 -j REDIRECT
--to-port 80

P
<Prev in Thread] Current Thread [Next in Thread>