Hi Rami,

Thanks, some how I am able to manage all the details you asked :

root@krishna:~# lsmod | grep veth
root@krishna:~#
root@krishna:~#
root@krishna:~# uname -a
Linux <some name> 3.14.55-<some name> #1 SMP PREEMPT  i686 GNU/Linux
root@krishna:~#
root@krishna:~#
root@krishna:~# modprobe -r veth
modprobe: FATAL: Module veth is builtin.
root@krishna:~#

Any suggestion from your end to enable this is most welcome.

BR/Krish

On Tue, Dec 6, 2016 at 9:18 PM, Er Krishna <erkrishna@gmail.com> wrote:
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@gmail.com> 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@gmail.com> 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
>