summaryrefslogtreecommitdiff
path: root/templates/system/ip/multipath/layer4-hashing/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/ip/multipath/layer4-hashing/node.def')
-rw-r--r--templates/system/ip/multipath/layer4-hashing/node.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/system/ip/multipath/layer4-hashing/node.def b/templates/system/ip/multipath/layer4-hashing/node.def
new file mode 100644
index 00000000..6cc7e3e2
--- /dev/null
+++ b/templates/system/ip/multipath/layer4-hashing/node.def
@@ -0,0 +1,4 @@
+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