Re: fwmarks usage

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, Alexandre Cassen <Alexandre.Cassen@xxxxxxxxxx>
Subject: Re: fwmarks usage
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Wed, 21 Jan 2004 05:51:19 -0500
Francois JEANMOUGIN wrote:

> The line should look like :
> virtual_server fwmark 1 {
> That's all. There is so IP information anymore when you use FWM mechanism.
> Hopefully, you didn't have time to put it in the HOWTOs, did you ?

I haven't setup an LVS using keepalived, so at the time I didn't know
the syntax. I've since looked at it more closely and see what you've
done. There is an example of using fwmark in samples/keepalived.conf.fwmark.
Also the next version of keepalived will have a man page which might help.


The file samples/keepalived.conf.virtual_server_group has

virtual_server_group VSG_1 { 8080 80 1358 80
        fwmark 1
        fwmark 2

Does this mean that any packets arriving on the director with
those IP:port combinations or those fwmarks will be forwarded
to the realservers in the sections below?


Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
<Prev in Thread] Current Thread [Next in Thread>