LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Direct routing balancing

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Direct routing balancing
From: recent@xxxxxxxxx
Date: 09 Jan 2002 21:32:31 +0100
Hi All !

I'm new to this list, so forgive me of my question is old and well answered.

Lets suppose I have iptables firewall, 3 http servers behind firewall and I 
want to do simple round-robin balancing using netfilter. I do something like 
this:

iptables -t nat -A PREROUTING -i eth0 -d 1.1.1.1 -p tcp --dport 80 -j DNAT 
--to-destination 1.1.1.1 --to-destination 2.2.2.2 --to-destination 3.3.3.3

What I really like in above configuration is that I don't touch the 
configuration of realservers. 

The question: is it possible to do the same on LVS, without VIP, with FWMARK ? 
I was trying to do it with newest ipvs but ipvs code seams to ignore preset 
MARK packets. Does firewall mark optiong works for IPVS ?

Best regards,
Paul.
<Prev in Thread] Current Thread [Next in Thread>