LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: fwmarks usage

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: fwmarks usage
From: "Francois JEANMOUGIN" <Francois.JEANMOUGIN@xxxxxxxxxxxxxxxxx>
Date: Wed, 21 Jan 2004 10:18:47 +0100

Joseph Mack :
> Francois JEANMOUGIN wrote:
> >
> > > > virtual_server [RIP masked here] fwmark 1 {
> > >                  ^^^^^^^^^^^^^^^^^
> > > what does this mean?
> > >
> > > > virtual_server [VIP really masked, for sure] 80 {
> > >                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> > So, you have to put you're real, colon separated, Virtual IP at this
> place.
> > Anyway, have a look at the keepalived documentation (the pdf one), It
> gives pretty good examples on how to write your LVS config in it.
> 
> your example is a little different since it has the fwmark in it.
> So instead of a port number you have "fwmark 1", which is a string
> that is sent to ipvsadm?

Guess what ? My example was _wrong_ :).

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 ?

François.

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