LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Hopping to VIP on other real servers

To: Stephen Zander <gibreel@xxxxxxxxx>
Subject: Re: Hopping to VIP on other real servers
Cc: Joseph Mack <mack@xxxxxxxxxxx>, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: jake buchholz <jake@xxxxxxxxxx>
Date: Wed, 15 Mar 2000 13:15:20 -0600
On Tue, Mar 14, 2000 at 08:57:48PM -0800, Stephen Zander wrote:
> >>>>> "jake" == jake buchholz <jake@xxxxxxxxxx> writes:
>     jake> I need to find some way to forward/tunnel/? virtual-ip:3309
>     jake> off the web and shell real-servers over to the appropriate
>     jake> mysql real-server where it can be properly serviced...
> 
> In a situation with only a single mysql box, static routes on the
> web/shell real-boxen pointing the mysql virtual-ip to the mysql box
> real-ip would do.
> In a situation with multiple mysql boxen, the static routes on the
> shell/web boxen would point the mysql virtual-ip to the redirector.

Hm...  I tried a route off the local box back at the redirector with...

route add -host <VIP> gateway <LVS-PRIV-IP> dev eth1

...and...

route add -net <VIPs-NET> netmask <VIPs-NM> gateway <LVS-PRIV-IP> dev eth1

But the <VIP> on lo:0 is still grabbing my attempts to connect to
<VIP>:3309...


-- 
Jake Buchholz, Senior Systems Administrator     :           /~\
ExecPC (a Voyager.net company, NASDAQ: VOYN)    :    ASCII  \ /  Against
Voyager.net Hosting Solutions Lead R&D Engineer :   Ribbon   X   HTML
GnuPG (PGP5/6) and PGP 2.6.2 pub keys available : Campaign  / \  Mail


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