[Bug 241704] if_tap not using random MAC upon creation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 4 10:44:25 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241704

            Bug ID: 241704
           Summary: if_tap not using random MAC upon creation
           Product: Base System
           Version: 12.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: vvelox at vvelox.net

Updated all my machines to r354217 this week and began running into an issue
where once rebooted  OpenVPN stopped working. Turns out that all the tap0
interfaces on the machines when they came back up had the MAC
58:9c:fc:10:ff:c4, which prevents prevents ARP from working.

To reproduce this...

ifconfig tap create
ifconfig tap0
ifconfig tap0 destroy
ifconfig tap create
ifconfig tap0
ifconfig tap0 destroy
ifconfig tap create
ifconfig tap0
ifconfig tap0 destroy

And each time on each machine it will be created with the same MAC.

The work around for this is to add a manually set random MAC in via 'ether
random' for the line for it in rc.conf.

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


More information about the freebsd-bugs mailing list