If you try to create VRF with name default, CLI will return backtrace
vyos@vyos# set vrf name default table 301
[edit]
vyos@vyos# commit
[ vrf ]
VyOS had an issue completing a command.
We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
https://support.vyos.io/
- Make sure you are running the latest version of VyOS available at:
https://vyos.net/get/
- Consult the community forum to see how to handle this issue:
https://forum.vyos.io
- Join us on Slack where our users exchange help and advice:
https://vyos.slack.com
When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
business policy requires it)
- and include all the information presented below
Report time: 2022-07-11 16:41:39
Image version: VyOS 1.4-rolling-202207111030
Release train: sagitta
Built by: autobuild@vyos.net
Built on: Mon 11 Jul 2022 10:30 UTC
Build UUID: e01c6354-40c7-48db-a889-09516d7b1d31
Build commit ID: 21bd5b37f6f287
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: bfc517bc-ef9a-40b5-8bc9-62575c9b5fee
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/vrf.py", line 263, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/vrf.py", line 218, in apply
vrf_if = Interface(name)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 314, in __init__
if not self.iftype:
AttributeError: 'Interface' object has no attribute 'iftype'
noteworthy:
cmd 'ip -4 rule add pref 1000 l3mdev protocol kernel'
returned (out):
returned (err):
RTNETLINK answers: File exists
cmd 'ip -4 rule add pref 2000 l3mdev unreachable'
returned (out):
returned (err):
RTNETLINK answers: File exists
cmd 'ip -6 rule add pref 1000 l3mdev protocol kernel'
returned (out):
returned (err):
RTNETLINK answers: File exists
cmd 'ip -6 rule add pref 2000 l3mdev unreachable'
returned (out):
returned (err):
RTNETLINK answers: File exists
cmd 'ip link add default type vrf table 301'
returned (out):
returned (err):
RTNETLINK answers: Invalid argument
[[vrf]] failed
Commit failed
[edit]