On Wednesday 22 December 2010 at 16:44 (CET), Graeme Fowler wrote:
> On Wed, 2010-12-22 at 15:44 +0100, Ruben Laban wrote:
> > I'm trying to do direct-routing loadbalancing of a complete /23
> Use fwmarks.
> Have an iptables rule (in the 'mangle' table, IIRC) to match on the /23:
> iptables -t mangle -A PREROUTING -d 192.168.0.0/16 -p tcp \
> -m tcp --dport 80 -j MARK --set-mark 0x1
> Then in the IPVS config (however you configure it) match on the mark
> value rather than a network prefix.
Forgot to mention that part, I already had a fwmark configured for it, but for
some reason IPVS couldn't "grab" the actual packets.
On Wednesday 22 December 2010 at 16:57 (CET), Joseph Mack NA3T wrote:
> there's a section in the HOWTO on VIPless directors and
The term "VIPless" nudged my google searches in the right direction. I applied
the routing tricks to route traffic for the fwmark to lo, et voila: it works!
Thank you both for the pointers.
Please read the documentation before posting - it's available at:
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users