> But, it always directs to one particular ip address. How to see load
> balancing?
>
> today,  I myself learnt it from the below url
>

http://www.openbsd.org/faq/pf/pools.html#incoming

match in on $ext_if proto tcp to port 80 rdr-to $web_servers \
    round-robin *sticky-address  *
*
* Successive connections will be redirected to the web servers in a
round-robin manner with connections from the same source being sent to the
same web server. This "*sticky connection*" will exist as long as there are
states that refer to this connection. Once the *states expire*, so will the
sticky connection. Further connections from that host will be redirected to
*the next web server* in the round robin.

If i removed *sticky-address *from the above rule, It will load balance *one
by one manner*.
*
 *Thanks you all for your wonderful support.



-- 
> Thank you
> Indunil Jayasooriya
>
>


-- 
Thank you
Indunil Jayasooriya

Reply via email to