thank you benoit.
Also i just understood that hoststack built in echo works different from 
external echo app,
so i tried this on the same vm session - (does built-in mean using client and 
server in same vm session? also built in echo does not support the use-svm-api 
option , still gave a shot):

-bash-4.2$ sudo 
/auto/home.nas04/skesavan/vpp/build-root/install-vpp_debug-native/vpp/bin/vpp 
-c /etc/vpp/startup.conf

-bash-4.2$ sudo 
/auto/home.nas04/skesavan/vpp/build-root/install-vpp_debug-native/vpp/bin/vppctl
 -s /run/vpp/cli.sock sh int addr

host-vpp1 (up):

L3 10.0.0.1/24

local0 (dn):

-bash-4.2$ sudo 
/auto/home.nas04/skesavan/vpp/build-root/install-vpp_debug-native/vpp/bin/vppctl
 test echo server uri tcp://10.0.0.1/1237

-bash-4.2$ sudo 
/auto/home.nas04/skesavan/vpp/build-root/install-vpp_debug-native/vpp/bin/vppctl
 test echo client uri tcp://10.0.0.1/1237

unexpected event(1): 0

test failed

test echo clients: failed: unexpected event(1): 0

-bash-4.2$ nc -zv 10.0.0.1 1237

Ncat: Version 7.50 ( https://nmap.org/ncat )

Ncat: Connection timed out.

DBGvpp# show errors

Count                    Node                  Reason

31              session-queue             Packets transmitted

31                ip4-local               ip4 spoofed local-address packet drops

couple of conceptual questions:

1. why will netcat not work here - since it is a local ip?

2. how is built in echo app different from external echo app?

3. should i be running two instances of the same vpp service in one sesison 
connected to my vm to test the echo client app?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16874): https://lists.fd.io/g/vpp-dev/message/16874
Mute This Topic: https://lists.fd.io/mt/75259579/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to