Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2007 20:37:37 +0200
From:      Volker <volker@vwsoft.com>
To:        cangak <cangak_stress@yahoo.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: testing load balancig work.
Message-ID:  <462E4E71.4050605@vwsoft.com>
In-Reply-To: <20070424162747.83796.qmail@web37703.mail.mud.yahoo.com>
References:  <20070424162747.83796.qmail@web37703.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 04/24/07 18:27, cangak wrote:
> i have two connection, and i try load balancing by
> doing like this
> nat on $ext_if1 xxxxxxxxxxxxxxxxxxxxx
> nat on $ext_if2 xxxxxxxxxxxxxxxxxxxxx
> 
> and now how to see its work or not. thanks
> 

cangak,

these are just two NAT rules. But it has nothing to do with load
balancing.

For load balancing somebody else on the list has to comment as I never
tried balancing two external connections.

In general, if you want to check out what packets are leaving your
system, using which source address, check out the states `pfctl -ss'.
AFAIK the way for you to go is to use rdr options. Also take a look at
the round-robin options pf.conf(5). Other folks here on the list have
the comfort of having two upstream connections and already tried
things like that. Perhaps anybody else with some experience can
comment on this?

HTH

Volker



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462E4E71.4050605>