Hi,
We tried to create a VPP tap interface, assigned ip address to both VPP and 
Linux side, and then ping VPP tap interface via host interface, and vice versa.
But ping failed on both side.

With below ping via VPP tap interface for example, it seems VPP has sent out 
packets, but there’s no any counter increasing on the interface of host side.

Could you please suggest on this issue?

DBGvpp# create tap
DBGvpp# set int ip address tap0 16.0.10.2/24
DBGvpp# set int state tap0 up

$ sudo ip a add 16.0.10.1/24 dev tap0

DBGvpp# clear interfaces
DBGvpp# clear errors
DBGvpp# clear runtime
DBGvpp# ping 16.0.10.1

Statistics: 5 sent, 0 received, 100% packet loss

DBGvpp# show runtime
Thread 0 vpp_main (lcore 2)
Time 88.2, average vectors/node 1.00, last 128 main loops 0.00 per node 0.00
  vector rates in 0.0000e0, out 5.6688e-2, drop 5.6688e-2, punt 0.0000e0
             Name                 State         Calls          Vectors        
Suspends         Clocks       Vectors/Call
api-rx-from-ring                any wait                 0               0      
         4          8.05e1            0.00
dhcp-client-process             any wait                 0               0      
         1          8.00e1            0.00
dpdk-process                    any wait                 0               0      
        30          3.45e1            0.00
drop                             active                  5               5      
         0          6.30e1            1.00
error-drop                       active                  5               5      
         0          7.24e1            1.00
fib-walk                        any wait                 0               0      
        44          4.35e1            0.00
ikev2-manager-process           any wait                 0               0      
        88          2.78e1            0.00
ip-neighbor-scan-process        any wait                 0               0      
         2          6.50e1            0.00
ip-route-resolver-process       any wait                 0               0      
         1          8.20e1            0.00
ip4-glean                        active                  5               5      
         0          9.50e2            1.00
ip4-lookup                       active                  5               5      
         0          1.39e2            1.00
ip4-reassembly-expire-walk      any wait                 0               0      
         9          4.09e1            0.00
ip6-icmp-neighbor-discovery-ev  any wait                 0               0      
        88          2.46e1            0.00
ip6-reassembly-expire-walk      any wait                 0               0      
         9          4.06e1            0.00
statseg-collector-process       time wait                0               0      
         9          6.33e1            0.00
tap0-output                      active                  5               5      
         0          8.16e1            1.00
tap0-tx                          active                  5               5      
         0          7.20e1            1.00
unix-cli-stdin                   active                  0               0      
        56          6.18e2            0.00
unix-epoll-input                 polling          25126436               0      
         0          3.14e1            0.00
---------------
Thread 1 vpp_wk_0 (lcore 6)
Time 88.2, average vectors/node 0.00, last 128 main loops 0.00 per node 0.00
  vector rates in 0.0000e0, out 0.0000e0, drop 0.0000e0, punt 0.0000e0
             Name                 State         Calls          Vectors        
Suspends         Clocks       Vectors/Call
unix-epoll-input                 polling             45817               0      
         0          1.47e1            0.00
virtio-input                     polling          46962827               0      
         0          2.96e1            0.00
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13312): https://lists.fd.io/g/vpp-dev/message/13312
Mute This Topic: https://lists.fd.io/mt/32103947/21656
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