Skip to content

Issue when changing mac address #174

@summershrimp

Description

@summershrimp

we want to change mac addr to something like 00:xx:xx:xx:xx:xx to meet our special requirement,
but according to the codes, it is only allowed to set to Locally Administered MAC addresses x2:xx x6:xx xA:xx xE:xx

tap-windows6/src/adapter.c

Lines 185 to 187 in 0cad866

if ((ETH_IS_MULTICAST(configAddress)
|| ETH_IS_BROADCAST(configAddress))
|| !NIC_ADDR_IS_LOCALLY_ADMINISTERED(configAddress))

https://github.com/OpenVPN/tap-windows6/blob/master/src/adapter.h#L47-L48

Can we remove that restriction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions