[Bug 259644] vxlan(4): interface does not come up when the local tunnel address appears

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Nov 2021 12:36:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259644

            Bug ID: 259644
           Summary: vxlan(4): interface does not come up when the local
                    tunnel address appears
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: zlei.huang@gmail.com

Also when the local tunnel address disappears the interface is not brought
down.

Environment: FreeBSD-12.2-RELEASE-p7, FreeBSD-13.0-RELEASE-p4 and CURRENT/14.

Steps to repeat:

Scene 1:
# ifconfig vxlan0 create vxlanid 108 vxlanlocal 192.168.100.1 vxlanremote
192.168.100.2
# ifconfig vxlan0 inet 192.0.2.2/24
# ifconfig tap0 create inet 192.168.100.1/24

The vxlan0 keep not "RUNNING", can be verify by:
# ifconfig vxlan0 | grep RUNNING


Scene 2:
# ifconfig tap0 create inet 192.168.100.1/24
# ifconfig vxlan0 create vxlanid 108 vxlanlocal 192.168.100.1 vxlanremote
192.168.100.2
# ifconfig vxlan0 inet 192.0.2.2/24
# ifconfig vxlan0 | grep RUNNING
vxlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1450

-- 
You are receiving this mail because:
You are the assignee for the bug.