source of ether address for tap0 ?

Kurt Jaeger pi at freebsd.org
Tue Apr 20 11:38:19 UTC 2021


Hello,

does anyone know how the system selects the MAC/ether adress of a
newly-created tap0 device ?

ifconfig tap0 create

has this:

tap0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether 58:9c:fc:10:98:02
        groups: tap
        media: Ethernet autoselect
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

How is that selected ?

We had a case where two devices selected the same ether/MAC...

-- 
pi at opsec.eu            +49 171 3101372                    Now what ?


More information about the freebsd-net mailing list