summaryrefslogtreecommitdiff
path: root/templates/system/ipv6/multipath
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/ipv6/multipath')
-rw-r--r--templates/system/ipv6/multipath/layer4-hashing/node.def5
-rw-r--r--templates/system/ipv6/multipath/node.def1
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/system/ipv6/multipath/layer4-hashing/node.def b/templates/system/ipv6/multipath/layer4-hashing/node.def
new file mode 100644
index 00000000..97ffdc61
--- /dev/null
+++ b/templates/system/ipv6/multipath/layer4-hashing/node.def
@@ -0,0 +1,5 @@
+help: Use layer 4 information for ECMP hashing
+
+create: sudo sysctl -w net.ipv4.fib_multipath_hash_policy=1 >/dev/null
+delete: sudo sysctl -w net.ipv4.fib_multipath_hash_policy=0 >/dev/null
+
diff --git a/templates/system/ipv6/multipath/node.def b/templates/system/ipv6/multipath/node.def
new file mode 100644
index 00000000..76bf4372
--- /dev/null
+++ b/templates/system/ipv6/multipath/node.def
@@ -0,0 +1 @@
+help: IPv6 multipath settings