Hi Neale,
Thanks for the clarification. As I am getting more familiar with the code,
I will participate in contributing.

John


On Wed, Oct 25, 2017 at 11:40 PM, Neale Ranns (nranns) <nra...@cisco.com>
wrote:

> Hi John,
>
>
>
> The VPP ping application is not quite smart enough to ping itself.
>
> If you are interested in contributing improvements I can help with
> debugging and patches.
>
>
>
> Regards,
>
> Neale
>
>
>
>
>
> *From: *<vpp-dev-boun...@lists.fd.io> on behalf of John Wei <
> johnt...@gmail.com>
> *Date: *Thursday, 26 October 2017 at 03:02
> *To: *"vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
> *Subject: *[vpp-dev] Can you ping ip of a host-interface from within VPP?
>
>
>
> It seems that VPP can't ping the ip of a host-interface, is this expected?
>
>
>
> setup:
>
> ip link add name vpp1out type veth peer name vpp1host
> ip link set dev vpp1out up
> ip link set dev vpp1host up
>
> ip add add 10.10.1.1/24 dev vpp1host
>
>
>
> vppctl  create host-interface name vpp1out
> vppctl set int state host-vpp1out up
>
> vppctl set int ip address host-vpp1out 10.10.1.2/24
>
>
>
> Testing:
>
> On host, ping both 10.10.1.1 and 10.10.1.2 work fine.
>
> From VPP1, ping 10.10.1.2 seem not working. Is this expected?
>
>
>
> John
>
>
>
> vpp# ping 10.10.1.1
> 64 bytes from 10.10.1.1: icmp_seq=1 ttl=64 time=.3155 ms
> 64 bytes from 10.10.1.1: icmp_seq=2 ttl=64 time=.1619 ms
> 64 bytes from 10.10.1.1: icmp_seq=3 ttl=64 time=.2049 ms
> 64 bytes from 10.10.1.1: icmp_seq=4 ttl=64 time=.1384 ms
> 64 bytes from 10.10.1.1: icmp_seq=5 ttl=64 time=.1031 ms
>
> Statistics: 5 sent, 5 received, 0% packet loss
>
>
>
> vpp# ping 10.10.1.2
>
> Statistics: 5 sent, 0 received, 100% packet loss
>
> vpp#
>
>
>
>
>
>
>
>
>
>
>
>
>
> [image: nline image 1]
>
>
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to