Building the Network You Need with OpenBSD's PF: BSDCan, Ottawa May 6th, 2009
Prev |  | Next

# Sharing the load: Address pools

Your users have bookmarked your `$webserver`, load goes up.

Solution: more servers and a redirection

    webpool = "{ 192.0.2.214, 192.0.2.215, 192.0.2.216, 192.0.2.217 }"

    rdr on $ext_if from any to $webserver port $webports -> $webpool \
           round-robin sticky-address