In fact, I want to use pipework to add an ipoib interface into docker container. Pipework use ip command to do this. But when running the command...
ip link add link ib0 name ib0.2613 type ipoib
I get
RTNETLINK answers: Operation not supported
I searched google and find this
It list all the kernel configuration that iproute2 need. I try this ,but it dosn't work for me. My OS is "3.19.0-25-generic #26~14.04.1-Ubuntu".
Any help would be appreciate!
I got a similar error, you should try this:
# apt-get install wireguard-dkms wireguard-tools linux-headers-$(uname -r)
It worked for me, kernel headers missing :shrug:
Maybe you're missing linux-headers. That was my case when I tried to install wireguard and got similar error after typing sudo ip link add dev wg0 type wireguard
.
I resolved this by installing the linux-headers corresponding to my kernel version.
In my case, I had kernel version 4.9.0-8-amd and so I installed the package linux-headers-4.9.0-8-amd
:
sudo apt install linux-headers-4.9.0-8-amd
There is little informations about this on the internet and I had to find this on the wiki of ArchLinux.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With