Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
khorsmann opened this issue Dec 11, 2017 · 0 comments
Open

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

khorsmann opened this issue Dec 11, 2017 · 0 comments

Comments

@khorsmann
Copy link

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/')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant