Patrick Schaaf <net...@bof.de> writes:

> 2014-03-07 11:52 GMT+01:00 Tomasz Chmielewski <t...@virtall.com>:
>
>> I was wondering if I can use ipvsadm not only for load balancing, but
>> also for "code testing".
>
> The key to such usage, is fwmark based LVS virtual hosts. You then use
> the iptables -t mangle PREROUTING to set firewall mark [...]

Just a note: you don't *have to* use the mangle table (though oldish
kernels restrict the MARK target to the mangle table), if you don't want
to base your routing decision on fwmarks.  For LVS virtual services, you
don't.
-- 
Regards,
Feri.

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-requ...@linuxvirtualserver.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Reply via email to