LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

network granularity with persistent fwmark

To: Julian Anastasov <ja@xxxxxx>
Subject: network granularity with persistent fwmark
Cc: mack.joseph@xxxxxxx, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Tue, 10 Apr 2001 07:46:19 -0400
when you are using the VIP as the target with ipvsadm,
you can do things like -p -M 255.255.255.0
to make all clients from a network equivalent as far as
persistence is concerned.

I would expect this not to be relevant when using fwmark,
ie there is no such thing as a netmask for a fwmark.
I expect if you were using persistence with fwmark, then any
connection requests arriving with the same fwmark will 
be treated as belonging to that persistence group.
Presumably any combination of client IPs and/or 
networks could have been used to make the rules 
which marks the packets.

Is this true?

I notice that I can run the command

director:# ipvsadm -A -f 1 -s rr -p 600 -M 255.255.255.0

and ipvsadm doesn't complain.

Does the ipvsadm code allow persistence granularity with
fwmark?

Joe

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


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