Re: [vpp-dev] question about the VCL

2018-05-14 Thread xyxue
Hi Florin, Ed, I'm testing VCL , and the IPPROTO_RAW is a test case .Since it is not supported ,I'm testing the UDP mode: server:./vcl_test_server -D 2 client:./vcl_test_client -D 2.1.1.1 2 An assert occure when client startup. More info is shown below: DBGvpp# 0: /home/vpp/build-data

Re: [vpp-dev] Query on VPP behaviour when IP from same subnet configured on plain and vlan interface

2018-05-14 Thread bindiya Kurle
Hi Ole, Linux had allowed this configuration and test cases which were running on Linux failed on VPP. The reason why it had passed is that linux always picks up the 1st entry that gets added in routing table i.e. plain interface while in VPP fib entry always return last interface that get added.

[vpp-dev] problem in xcrw testing

2018-05-14 Thread xyxue
Hi guys, I’m testing the xcrw . But the packet were 'error-drop'. My configuration and trace info is shown below: create host-interface name eth1 mac 00:50:56:3a:32:d2 create host-interface name eth5 mac 00:50:56:31:35:92 set interface ip address host-eth1 11.1.1.2/24 create gre tunnel src 11.

Re: [vpp-dev] Using custom openssl with vpp #vpp

2018-05-14 Thread Kingwel Xie
Hi, We managed to link with openssl 1.1 successfully. The OS is ubuntu 16.04. Basically we downloaded v1.1, and built it. Then make some changes to vpp makefile pointing to the correct header and lib files. V1.0.2 is still there for the other apps, but vpp is working with v1.1. Regards, Kingwe

Re: [vpp-dev] Query on VPP behaviour when IP from same subnet configured on plain and vlan interface

2018-05-14 Thread Ole Troan
> Thanks for the response. Any plans to differ this behaviour in future to > support multiple interfaces in the same subnet? How do you intend for that to work? (While IPv6 notionally has support for that, as far as I know no implementations support it. Best regards, Ole -=-=-=-=-=-=-=-=-=-

Re: [vpp-dev] Query on VPP behaviour when IP from same subnet configured on plain and vlan interface

2018-05-14 Thread bindiya Kurle
Hi Neale, Thanks for the response. Any plans to differ this behaviour in future to support multiple interfaces in the same subnet? Regards, Bindiya On Mon, May 14, 2018 at 5:15 PM, Neale Ranns (nranns) wrote: > > > VPP does not support multiple interfaces in the same subnet. > > Your scenari

Re: [vpp-dev] Using custom openssl with vpp #vpp

2018-05-14 Thread Florin Coras
Hi DucTM, Did you try changing src/plugin/tlsopenssl.am to link against openssl 1.1? I’ve never tried it, so no idea what the end result may be :-) Florin > On May 14, 2018, at 3:52 AM, duct...@viettel.com.vn wrote: > > Hi, > I'm trying to customize the openssl plugin that needs to work with

Re: [vpp-dev] Packet tx functions via DPDK

2018-05-14 Thread Prashant Upadhyaya
Thanks a bunch Nitin, your mail helps me connect the dots -- the thing I was missing was the connection with ethernet_register_interface() Cool browsing done by you ! Please do check my other mail too on the list (for frames) and it would be great if we can drill down on that topic too. Regards -P

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-14 Thread Luca Muscariello (lumuscar)
Hi Florin, Session enable does not help. hping is using raw sockets so this must be the reason. Luca From: Florin Coras Date: Friday 11 May 2018 at 23:02 To: Luca Muscariello Cc: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] TCP performance - TSO - HW offloading in general. Hi Luca, Not re

Re: [vpp-dev] ip4-not-enabled in IP-in-IP tunnel

2018-05-14 Thread Nitin Saxena
Thanks Ole. Makes sense. Let me try by assigning IP to ipip0 Thanks, Nitin On Monday 14 May 2018 06:24 PM, Ole Troan wrote: Nitin, A tunnel interface is just like any other interface and you need to have an IP address configured on it to make it IP enabled. (Or point to another interface with

Re: [vpp-dev] ip4-not-enabled in IP-in-IP tunnel

2018-05-14 Thread Ole Troan
Nitin, A tunnel interface is just like any other interface and you need to have an IP address configured on it to make it IP enabled. (Or point to another interface with IP unnumbered). Note that the IPIP interface supports {IPvX over IPvY} where X and Y are 4 and 6. So your patch would blindly

[vpp-dev] ip4-not-enabled in IP-in-IP tunnel

2018-05-14 Thread Nitin Saxena
Hi, Using VPP v1804 I created IP-in-IP tunnel and ran into IP4-not-enabled issue. Following is the trace === -- Start of thread 1 vpp_wk_0 --- Packet 1 00:04:16:407330: dpdk-input VirtualFunctionEthernet1/0/1 rx queue 0 buffer 0x

Re: [vpp-dev] Query on VPP behaviour when IP from same subnet configured on plain and vlan interface

2018-05-14 Thread Neale Ranns
VPP does not support multiple interfaces in the same subnet. Your scenario will be a configuration error once: https://gerrit.fd.io/r/#/c/8057/ is committed. /neale From: on behalf of bindiya Kurle Date: Monday, 7 May 2018 at 07:27 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] Query on VPP b

[vpp-dev] Using custom openssl with vpp #vpp

2018-05-14 Thread ductm18
Hi, I'm trying to customize the openssl plugin that needs to work with openssl 1.1 (with some modification also). Applying the new openssl version to the system is not possible since there are some other apps rely on openssl, and they do not work with openssl 1.1. Is there any configuration I can

[vpp-dev] How to copy the SSH key to the Vagrant virtual machine

2018-05-14 Thread 汤超
According to the tutorial steps: Copy your ssh-key to Vagrant VMs This steps has to be repeated every time your Vagrant VMs are re-created (i.e. vagrant destroy command was issued) echo csit@192.168.255.10{0,1,2} | xargs -n 1 ssh-copy-id Respond with "csit" as password (without quotes). From now

Re: [vpp-dev] question about the VCL

2018-05-14 Thread Edward Warnicke
Xyxue, If you want to move raw IP/Ethernet around, I'd suggest looking at memif :) Ed On Mon, May 14, 2018 at 3:44 AM Florin Coras wrote: > Hi Xyxue, > > No, the stack does not support IPPROTO_RAW. Given that this is a user > space stack and that you have access to things like memif, may I ask

Re: [vpp-dev] question about the VCL

2018-05-14 Thread Florin Coras
Hi Xyxue, No, the stack does not support IPPROTO_RAW. Given that this is a user space stack and that you have access to things like memif, may I ask what use case you would need that for? Florin > On May 14, 2018, at 12:58 AM, xyxue wrote: > > > Hi guys, > > Is the VCL support RAW_IP now

Re: [vpp-dev] TCP performance - TSO - HW offloading in general.

2018-05-14 Thread Florin Coras
Hi Luca, That is most probably the reason. We don’t support raw sockets. Florin > On May 14, 2018, at 1:21 AM, Luca Muscariello (lumuscar) > wrote: > > Hi Florin, > > Session enable does not help. > hping is using raw sockets so this must be the reason. > > Luca > > > > From: Florin Coras

[vpp-dev] question about the VCL

2018-05-14 Thread xyxue
Hi guys, Is the VCL support RAW_IP now ? Or is there a plan to support it? Thanks, Xyxue