LVS/DR load balancing via FreeBSD

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Sep 19 11:46:00 UTC 2011


On 19/09/2011 11:44, Alexandr Matveev wrote:
>   We have two Linux servers doing LVS/DR load balancing (rewriting MAC
> addresses).
> Is there a way to do this in FreeBSD, so there won't be need for a Linux
> servers here?
> ( http://www.linuxvirtualserver.org/VS-DRouting.html )
> 
>   There is a port net/ipvs but it's an old and (seemingly) unmaintained
> patches.

Sounds like relayd(8) might be what you need -- in ports as net/relayd.
 It works with the pf(4) firewall, and you can use it to implement
almost all of the functions of an expensive hardware loadbalancer on a
cheap PC.

It should be able to do what you want -- which I am more familiar with
as 'Direct Server Return.'  relayd(8) is ported from OpenBSD, and the
FreeBSD port doesn't yet support absolutely everything that it can do
natively on OpenBSD.  The missing stuff is mostly to do with creating a
HA firewall/load-balancer pair, which seems to be one of your
requirements, so you might want to try it under OpenBSD.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110919/a8660b21/signature.pgp


More information about the freebsd-questions mailing list