Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2743 - Some parameters for VxLAN in configuration file /etc/config/network should be optional not mandatory #7547

Open
openwrt-bot opened this issue Jan 16, 2020 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

kofec:

  • Device problem occurs on Xioami MINI - looks like generic problem
  • Software versions of OpenWrt/LEDE release, packages, etc. - TRUNK - Linux version 4.14.162 (kofec@E5420Mint) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11829-e3e939d8e6))
  • Steps to reproduce

configuration for vxlan in /etc/config/network without "peeraddr" is now accepted but this is optional parameter for vxlan:
e.g:
config interface 'vxlan0'
option proto 'vxlan'
option port '8472'
option vid '42'
option peeraddr '10.4.4.1
'
but when create link/interface vxlan:
root@XiaomiMiniAP:~# ip link add vxlan0 type vxlan id 42
vxlan: destination port not specified
Will use Linux kernel default (non-standard value)
Use 'dstport 4789' to get the IANA assigned value
Use 'dstport 0' to get default and quiet this message

So it is enough to:
ip link add vxlan0 type vxlan id 42 dstport 0
So It should be enough to provide:
config interface 'vxlan0'
option proto 'vxlan'
option port '8472'
option vid '42'

Also port number 0 is not accepted (Use 'dstport 0' to get default and quiet this message) but it can be set to 8472(default)

And I have a question: it is possible to define in /etc/config/network e.g:
bridge fdb append to 00:00:00:00:00:00 dst 10.4.4.1 dev vxlan0

@openwrt-bot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant