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#3426 - vxlan uci setup: infinite looping netifd #8572

Closed
openwrt-bot opened this issue Nov 2, 2020 · 3 comments
Closed

FS#3426 - vxlan uci setup: infinite looping netifd #8572

openwrt-bot opened this issue Nov 2, 2020 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

bittorf:

tested with trunk r14825

when configuring a vxlan interface like described in the wiki:
https://openwrt.org/docs/guide-user/network/tunneling_interface_protocols#vxlan_example_configuration

the device will up/down our interface in a loop forever:

# logread ... Mon Nov 2 07:31:03 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:03 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:04 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:05 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is now down Mon Nov 2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is setting up now Mon Nov 2 07:31:06 2020 daemon.notice netifd: Interface 'vx' is now down ...

uci parameter:

config interface 'vx' option proto 'vxlan' option peeraddr '10.63.22.98' option port '4789' option vid '4'

config interface 'l2vpn'
option ifname '@vx'
option proto 'static'
option ipaddr '192.168.22.4'
option netmask '255.255.255.0'
option layer '2'

when manually configuring this, it works without issues:

ip link add dev vx type vxlan id 4 remote 10.63.22.98 dstport 4789 ip link set dev vx up ip addr add 192.168.22.4/24 dev vx
@openwrt-bot
Copy link
Author

s-er-01:

It's still happening with
todays trunk r14935 (2020-nov-14),
even after the netifd changes.

@openwrt-bot
Copy link
Author

s-er-01:

It's still happening with
todays trunk r15004 (2020-nov-23),
even after the netifd changes.

@pedrompcaetano
Copy link

Hi,
This still happens today on a box running 22.03.
It has been discussed here: https://forum.openwrt.org/t/layer-2-vxlan-tunnel-setup/137828

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

2 participants