summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2011-07-27 10:41:32 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2011-07-27 10:41:32 +0000
commitb17c5e763c51868c70d6e9d82e060bb5493c49e7 (patch)
treebc19fdbe18cc2934a0090007170bba696b3be3c5 /regress/sbin/pfctl
parent5b0ff694132da6adf809f0a7fb35bf0ea41300c7 (diff)
oops, missing file for weighted round-robin test.
Diffstat (limited to 'regress/sbin/pfctl')
-rw-r--r--regress/sbin/pfctl/pfr.addrs317
1 files changed, 17 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pfr.addrs3 b/regress/sbin/pfctl/pfr.addrs3
new file mode 100644
index 00000000000..ba22f42d9ac
--- /dev/null
+++ b/regress/sbin/pfctl/pfr.addrs3
@@ -0,0 +1,17 @@
+# load balancing addresses
+
+# some unroutables
+127.0.0.1 weight 1000 192.168/16 172.16/12 10/8
+
+# some IPv6 addresses
+::5 weight 10 fe80::/16 2000::1 weight 1 ::4 weight 6
+
+# interfaces
+lo0 lo0/24 lo0:network
+
+# name resolution
+localhost weight 2
+
+1.1.1.1 weight 10 # comment may appear...
+2.2.2.2 weight 7 # after addresses too.
+3.3.3.3 weight 6