Cannot get ipvs fwmark service to work

Mindaugas Riauba mind at bi.lt
Mon Oct 9 17:36:54 BST 2006


> > > > ipvsadm -Sn shows:
> > > > -A -f 1 -s wlc -p 10
> > > > -a -f 1 -r 192.168.110.10:0 -m -w 1
> > > 
> > > Reread documentation and found myself. The problem was that LVS handles
> > > packets on LOCAL_IN and my passing packets did not get there. Now I made
> > > those packets as local using "ip rule add prio 1000 fwmark 1 table 100;ip
> > > route add local 0/0 table 100 dev lo" and LVS started to handle them.
> 
> never mind. I forgot. You don't have the target IP on the director and you're
> using Julian's work around to get the packets accepted in LOCAL_IN.

  Good. That meands I understood LVS correctly.

  Just one more stupid question. In my case what are advantages of LVS 
versus iptables multiple DNAT target or CLUSTER target?
  More load balancing algorithms. What else?

  Mindaugas


More information about the lvs-users mailing list