Page MenuHomeVyOS Platform

VRF bind-to-all - it doesn't apply the settings .
Closed, DuplicatePublicBUG


Hi team

I was testing the following command 'set vrf bind-to-all' but it doesn't apply settings:

vyos@rt-vrf-test-new# compare
[edit vrf]
vyos@rt-vrf-test-new# commit
vyos@rt-vrf-test-new# save
Saving configuration to '/config/config.boot'...

vyos@rt-vrf-test-new:~$ sudo sysctl -a | grep  l3mdev
net.ipv4.raw_l3mdev_accept = 1
net.ipv4.tcp_l3mdev_accept = 0
net.ipv4.udp_l3mdev_accept = 0

however , Python vrf setting is done :

if 'bind_to_all' in vrf:
    bind_all = '1'
_cmd(f'sysctl -wq net.ipv4.tcp_l3mdev_accept={bind_all}')
_cmd(f'sysctl -wq net.ipv4.udp_l3mdev_accept={bind_all}')

version :

vyos@rt-vrf-test-new:~$ show version

Version:          VyOS 1.3.0-rc5
Release Train:    equuleus

Built by:         Sentrium S.L.
Built on:         Tue 29 Jun 2021 08:26 UTC
Build UUID:       36f7c218-6ebb-497f-9ec5-676241e5c13a
Build Commit ID:  892e8689b3234e

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

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:
Hardware UUID:    268aee2f-1095-4803-9928-e26e56225c25

Copyright:        VyOS maintainers and contributor


Difficulty level
Easy (less than an hour)
VyOS 1.3.0-rc5 /VyOS 1.3.0-rc4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Config syntax change (migratable)

Event Timeline

c-po changed the task status from Open to In progress.Jul 11 2021, 11:36 AM
c-po claimed this task.
c-po triaged this task as High priority.