LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: client source IP based redirection

To: S Ashok Kumar <gsaki@xxxxxxxxxxxxx>
Subject: Re: client source IP based redirection
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Julian Anastasov <uli@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 May 2000 16:46:52 +0300 (EEST)
        Hello,

On Wed, 10 May 2000, S Ashok Kumar wrote:

> 
> Is it possible to direct requests for one service (say HTTP)
> to a set of servers based on source IP address of the client?
> 
> For example, client A (IP: 10.1.1.1) should be directed to
> one of: 192.168.10.1, 192.168.10.2 or 192.168.10.3. Similarly
> client B (IP: 10.2.2.1) should be directed to one of:
> 192.168.20.1, 192.168.20.2 or 192.168.20.3.
> 
> I do not find any information about this in the documentation
> of Linux VS.


        Search for Firewall Mark (fwmark) support in the
latest LVS versions. Check the ipchains docs how the packets
can be marked.

        Then create two virtual services with different
fwmark values.

        Is that solves your problem? More help?

Regards

--
Julian Anastasov <uli@xxxxxxxxxxxxxxxxxxxxxx>



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