[FS#3426] vxlan uci setup: infinite looping netifd

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Mon Nov 2 01:39:07 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Bastian Bittorf (bittorf) 

Attached to Project - OpenWrt/LEDE Project
Summary - vxlan uci setup: infinite looping netifd
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - 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


More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3426

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list