[PATCH] net/tap: Set locally administered bit with a fixed MAC address
Stephen Hemminger
stephen at networkplumber.org
Wed Apr 26 02:39:59 CEST 2023
On Tue, 25 Apr 2023 16:58:06 -0400
David Christensen <drc at linux.vnet.ibm.com> wrote:
> When the tap driver is loaded and the user selects the optional
> "mac=fixed" setting, the tap driver incorrectly uses a globally
> unique EUI-48 identifier (as documented in RFC 7042) of
> 00:64:74:61:70:<iface_idx>. Since this is a locally generated ID,
> the Local bit in the MAC address should be set to 1, resulting in
> the new address 02:64:74:61:70:<iface_idx>.
>
> Bugzilla ID: 1198
>
> Signed-off-by: David Christensen <drc at linux.vnet.ibm.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list