Page MenuHomeVyOS Platform

"system ip multipath layer4-hashing" doesn't work
Closed, ResolvedPublicBUG

Description

To reproduce:

configure
set system ip multipath layer4-hashing
commit
exit
sysctl net.ipv4.fib_multipath_hash_policy

The last command should print the following:

net.ipv4.fib_multipath_hash_policy = 1

Details

Difficulty level
Easy (less than an hour)
Version
1.4-rolling-202104260417
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Looks good on 1.4-rolling-202104280417 and 1.3-rolling-202104280642:

vyos@vyos:~$ configure
[edit]
vyos@vyos# set system ip multipath layer4-hashing
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# exit
Warning: configuration changes have not been saved.
exit
vyos@vyos:~$ sysctl net.ipv4.fib_multipath_hash_policy
net.ipv4.fib_multipath_hash_policy = 1
vyos@vyos:~$ show version

Version:          VyOS 1.4-rolling-202104280417
Release Train:    sagitta

Built by:         [email protected]
Built on:         Thu 29 Apr 2021 01:17 UTC
Build UUID:       9010214d-3ed4-478a-be64-b90a79b33fb4
Build Commit ID:  5fb7304cfba259

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (Q35 + ICH9, 2009)
Hardware S/N:     
Hardware UUID:    b0bd4392-44f5-4160-af97-85c71d67d4d2

Copyright:        VyOS maintainers and contributors
vyos@vyos:~$ configure
[edit]
vyos@vyos# set system ip multipath layer4-hashing
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# exit
Warning: configuration changes have not been saved.
exit
vyos@vyos:~$ sysctl net.ipv4.fib_multipath_hash_policy
net.ipv4.fib_multipath_hash_policy = 1
vyos@vyos:~$ show version

Version:          VyOS 1.3-rolling-202104280642
Release Train:    equuleus

Built by:         [email protected]
Built on:         Thu 29 Apr 2021 03:42 UTC
Build UUID:       ae16ca93-defa-4a35-8a20-f48a77d41752
Build Commit ID:  470b2d00790a82

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest

Hardware vendor:  QEMU
Hardware model:   Standard PC (Q35 + ICH9, 2009)
Hardware S/N:     
Hardware UUID:    3428117a-7b61-4ce9-a6c4-29921bab3d16

Copyright:        VyOS maintainers and contributors
SrividyaA set Issue type to Bug (incorrect behavior).Aug 31 2021, 3:40 PM