Re: [vpp-dev] MPLS L3VPN PING FAILED

2017-05-26 Thread 薛欣颖
Hi neale, The result :flow is ok. But when have bi-directional flow ,the assertion will appear: That is the assertion: DBGvpp# 0: /home/vpp/build-data/../src/vnet/ip/ip4_forward.c:2635 (ip4_rewrite_inline) assertion `ip0->checksum == ip4_header_checksum (ip0)' fails Aborted /home/vpp/build-da

Re: [vpp-dev] VPP/How To Build The Sample Plugin

2017-05-26 Thread Alessio Silvestro
Hi Guy, thanks for the hints. It works now :) Best regards, Alessio On Fri, May 26, 2017 at 4:17 PM, Burt Silverman wrote: > ./configure rather than .configure > > Thank you for pointing out the -s option. I may start using that. I only > use -f when it is required (in general). > > Guy, did

Re: [vpp-dev] VPP/How To Build The Sample Plugin

2017-05-26 Thread Guy Doucet -X (gudoucet - FLEXTRONICS CANADA DESIGN SERVICES INC at Cisco)
I had the same problem last week, Try the following: autoreconf -fis .configure make Guy From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Alessio Silvestro Sent: Friday, May 26, 2017 7:53 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] VPP/How To Build The Sample

[vpp-dev] VPP/How To Build The Sample Plugin

2017-05-26 Thread Alessio Silvestro
Hi all, I am trying to build the sample vpp-engine plug-in as explained here ( https://wiki.fd.io/view/VPP/How_To_Build_The_Sample_Plugin). I already tested my vpp installation, for instance it works when I created a Source NAT. I downloaded the most updated version of the sample-plugin and run

Re: [vpp-dev] VPLS VPWS

2017-05-26 Thread Neale Ranns (nranns)
Hi Xyxue, As you say, probably also: https://gerrit.fd.io/r/#/c/6883/ thanks, neale From: 薛欣颖 Date: Friday, 26 May 2017 at 12:16 To: "Neale Ranns (nranns)" , vpp-dev Subject: Re: Re: [vpp-dev] VPLS VPWS Hi neale, My configuration and result is shown below: VPWS: ##

Re: [vpp-dev] MPLS L3VPN PING FAILED

2017-05-26 Thread Neale Ranns (nranns)
Hi Xyxue, I found a bug where the lookup DPO for MPLS is not popping the label. The buffer pointer is thus 4 bytes off, and so the IPv4 lookup is done on the source not destination address. Please patch both VPPs with: https://gerrit.fd.io/r/#/c/6883/ thanks, neale From: 薛欣颖 Date: Friday, 26

Re: [vpp-dev] VPLS VPWS

2017-05-26 Thread 薛欣颖
Hi neale, My configuration and result is shown below: VPWS: PE1 create host-interface name eth0 create host-interface name eth1 set int state host-eth1 up set int state host-eth0 up set interface mac address host-eth0 00:03:7F:FF:FF:FF set interface mac add

Re: [vpp-dev] : VPP build does not generate

2017-05-26 Thread Dharmaray Kundargi
Thanks John. From: John Lo (loj) [mailto:l...@cisco.com] Sent: Thursday, May 25, 2017 8:33 PM To: Dharmaray Kundargi ; vpp-dev@lists.fd.io Subject: RE: [vpp-dev] : VPP build does not generate DPDK is moved to the plugin package vpp-plugins_17.04-release_amd64.deb since 17.04 or later. -John F

Re: [vpp-dev] Is adj_index "0" not valid?

2017-05-26 Thread Nagaprabhanjan Bellaru
Sorry, I meant "ip6_neighbor_sw_interface_add_del" Thanks, -nagp On Fri, May 26, 2017 at 4:05 PM, Nagaprabhanjan Bellaru < nagp.li...@gmail.com> wrote: > When radv_info is created, it is initialized to zero, but mcast_adj_index > is assigned in the same flow - in ip6_sw_interface_add_del - so I

Re: [vpp-dev] Is adj_index "0" not valid?

2017-05-26 Thread Nagaprabhanjan Bellaru
When radv_info is created, it is initialized to zero, but mcast_adj_index is assigned in the same flow - in ip6_sw_interface_add_del - so I guess that should be fine.. -nagp On Fri, May 26, 2017 at 3:08 PM, Neale Ranns (nranns) wrote: > > > Yes please J assuming of course mcast_adj_index defaul

Re: [vpp-dev] Is adj_index "0" not valid?

2017-05-26 Thread Neale Ranns (nranns)
Yes please ☺ assuming of course mcast_adj_index defaults to ~0 when the radv_info is first created. /neale From: Nagaprabhanjan Bellaru Date: Friday, 26 May 2017 at 10:12 To: "Neale Ranns (nranns)" Cc: vpp-dev Subject: Re: [vpp-dev] Is adj_index "0" not valid? Then it means that the followi

Re: [vpp-dev] VPLS VPWS

2017-05-26 Thread Neale Ranns (nranns)
Hi Xyxue, Yes, I think that looks good. To do VPLS add the mpls-tunnel and [many] host-eth to a bridge-domain, rather than a x-connect. Regards, neale From: 薛欣颖 Date: Friday, 26 May 2017 at 09:00 To: "Neale Ranns (nranns)" , vpp-dev Subject: Re: Re: [vpp-dev] VPLS VPWS Hi neale, Is my confi

Re: [vpp-dev] MPLS L3VPN PING FAILED

2017-05-26 Thread 薛欣颖
Hi neale, Each of the two VPP is connected to a CE. I'm pinging to and from the CE. Thanks, xyxue From: Neale Ranns (nranns) Date: 2017-05-26 17:07 To: 薛欣颖; vpp-dev Subject: Re: [vpp-dev] MPLS L3VPN PING FAILED Hi Xyxue, So the addresses you are pinging to and from are not owned by the

Re: [vpp-dev] Is adj_index "0" not valid?

2017-05-26 Thread Nagaprabhanjan Bellaru
Then it means that the following code snippet in icmp6_router_solicitation: -- adj_index0 = radv_info->mcast_adj_index; if (adj_index0 == 0) error0 = ICMP6_ERROR_DST_LOOKUP_MISS; -- should be changed like this?: -- adj_index0 = radv_info-

Re: [vpp-dev] Is adj_index "0" not valid?

2017-05-26 Thread Neale Ranns (nranns)
Hi nagp, In the latest VPP code adjacency index 0 is valid. In older code this was not the case. Regards, neale From: on behalf of Nagaprabhanjan Bellaru Date: Friday, 26 May 2017 at 08:43 To: vpp-dev Subject: [vpp-dev] Is adj_index "0" not valid? Hi, In the latest VPP code, in icmp6_route

Re: [vpp-dev] MPLS L3VPN PING FAILED

2017-05-26 Thread Neale Ranns (nranns)
Hi Xyxue, So the addresses you are pinging to and from are not owned by the VPPs. Are you issuing the ping command on a VPP or on the device that owns the address.? /neale From: 薛欣颖 Date: Friday, 26 May 2017 at 08:43 To: "Neale Ranns (nranns)" , vpp-dev Subject: Re: Re: [vpp-dev] MPLS L3VPN

Re: [vpp-dev] ALG

2017-05-26 Thread otroan
Hi there, > Many applications have two channels, one is data channel, the other is > control channel, both have different ports, > so we need ALG to help these protocols to cut through FW, i think it is a > pretty important feature and > it has been surpported by almost every manufacturer on th

Re: [vpp-dev] VPLS VPWS

2017-05-26 Thread 薛欣颖
Hi neale, Is my configuration below correct? MPLS L2VPN(VPWS) PE1 create host-interface name eth0 create host-interface name eth1 set int state host-eth1 up set int state host-eth0 up set int ip address host-eth0 1.1.1.1/24 set interface mac address

[vpp-dev] Is adj_index "0" not valid?

2017-05-26 Thread Nagaprabhanjan Bellaru
Hi, In the latest VPP code, in icmp6_router_solicitation - the code checks for radv->mcast_adj_index and if it is "0" - it flags an error ICMP6_DST_LOOKUP_MISS. However, in ip6_neighbor_sw_interface_add_del - when the radv_info_t structure is getting initialized - when mcast_adj_index is allocate

Re: [vpp-dev] MPLS L3VPN PING FAILED

2017-05-26 Thread 薛欣颖
Hi neale, Is this correct in trace: 00:18:57:702675: lookup-ip4-dst fib-index:1 addr:192.168.2.20 load-balance:31 192.168.2.20 is src ip not the dst ip. It seems that lack of pop a label . That is the infomation about it: VPP1: show mplsfib DBGvpp# sh ip fib index 1 192.168.2.20 ipv4-V

Re: [vpp-dev] MPLS L3VPN PING FAILED

2017-05-26 Thread Neale Ranns (nranns)
Hi Xyxue, If these are the addresses you are pinging to and from: VPP2 ->vpp1 sip: 192.168.2.20 -- dip:192.168.3.20 Then let’s see how they are reachable on each device; sh ip fib index 1 192.168.2.20 sh ip fib index 1 192.168.3.20 on both VPP instances. And also: sh int addr on both. S