Skip to content

Invalid parameter macaddress on Network::Bond::Static[bond0] #139

@khorsmann

Description

@khorsmann

Hello,

i try to add an "fake" mac address because i see this error message in dmesg:

bond0: the permanent HWaddr of eno1 - 08:94:ef:ff:xx:yy - is still in use by bond0 - set the HWaddr of eno1 to a different address to avoid conflicts

System: CentOS7 7.4.xx

An old blog-post said that the message is harmless but can push up an issue that bond0 is prefering the (in my case) first slave mac and the first slave interface.

https://asanga-pradeep.blogspot.de/2010/11/warning-of-hwaddr-when-network.html

An nice "fake-mac" snippet could be:

echo macaddr=$(echo $(hostname -f)-bond0|md5sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions