Page MenuHomeVyOS Platform

Sysctl for IPv4 ECMP Hash Policy Not Set
Closed, ResolvedPublicBUG

Description

sysctl for net.ipv4.fib_multipath_hash_policy appears to not be getting set:

trae@cr01a-vyos# show system sysctl
 custom net.ipv4.fib_multipath_hash_policy {
     value 1
 }
 custom net.ipv4.tcp_congestion_control {
     value vegas
 }
 custom net.ipv6.fib_multipath_hash_policy {
     value 1
 }
[edit]
trae@cr01a-vyos# sysctl -a 2>&1 | grep fib
net.ipv4.fib_multipath_hash_policy = 0
net.ipv4.fib_multipath_use_neigh = 0
net.ipv6.fib_multipath_hash_policy = 1

If I set it manually it works fine:

trae@cr01a-vyos# sudo sysctl -w net.ipv4.fib_multipath_hash_policy=1
net.ipv4.fib_multipath_hash_policy = 1
[edit]
trae@cr01a-vyos# sysctl -a 2>&1 | grep fib
net.ipv4.fib_multipath_hash_policy = 1
net.ipv4.fib_multipath_use_neigh = 0
net.ipv6.fib_multipath_hash_policy = 1

Edit: I tested it on another router (same version) and it appears that it works before rebooting, but not after.

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202006241940
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

trae32566 updated the task description. (Show Details)
runar added a subscriber: runar.Jul 8 2020, 5:38 AM

HI! On 1.3 layer4-hashing is activated by using the set system ip layer4-hashing command

runar added a comment.Jul 8 2020, 5:44 AM

The same for ipv6 is available under set system ipv6 layer4-hashing

pasik added a subscriber: pasik.Jul 8 2020, 10:11 AM
trae32566 closed this task as Resolved.Jul 8 2020, 4:30 PM
trae32566 claimed this task.

Oh, neat. Thanks, I'll close this then!

c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Aug 3 2020, 2:13 PM