LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs_dr default gateway problem

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: lvs_dr default gateway problem
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Thu, 06 Nov 2003 07:17:55 -0500
> lvs_dr works fine.
> I only have a problem with the default gateway being removed after running
> rc.lvs_dr on the director and realservers.
> Why does the script do this?

http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO.LVS-DR.html#Pearthree

this is a feature. In a simple LVS, the realserver only sends packets
from the VIP:service to the outside world. The rc.lvs_dr script
sets up routing rules so that only those packets are allowed out.
The realserver does not need to connect to any outside boxes 
from the RIP. However in a 3-tier LVS, 

http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO.3-Tier.html

client processes on the realserver 
need information from other boxes, eg connection to a database.
The conf file for the script has options to allow connections
from the RIP to outside IP:services. 
 
Joe

-- 
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
<Prev in Thread] Current Thread [Next in Thread>