Re: [vpp-dev] Endless NAT Questions

2018-08-15 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
I think nat_show_config_reply should be augmented with some fields reflecting newer features. You are correct deterministic and endpoint-dependent are mutually exclusive. Matus From: vpp-dev@lists.fd.io On Behalf Of Jon Loeliger Sent: Wednesday, August 15, 2018 10:39 PM To: vpp-dev Subject: [

Re: [vpp-dev] NAT Fragment Reassembly

2018-08-15 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
Max_frag value is applied when fragments arrived out of order (non-initial fragments arrive before first fragment which contains L4 header), fragments are stored and waiting for first fragment (max_frag is limit for number of stored fragments). Fragments are dropped in nat44-in2out-reass or nat4

[vpp-dev] Endless NAT Questions

2018-08-15 Thread Jon Loeliger
Matus, Should the nat_show_config_reply structure be augmented to have the (newer) fields added to it? I'm thinking specifically about: - the nat64_* values - the dpo selection, - the dslite values, - the endpoint-dependent indication. Also, it looks like "deterministic" and "end

Re: [vpp-dev] :: vppctl fails to start in Container (Centos 7.5.1804)

2018-08-15 Thread Billy
So I would need to see how you are starting your container, but I think you are not mapping in hugepages. I do need to more work in the area. Currently, I start containers running VPP with --privileged. SELinunx is still enabled. For example: docker run -it --privileged --device=/dev/hugepages:/

Re: [vpp-dev] LACP link bonding issue

2018-08-15 Thread steven luong via Lists.Fd.Io
This configuration is not supported in VPP. Steven From: on behalf of Aleksander Djuric Date: Wednesday, August 15, 2018 at 12:33 AM To: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] LACP link bonding issue In addition.. I have tried to configure LACP in dpdk section of vpp startup.conf.. an

Re: [vpp-dev] LACP link bonding issue

2018-08-15 Thread steven luong via Lists.Fd.Io
Aleksander, The problem is LACP periodic timer is not running as shown in your output. I wonder if lacp-process is launched properly or got stuck. Could you please do show run and check on the health of lacp-process? periodic timer: not running Steven From: on behalf of Aleksander Djuri

Re: [vpp-dev] Where could I find the example of vcl.conf

2018-08-15 Thread Florin Coras
Hi Yalei, You definitely need api-socket-name /run/vpp-api.sock, don’t comment that out :-). If that’s not enabled, you can’t exchange file descriptors. Florin > On Aug 15, 2018, at 5:43 AM, 汪亚雷 wrote: > > looks like APP not attach to the segment vpp created like /dev/shm/$pid > > I think

Re: [vpp-dev] VPP crashes with bvi interface

2018-08-15 Thread Aleksander Djuric
Hi Dave, Thanks for quick reply. I have updated VPP to v18.10-rc0~174-g6bd197eb It works. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10171): https://lists.fd.io/g/vpp-dev/message/10171 Mute This Topic: https://lists.fd.io/mt/24533887/21656 Gr

Re: [vpp-dev] :: vppctl fails to start in Container (Centos 7.5.1804)

2018-08-15 Thread Thomas F Herbert
Billy and I are looking into it right now. On 08/15/2018 07:51 AM, Ed Warnicke wrote: Tom, Do you perhaps have more insight here? Ed On August 15, 2018 at 5:00:32 AM, omer.maj...@sofioni.com (omer.maj...@sofioni.com ) wrote:

Re: [vpp-dev] NAT Fragment Reassembly

2018-08-15 Thread Jon Loeliger
On Wed, Aug 15, 2018 at 8:50 AM, Jon Loeliger wrote: > On Wed, Aug 15, 2018 at 12:49 AM, Matus Fabian -X (matfabia - PANTHEON > TECHNOLOGIES at Cisco) wrote: > >> Hi Jon, >> >> >> >> NAT plugin does virtual fragment reassembly – it enables to translate >> non-initial fragments without L4 header

Re: [vpp-dev] NAT Fragment Reassembly

2018-08-15 Thread Jon Loeliger
On Wed, Aug 15, 2018 at 2:30 AM, Ole Troan wrote: > Jon, > > Thanks for bringing this up. In addition to Matus’ answer. > Hi Ole, Thanks! > There is a distinction to be made between forwarding and terminating > traffic. > And there is a nice grey middle ground between the two. > > Some featur

Re: [vpp-dev] NAT Fragment Reassembly

2018-08-15 Thread Jon Loeliger
On Wed, Aug 15, 2018 at 12:49 AM, Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) wrote: > Hi Jon, > > > > NAT plugin does virtual fragment reassembly – it enables to translate > non-initial fragments without L4 header otherwise NAT is unable to gather > port information from the non-

Re: [vpp-dev] VPP crashes with bvi interface

2018-08-15 Thread Dave Barach via Lists.Fd.Io
Almost no matter what, vpp shouldn’t crash. Please at share the backtrace. See https://wiki.fd.io/view/VPP/BugReports and also https://wiki.fd.io/view/VPP/VPP_Home_Gateway for a known-to-work similar BVI / IRB configuration. D. From: vpp-dev@lists.fd.io On Behalf Of Aleksander Djuric Sent: We

[vpp-dev] VPP crashes with bvi interface

2018-08-15 Thread Aleksander Djuric
Hi all, For test purposes I've installed VPP (v18.10-rc0) on 1'st host machine with 4 lan adapters on it. I trying to setup BVI loopback interface with ip address to emulate network switch. 2'nd host with ip address 192.168.0.2/24 is connected to GigabitEthernet1/0/0. Interface GigabitEthernet1/0/

Re: [vpp-dev] VPP and mlx4 issue

2018-08-15 Thread Edward Warnicke
Brandon, Looping in Amir from Mellanox who is trying to get to the bottom of these kinds of issues. Ed On August 14, 2018 at 10:05:35 AM, Brandon Kopinski (bkopinsk...@gmail.com) wrote: Hi, I have been trying to use VPP with the mlx4 pmd. However, VPP is not processing any packets. My current

Re: [vpp-dev] Where could I find the example of vcl.conf

2018-08-15 Thread wylandrea
looks like APP not attach to the segment vpp created like /dev/shm/$pid I think maybe need add the related ssvm_segment_attach in L125 in vl_api_application_attach_reply_t_handler, not sure, will test it. wylandrea 于2018年8月15日周三 下午12:10写道: > Thanks, Florin! I tried, but unfortunately got segm

Re: [vpp-dev] :: vppctl fails to start in Container (Centos 7.5.1804)

2018-08-15 Thread omer . majeed
VPP is installed only in the container. On 2018-08-15 16:50, Billy wrote: > I'll take a look. So is VPP only installed in the container, or is also > installed on the host? > > Billy McFall > > On Wed, Aug 15, 2018 at 6:00 AM, wrote: > > Thanks Ed, in centos installing vpp automatically in

Re: [vpp-dev] :: vppctl fails to start in Container (Centos 7.5.1804)

2018-08-15 Thread Edward Warnicke
Tom, Do you perhaps have more insight here? Ed On August 15, 2018 at 5:00:32 AM, omer.maj...@sofioni.com ( omer.maj...@sofioni.com) wrote: Thanks Ed, in centos installing vpp automatically installs vpp-selinux-policy with it. So enforcing selinux on the host machine make vpp work. However, whe

Re: [vpp-dev] :: vppctl fails to start in Container (Centos 7.5.1804)

2018-08-15 Thread Billy
I'll take a look. So is VPP only installed in the container, or is also installed on the host? Billy McFall On Wed, Aug 15, 2018 at 6:00 AM, wrote: > Thanks Ed, in centos installing vpp automatically installs > vpp-selinux-policy with it. So enforcing selinux on the host machine make > vpp work

Re: [vpp-dev] :: vppctl fails to start in Container (Centos 7.5.1804)

2018-08-15 Thread omer . majeed
Thanks Ed, in centos installing vpp automatically installs vpp-selinux-policy with it. So enforcing selinux on the host machine make vpp work. However, when I try installing VPP in centos container there vpp doesn't start. Can't enforce selinux in container and vpp-selinux-policy is installed wit

[vpp-dev] how to get packet headers

2018-08-15 Thread Reza Mirzaei
Hi I want to know how can i get packet headers in vpp. I have checked src/vnet directory in vpp , but i didn't know where can i find this structure. can anyone help me to solve this problem? Best regards Reza -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Re

Re: [vpp-dev] LACP link bonding issue

2018-08-15 Thread Aleksander Djuric
In addition.. I have tried to configure LACP in dpdk section of vpp startup.conf.. and I've got the same output: startup.conf: unix {    nodaemon    log /var/log/vpp/vpp.log    full-coredump    cli-listen /run/vpp/cli.sock    gid vpp } api-trace {    on } api-segment {    gid vpp } socksvr {  

Re: [vpp-dev] NAT Fragment Reassembly

2018-08-15 Thread Ole Troan
Jon, Thanks for bringing this up. In addition to Matus’ answer. There is a distinction to be made between forwarding and terminating traffic. And there is a nice grey middle ground between the two. Some features does forwarding on the transport header, like NAT, MAP-E, MAP-T and so on, those do

Re: [vpp-dev] LACP link bonding issue

2018-08-15 Thread Aleksander Djuric
Hi Steven, Thanks much for the answer. Yes, these 2 boxes’ interfaces are connected back to back. Both sides shows same diagnostics results, here is the output: vpp# sh int  Name   Idx    State  MTU (L3/IP4/IP6/MPLS) Counter  Count   BondEthernet0