From owner-freebsd-net@freebsd.org Tue Apr 20 11:38:19 2021 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5CD6B5F1CDD for ; Tue, 20 Apr 2021 11:38:19 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FPhWv2Glrz4cwy for ; Tue, 20 Apr 2021 11:38:19 +0000 (UTC) (envelope-from pi@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4E03D5F1B62; Tue, 20 Apr 2021 11:38:19 +0000 (UTC) Delivered-To: net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DD2A5F1CDC for ; Tue, 20 Apr 2021 11:38:19 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FPhWv0Wt1z4ch0 for ; Tue, 20 Apr 2021 11:38:18 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lYohl-000Elz-Ap for net@freebsd.org; Tue, 20 Apr 2021 13:38:09 +0200 Date: Tue, 20 Apr 2021 13:38:09 +0200 From: Kurt Jaeger To: net@freebsd.org Subject: source of ether address for tap0 ? Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4FPhWv0Wt1z4ch0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:12502, ipnet:2001:14f8::/32, country:DE] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 11:38:19 -0000 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 metric 0 mtu 1500 options=80000 ether 58:9c:fc:10:98:02 groups: tap media: Ethernet autoselect status: no carrier nd6 options=29 How is that selected ? We had a case where two devices selected the same ether/MAC... -- pi@opsec.eu +49 171 3101372 Now what ?