Unix Technical Forum

Re: Pf rule for carp and round-robin

This is a discussion on Re: Pf rule for carp and round-robin within the lucky.openbsd.misc forums, part of the OpenBSD category; --> On Thu, 8 Sep 2005 16:07:27 -0400 "Monah Baki" <mbaki@whywire.net> wrote: > { $web_srvr1, $web_srvr2 } round-robin sticky-address Try ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2008, 07:10 AM
ed
 
Posts: n/a
Default Re: Pf rule for carp and round-robin

On Thu, 8 Sep 2005 16:07:27 -0400
"Monah Baki" <mbaki@whywire.net> wrote:

> { $web_srvr1, $web_srvr2 } round-robin sticky-address


Try

rdr on $ext_if proto tcp from any to $carp5 port 80 \
-> { $web_srvr1, $web_srvr2 } round-robin source-hash

The above may be incorrect so you should check out the load balance
section of the FAQ, I am not sure off the top of my head if the
round-robin and source-hash will conflict, as the default action
when you specify greater than one address to forward to is to
round-robin anyway.
--
http://edd.link9.net - http://irc.is-cool.net

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:13 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com