Not permitted to add eth0 to bond0
5,387
As was said in comment, try first make eth0 interface down and then add to the bond0. It helped in my case:
sudo ip link set dev eth0 down
sudo ip link set dev eth0 master bond0
Related videos on Youtube
Author by
apuboard
Updated on September 18, 2022Comments
-
apuboard over 1 year
I'm trying to add an interface to my bond0 but I always get the error.
sudo ip link set dev eth0 master bond0 RTNETLINK answers: Operation not permitted
I already tried it with sudo and with the root user neither worked. Is my command wrong. I got it from here:
https://github.com/ebiken/doc-network/wiki/Linux-iproute2-:-ip-link-bridge-operations-
duanev over 5 yearssome kernels appear to require the slave device to be down before it can be bound
-