LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: please help...

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx, malalon@xxxxxxxxxxxxxx
Subject: Re: please help...
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Sat, 16 Mar 2002 14:51:32 -0500
Zorro wrote:
> 
> Hi.
> 
> So I've tried. I've read "Routing in Linux 2.2" and "Advanced Routing HOWTO".
> Tried various possibilities of "ip route add" command and still can't do it. 
> Can
> anyone help me?

I assume that you have two concurrently operating LVS-NAT directors, forwarding
requests to two RS. Lets say you are serving http and the directors are 
forwarding
requests to VIP1:80 and VIP2:80. Each realserver will have to be offering a 
service
for each director, ie 2 http services on say RIP1:80 and RIP1:8080, RIP2:80 and 
RIP2:8080
(or each RS can have 2 RIPs each offering service on port 80). These two 
services can
be reading the same files in DOCROOT.

Now you have replies coming from two IP:ports on each realserver. iproute2 
allows
routing by src_addr and/or src_port.

Joe

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


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