You can check VPP error counters using: sh errors
You can also trace the packet within VPP:
Please add ‘trace add virtio-input 10’ before pinging through tap interface. 
Once you ping the desired IP address, please do ‘sh trace’.

-br
Mohsin

From: <vpp-dev@lists.fd.io> on behalf of "long...@gmail.com" <long...@gmail.com>
Date: Wednesday, April 6, 2022 at 8:59 AM
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] Fastest way to connect application in user space to VPP 
#vpp


[Edited Message Follows]
Hi All,

I created virtio interface and using l2 xconnect to connect it to tap interface:
vppctl create int virtio 0000:00:08.0 gso-enabled
vppctl create tap id 0 host-ip4-addr 192.168.56.101/24 gso

vppctl set interface l2 xconnect tap0 virtio-0/0/8/0
vppctl set interface l2 xconnect virtio-0/0/8/0 tap0

vppctl set interface state virtio-0/0/8/0 up
vppctl set interface state tap0 up

But currently I can not ping to 192.168.56.1(an external server gateway) 
through tap interface.
Can you help me correct?

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21218): https://lists.fd.io/g/vpp-dev/message/21218
Mute This Topic: https://lists.fd.io/mt/90135014/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to