Re: [vpp-dev] tuntap interface in VPP

2019-11-26 Thread vyshakh krishnan
Dave > > > > *From:* vpp-dev@lists.fd.io *On Behalf Of *vyshakh > krishnan > *Sent:* Tuesday, November 26, 2019 8:49 AM > *To:* Dave Barach (dbarach) > *Cc:* vpp-dev@lists.fd.io > *Subject:* Re: [vpp-dev] tuntap interface in VPP > > > > Thanks Dave. > > >

Re: [vpp-dev] tuntap interface in VPP

2019-11-26 Thread Dave Barach via Lists.Fd.Io
krishnan Sent: Tuesday, November 26, 2019 8:49 AM To: Dave Barach (dbarach) Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] tuntap interface in VPP Thanks Dave. I have tried this but getting the following error. Any idea how to fix this? vpp# create tap host-if-name abc create tap: open '

Re: [vpp-dev] tuntap interface in VPP

2019-11-26 Thread vyshakh krishnan
Thanks Dave. I have tried this but getting the following error. Any idea how to fix this? vpp# create tap host-if-name abc create tap: open '/dev/vhost-net': Operation not permitted ubuntu@vpp4:~$ ls -ltr /dev/vhost-net crwxrwxrwx 1 root root 10, 238 Nov 26 04:33 /dev/vhost-net Also one more th

Re: [vpp-dev] tuntap interface in VPP

2019-11-25 Thread Dave Barach via Lists.Fd.Io
Try something like this: create tap host-if-name lstack host-ip4-addr 192.168.2.2/24 host-ip4-gw 192.168.2.1 set int ip address tap0 # vpp interface in L3 mode or set int l2 bridge tap0 1 # vpp interface in L2 mode. I use the latter setup in production on my vpp home gateway. HTH... Dave