Thanks Rami for all the help. Yes lsmod shows that veth is not there. Perhaps the kernel has not been compiled with config_veth option enable in .config. Exact kernel version I will let you know tomorrow but most of the chances its 4.* kernel. Its customized kernel I got from different team, they have build it via yocto and I had to setup one network topology on it.
BR/Krish
On Tue, Dec 6, 2016 at 8:18 PM, Rami Rosen <roszenrami@xxxxxxxxx> wrote:
Hi Eri,
The driver is the veth driver, but it should be loaded automatically
when running this
command.
What do you get when running:
modprobe veth
And what do you have when running
lsmod | grep veth ?
Which kernel are you working with ? can you paste the output of
"uname -a"? is it a kernel you built from source, or a kernel which is
part of a distro?
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
> ______________________________
On 6 December 2016 at 15:15, Er Krishna <erkrishna@xxxxxxxxx> wrote:
> Hi All,
>
> Can some one pls let me know for below command to run on linux which driver
> and which package I need to install ? I see I have iproute package installed
> on my box, but still I am facing below error.
>
> root@krishna:~# ip link add ep1 type veth peer name ep2
> RTNETLINK answers: Operation not supported
>
> BR/Krish
>
_________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/ kernelnewbies
>
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies