Add VXLAN conf network 239.1.1.1/24 instead of ip 239.1.1.1 address
vyos@r11-roll# compare
[edit interfaces]
+vxlan vxlan22 {
+ group 239.1.1.1/24
+ source-interface eth2
+ vni 22
+}
[edit]
vyos@r11-roll# commit
[ interfaces vxlan vxlan22 ]
WARNING: RFC7348 recommends VXLAN tunnels preserve a 1500 byte MTU
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: 2021-12-02 15:33:29
Image version: VyOS 1.4-rolling-202111290926
Release train: sagitta
Built by: autobuild@vyos.net
Built on: Mon 29 Nov 2021 09:26 UTC
Build UUID: 3c772f2c-5530-46b0-ae93-a91e4b0066e9
Build commit ID: ff15b6b63ecf87
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: 8e21d64e-e498-475c-9866-290cd53a3b86
Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/interfaces-vxlan.py", line 114, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/interfaces-vxlan.py", line 103, in apply
v = VXLANIf(**vxlan)
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 318, in __init__
self._create()
File "/usr/lib/python3/dist-packages/vyos/ifconfig/vxlan.py", line 79, in _create
self._cmd(cmd.format(**self.config))
File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 52, in _cmd
return cmd(command, self.debug)
File "/usr/lib/python3/dist-packages/vyos/util.py", line 161, in cmd
raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: ip link add vxlan22 type vxlan id 22 dstport 8472 dev eth2 group 239.1.1.1/24 tos inherit ttl 16
returned:
exit code: 1
noteworthy:
cmd 'ip link add vxlan22 type vxlan id 22 dstport 8472 dev eth2 group 239.1.1.1/24 tos inherit ttl 16'
returned (out):
returned (err):
Error: any valid address is expected rather than "239.1.1.1/24".
[[interfaces vxlan vxlan22]] failed
Commit failed
[edit]
vyos@r11-roll#