LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[RFC PATCH] Using LVS as a way to provide load-balanced internet

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [RFC PATCH] Using LVS as a way to provide load-balanced internet
From: Ludo Stellingwerff <ludo@xxxxxxxxxxxxx>
Date: Fri, 29 Jul 2005 13:40:24 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Attached you'll find a minimum implementation to provide support for
using LVS as a loadbalancer on internet gateways. It is meant to use a
fwmark as a LVS selector (on forwarded traffic!!) and then do a form
of direct routing to the gateway's. But instead of direct routing to
the output device it'll just change the skb->dst to the new gateway
and return to the normal network stack.  It works okay in testing.

I know this is not part of the normal purpose of LVS, but using this
trick I get a very flexible internet access load-balancer (or any
other traffic if desired).  Please consider the usability of these
patches and give your opinion on the solution.

If neccessary I can split the patch in a part for the forwarding hook
and a part for the reinjection.

Greetings,
Ludo.

- --
Ludo Stellingwerff

V&S B.V. The Netherlands
ProTactive firewall solution.
Tel: +31 172 416116
Fax: +31 172 416124

site: www.protactive.nl
demo: http://www.protactive.nl:81/netview.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC6hWnOF3sCpZ+AJgRAk9GAJ9Dq+msfwPljzQgNzHM5ctAl6BoxQCgh22r
Hfp2Js/Lg7R18b2YSPMEKzA=
=RTkl
-----END PGP SIGNATURE-----





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