Re: [vpp-dev] MPLS L3VPN PING FAILED

2017-05-25 Thread Neale Ranns (nranns)
expect the decapped packet to match. Thanks, neale From: 薛欣颖 <xy...@fiberhome.com> Date: Thursday, 25 May 2017 at 06:36 To: "Neale Ranns (nranns)" <nra...@cisco.com>, vpp-dev <vpp-dev@lists.fd.io> Subject: Re: Re: [vpp-dev] MPLS L3VPN PING FAILED Hi Neale,

Re: [vpp-dev] IPsec interface handling in FIB

2017-05-24 Thread Neale Ranns (nranns)
Hi Matt, Glad to hear it. And thank you for the patch. Regards, neale -Original Message- From: Matthew Smith <mgsm...@netgate.com> Date: Wednesday, 24 May 2017 at 22:24 To: "Neale Ranns (nranns)" <nra...@cisco.com> Cc: "vpp-dev@lists.fd.io" <vpp-dev

Re: [vpp-dev] Assert appears when configuring MPLS tunnel

2017-05-23 Thread Neale Ranns (nranns)
Hi Xyxue, https://gerrit.fd.io/r/#/c/6837/ regards, neale From: <vpp-dev-boun...@lists.fd.io> on behalf of "Neale Ranns (nranns)" <nra...@cisco.com> Date: Tuesday, 23 May 2017 at 08:42 To: 薛欣颖 <xy...@fiberhome.com>, vpp-dev <vpp-dev@lists.fd.io> Subject:

Re: [vpp-dev] Assert appears when configuring MPLS tunnel

2017-05-23 Thread Neale Ranns (nranns)
Hi Xyxue, Nothing wrong with that config. But there is a bug in VPP. I’ll fix that ASAP. Thanks, neale From: on behalf of 薛欣颖 Date: Tuesday, 23 May 2017 at 07:52 To: vpp-dev Subject: [vpp-dev] Assert appears when

Re: [vpp-dev] IPsec interface handling in FIB

2017-05-20 Thread Neale Ranns (nranns)
Hi Matt, No ARP lookup is needed for interfaces that are point-2-point. The FIB will link entries reachable through a p2p interface using a special ‘auto’ adjacency. The auto adj has the all zeros address as a next-hop and a rewrite that is constructed by the interface type (i.e. for GRE has

Re: [vpp-dev] Failed to ping between two VPP

2017-05-17 Thread Neale Ranns (nranns)
s.fd.io>, "Dave Barach (dbarach)" <dbar...@cisco.com>, "Neale Ranns (nranns)" <nra...@cisco.com> Subject: Re: Re: [vpp-dev] Failed to ping between two VPP I sorry to copy the eth2's packet,that is the eth1's packet in vpp1: 00:02:32:132870: af-pa

Re: [vpp-dev] Failed to ping between two VPP

2017-05-16 Thread Neale Ranns (nranns)
t;vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Cc: "Neale Ranns (nranns)" <nra...@cisco.com> Subject: RE: Failed to ping between two VPP Copying vpp-dev [and Neale Ranns AKA Dr. Fib...] Thanks… Dave From: 薛欣颖 [mailto:xy...@fiberhome.com] Sent: Tuesday, May 16, 2017 2:16 AM

Re: [vpp-dev] CSIT borked on master

2017-05-15 Thread Neale Ranns (nranns)
sco.com> Date: Monday, 15 May 2017 at 19:45 To: "csit-...@lists.fd.io" <csit-...@lists.fd.io> Cc: Ray Kinsella <ray.kinse...@intel.com>, "Neale Ranns (nranns)" <nra...@cisco.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subjec

Re: [vpp-dev] CSIT borked on master

2017-05-15 Thread Neale Ranns (nranns)
b > > It happens only with old QEMU emulation (I repro it with “pc-1.0”) which > VIRL uses. > > Fix (revert) is in gerrit: > > https://gerrit.fd.io/r/#/c/6690/ > > Regards, > > Damjan > > >&g

Re: [vpp-dev] CSIT borked on master

2017-05-15 Thread Neale Ranns (nranns)
n (damarion)" <damar...@cisco.com>, "Neale Ranns (nranns)" <nra...@cisco.com> Cc: "csit-...@lists.fd.io" <csit-...@lists.fd.io>, vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] CSIT borked on master Hi Damjan, Once you're patch is merged, is

[vpp-dev] CSIT borked on master

2017-05-13 Thread Neale Ranns (nranns)
From: "Luke, Chris" <chris_l...@comcast.com> Date: Saturday, 13 May 2017 at 19:04 To: "Neale Ranns (nranns)" <nra...@cisco.com>, "yug...@telincn.com" <yug...@telincn.com>, vpp-dev <vpp-dev@lists.fd.io> Subject: RE: [vpp-dev] Segmentatio

Re: [vpp-dev] Segmentation fault in recursivly lookuping fib entry.

2017-05-13 Thread Neale Ranns (nranns)
Hi Ewan, That’s a bug. I’ll fix it ASAP. Thanks, neale From: on behalf of "yug...@telincn.com" Date: Saturday, 13 May 2017 at 03:24 To: vpp-dev Subject: [vpp-dev] Segmentation fault in recursivly lookuping fib entry. Hi,

Re: [vpp-dev] arp_input

2017-05-12 Thread Neale Ranns (nranns)
Hi Ewan, You mentioned that these interfaces are ‘bridged to the same host phy interface’ – can you please share the relevant configs for that. Thanks, neale From: "yug...@telincn.com" <yug...@telincn.com> Date: Friday, 12 May 2017 at 13:51 To: "Neale Ranns (nranns)&quo

Re: [vpp-dev] arp_input

2017-05-12 Thread Neale Ranns (nranns)
Hi Ewan, Please post your configs and the output of ‘sh ip arp’. Thanks, neale From: on behalf of "yug...@telincn.com" Date: Friday, 12 May 2017 at 12:33 To: vpp-dev Subject: [vpp-dev] arp_input Here are two arp_input

Re: [vpp-dev] Listening to IGMP multicast source address

2017-05-02 Thread Neale Ranns (nranns)
Hi Guy, There are a few answers to this problem. Can you please give us more details on what you are trying to achieve? An example of the type of packet you want to listen for and what you want to happen to it once it is heard. Thanks, neale From: on behalf of

Re: [vpp-dev] How to destroy a hash?

2017-05-01 Thread Neale Ranns (nranns)
Hi Nagp, Use hash_free(). The hash_delete() function has been removed from more recent versions. Hth, neale From: on behalf of Nagaprabhanjan Bellaru Date: Monday, 1 May 2017 at 16:47 To: vpp-dev Subject: [vpp-dev] How

Re: [vpp-dev] ping to ip6 uses link local as source..

2017-04-27 Thread Neale Ranns (nranns)
Hi nagp, I’d suggest a modification to ip6_interface_first_address to indicate whether a link-local is ok. Then you can choose to ignore the link-local when the ping’s destination is global scope. Regards, neale From: on behalf of Nagaprabhanjan Bellaru

Re: [vpp-dev] MPLS encap

2017-04-21 Thread Neale Ranns (nranns)
Hi Christian, The short answer is you augment an IP route to specify an out-going MPLS label for the path; Ip route add 10.0.0.0/8 via 192.168.1.1 GigE0/0/0/0 out-label 99 For the long answer please consult (which I just this second uploaded):

Re: [vpp-dev] How to send packets from control plane to a link local IPv6 address?

2017-04-19 Thread Neale Ranns (nranns)
/ please let me know if it fixes your issue. If so I’ll merge. Thanks, neale From: Nagaprabhanjan Bellaru <nagp.li...@gmail.com> Date: Thursday, 13 April 2017 at 14:12 To: "Neale Ranns (nranns)" <nra...@cisco.com> Cc: vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] How

Re: [vpp-dev] How to send packets from control plane to a link local IPv6 address?

2017-04-12 Thread Neale Ranns (nranns)
<nagp.li...@gmail.com> Date: Wednesday, 12 April 2017 at 18:30 To: "Neale Ranns (nranns)" <nra...@cisco.com> Cc: vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] How to send packets from control plane to a link local IPv6 address? Thanks! One small question - if the

Re: [vpp-dev] How to send packets from control plane to a link local IPv6 address?

2017-04-12 Thread Neale Ranns (nranns)
data-base serves this purpose*. Regards, Neale *if you are using this in the data-plane though, we should consider alternatives. From: Nagaprabhanjan Bellaru <nagp.li...@gmail.com> Date: Wednesday, 12 April 2017 at 14:04 To: "Neale Ranns (nranns)" <nra...@cisco.com> Cc: vpp-de

Re: [vpp-dev] How to send packets from control plane to a link local IPv6 address?

2017-04-12 Thread Neale Ranns (nranns)
Hi nagp, If you know the destination address is link local and you know on which interface, then the result of the lookup will result in the adjacency for that link-local address on that interface, i.e. the adjacency you would get back from; adj_index_t ai =

Re: [vpp-dev] fib-walk is consuming 100% CPU..

2017-04-10 Thread Neale Ranns (nranns)
Hi nagp, A FIB walk that consumes 100% CPU is usually indicative of a cycle/loop in the FIB undirected graph. Cycles in routing should not form permanently, i.e. the routing protocols will eventually converge away from the loop, but they can form temporarily. Use; ‘sh fib walk’ to see the

Re: [vpp-dev] Building router plugin - Mroute

2017-04-03 Thread Neale Ranns (nranns)
Message- From: Jeff Shaw <jeffrey.b.s...@intel.com> Date: Monday, 3 April 2017 at 23:12 To: "Neale Ranns (nranns)" <nra...@cisco.com> Cc: 倪红军 <ni_hongj...@163.com>, "Ni, Hongjun" <hongjun...@intel.com>, "Dave Barach (dbarach)" <dbar...@cisc

Re: [vpp-dev] Building router plugin - Mroute

2017-04-03 Thread Neale Ranns (nranns)
at 13:53 To: "Neale Ranns (nranns)" <nra...@cisco.com> Cc: "Ni, Hongjun" <hongjun...@intel.com>, "Dave Barach (dbarach)" <dbar...@cisco.com>, Ed Warnicke <hagb...@gmail.com>, Lukasz Chrustek <ski...@tlen.pl>, "Shaw, Jeffrey B"

Re: [vpp-dev] Out of Tree Build Failure on vnet/rewrite.h

2017-03-31 Thread Neale Ranns (nranns)
Ed, Is that something we can add to the verify jobs? /neale From: Jon Loeliger <j...@netgate.com> Date: Friday, 31 March 2017 at 00:15 To: Ed Warnicke <hagb...@gmail.com> Cc: "Neale Ranns (nranns)" <nra...@cisco.com>, vpp-dev <vpp-dev@lists.fd.io> Subjec

Re: [vpp-dev] [csit-dev] Missing Network and Broadcast address in FIB for interface IP

2017-03-21 Thread Neale Ranns (nranns)
Hi Matej, We can add those /32 prefixes to drop packets. /neale From: on behalf of "Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)" Date: Tuesday, 21 March 2017 at 12:24 To: "vpp-dev@lists.fd.io" Cc:

Re: [vpp-dev] Features, DPO and their connection

2017-03-07 Thread Neale Ranns (nranns)
lists.fd.io" <vpp-dev@lists.fd.io>, "Neale Ranns (nranns)" <nra...@cisco.com>, "Damjan Marion (damarion)" <damar...@cisco.com>, Kirill Kogan <kirill.ko...@gmail.com> Subject: Features, DPO and their connection Hello, There are two kinds of overla

Re: [vpp-dev] issues when enable proxy-arp

2017-03-07 Thread Neale Ranns (nranns)
Hi Pan, Could you please collect; sh adj sh adj nbr 5 sh ip fib 192.168.1.1 both before and after the first ping. Thanks, neale From: on behalf of "Pan, Xiao" Date: Tuesday, 7 March 2017 at 09:00 To: "vpp-dev@lists.fd.io"

Re: [vpp-dev] [csit-dev] VPP receive no tagged packet on Virtio interface

2017-03-06 Thread Neale Ranns (nranns)
Hi Matej, Your IP addresses are configured on the same interface; sw_if_index 6. Sw_if_index 5 thus will not accept IP packets. /neale From: on behalf of "Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)" Date: Monday, 6 March

Re: [vpp-dev] problem in classify command in vpp

2017-02-20 Thread Neale Ranns (nranns)
Hi William, One of those it’s easy if you know what to look for bugs, otherwise a real headache to find. But a one line fix, so I might as well … https://gerrit.fd.io/r/#/c/5440/ /neale From: on behalf of William McCall Date: Monday,

Re: [vpp-dev] [csit-dev] reset_fib API issue in case of IPv6 FIB

2017-02-20 Thread Neale Ranns (nranns)
day, 20 February 2017 at 11:51 To: "Neale Ranns (nranns)" <nra...@cisco.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Cc: "csit-...@lists.fd.io" <csit-...@lists.fd.io> Subject: RE: [csit-dev] [vpp-dev] reset_fib API issue in case of IPv6 FI

Re: [vpp-dev] [csit-dev] reset_fib API issue in case of IPv6 FIB

2017-02-20 Thread Neale Ranns (nranns)
ry 2017 at 09:41 To: "Neale Ranns (nranns)" <nra...@cisco.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Cc: "csit-...@lists.fd.io" <csit-...@lists.fd.io> Subject: RE: [csit-dev] [vpp-dev] reset_fib API issue in case of IPv6 FIB Hello Neale, I teste

Re: [vpp-dev] DHCP Proxy for IPv6

2017-02-14 Thread Neale Ranns (nranns)
Hi Marek, Sure, I’ll add those too. /neale From: "Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)" <mgrad...@cisco.com> Date: Tuesday, 14 February 2017 at 09:10 To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Cc: "Neale Ranns (nranns)&qu

Re: [vpp-dev] vpp patch(es) rebased to master/latest failing PEP8 compliance checks

2017-02-05 Thread Neale Ranns (nranns)
Hi Dave, Fixed via: https://gerrit.fd.io/r/#/c/5028/ I have rebased dependent patches. /neale From: on behalf of "Dave Barach (dbarach)" Date: Sunday, 5 February 2017 at 16:55 To: "vpp-dev@lists.fd.io" Cc:

Re: [vpp-dev] How are dpo nodes plugged in the graph?

2017-01-25 Thread Neale Ranns (nranns)
Hi Nagp, It picks up those next-nodes because it is a sibling of ip4-lookup – by definition siblings share next-nodes. The VLIB code ensures this by tracking sibling relationships and adding a next node to all siblings. Regards, neale From: on behalf of

Re: [vpp-dev] ppp interface and route dpo

2017-01-25 Thread Neale Ranns (nranns)
Hi Ewan, An interface class that is defined as point-2-point (P2P) will have an interface route that links to an adjacency and not to a glean. PPP interfaces are configured this way; VNET_HW_INTERFACE_CLASS (ppp_hw_interface_class) = { .name = "PPP", .flags =

Re: [vpp-dev] Plugin for mpls over gre

2017-01-19 Thread Neale Ranns (nranns)
Hi Calvin, The VPP MPLS code is not specific to any given interface type and so we support MPLS over all interface types that VPP supports. The logical separation is achieved because all MPLS LSPs (and IP routes too) are programmed in terms of next-hops, and any interface can be a next-hop.

Re: [vpp-dev] show interface address with multiple tables

2017-01-17 Thread Neale Ranns (nranns)
; Date: Tuesday, 17 January 2017 at 15:13 To: Dave Wallace <dwallac...@gmail.com> Cc: "Neale Ranns (nranns)" <nra...@cisco.com>, Choonho Son <choonho@gmail.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] show interface add

Re: [vpp-dev] show interface address with multiple tables

2017-01-16 Thread Neale Ranns (nranns)
Hi Choonho, An interface can only reside in (a.k.a be bound to) a single table. So each time you do; Set int ip table loop0 X You are changing the table it is bound to, not adding tables. So the output you see at the end of the sequence is correct, the loopback has two addresses and is

Re: [vpp-dev] Get IPv6 neighbors MACs

2017-01-11 Thread Neale Ranns (nranns)
15:10 To: "Neale Ranns (nranns)" <nra...@cisco.com> Cc: vpp-dev <vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] Get IPv6 neighbors MACs Hi Neale, Your understanding is correct. However I don't see any collision here. There is following route in VRF1: vpp# ip route table 1 add b

Re: [vpp-dev] Get IPv6 neighbors MACs

2017-01-10 Thread Neale Ranns (nranns)
Hi Dmitry, IIUC you have two devices with identical IPv6 addresses, which we’ll call P and Q, connected on two different interfaces. These interfaces are in different VRFs so the addresses do not collide. Now if we succeed in importing the discovered neighbours from VRF 0 to VRF 1, these

Re: [vpp-dev] [csit-dev] vpp make test for verify - are we there yet ? [awoken]

2017-01-05 Thread Neale Ranns (nranns)
g .py/.pyc files? Maybe somehow the .py file's timestamp is in the past (from .pyc POV)? Thanks, Klement Quoting Neale Ranns (nranns) (2017-01-05 13:39:44) >Hi Dave, > > > >After a little more experimentation I think this error

Re: [vpp-dev] [csit-dev] vpp make test for verify - are we there yet ? [awoken]

2017-01-04 Thread Neale Ranns (nranns)
ANTHEON TECHNOLOGIES at Cisco)" <ksek...@cisco.com>, "Maciek Konstantynowicz (mkonstan)" <mkons...@cisco.com>, "Neale Ranns (nranns)" <nra...@cisco.com> Cc: "csit-...@lists.fd.io" <csit-...@lists.fd.io>, "vpp-dev@lists.fd.io" &

Re: [vpp-dev] [csit-dev] vpp make test for verify - are we there yet ? [awoken]

2017-01-04 Thread Neale Ranns (nranns)
Hi Klement, Maciek, What environment are you running the tests in? I get different results. Running in the default vagrant env provided in 17.0. Everything passes apart from: == Bidirectional Forwarding Detection (BFD)

Re: [vpp-dev] admin_up_down flag for loopback interface

2017-01-03 Thread Neale Ranns (nranns)
Hi Matej, Then you should remove the address from the interface – that in turn will remove the route from the FIB – and is in the only way that that route can be removed from the FIB. Regards, neale On 02/01/2017, 15:29, "Matej Klotton -X (mklotton - PANTHEON TECHNOLOGIES at Cisco)"

Re: [vpp-dev] strange phenomenon of interface

2017-01-03 Thread Neale Ranns (nranns)
Hi Ewan, The value 0 represents the always present local0 interface. So this: mp->next_hop_sw_if_index = ntohl (0); should be: mp->next_hop_sw_if_index = ntohl (~0); in order to specify that no interface is desried. I would also suggest; sh ip fib To give you more information about the

Re: [vpp-dev] admin_up_down flag for loopback interface

2016-12-23 Thread Neale Ranns (nranns)
Hi Matej, Good questions, some answers, or opinions, inline. ➢ I’m trying put Loopback interface to DOWN state with set admin_up_down=0 in sw_interface_set_flags api. The interface has IPv4 address configured with /32 prefix. ➢ Should the interface’s address be in FIB when the admin_up_down

Re: [vpp-dev] [SUSPICIOUS] vppctl set interface ip address [del] problem!!

2016-12-14 Thread Neale Ranns (nranns)
Hi Sajjad, This CLI requires the ‘del' to be placed in at the right place: set interface ip address del GigabitEthernet2/4/0

Re: [vpp-dev] Regarding IGMP implementation in VPP

2016-12-09 Thread Neale Ranns (nranns)
Hi Deepak, I’ve given some thought to IGMP in VPP recently, but I have not started with coding. I would be interested in understanding you approach. If you could explain it in a little more detail, perhaps your new APIs and data-structures, that would be ideal. But I guess the first question

Re: [vpp-dev] Vnet enum values in the python API

2016-12-06 Thread Neale Ranns (nranns)
Hi Ole, On 06/12/2016, 10:25, "otr...@employees.org" wrote: >Neale, > >> What’s the best (i.e. least error prone) way to export enum values to the >> python API. >> >> For example; >> From l2/l2_vtr.h: >> >> /* VTR config options for API and CLI support */ >> typedef

[vpp-dev] Debian package build failure from ubuntu 14.04 vagrant

2016-12-01 Thread Neale Ranns (nranns)
Hi, On my freshly provisioned vagrant VM: vagrant@localhost:/vpp$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 14.04.5 LTS Release:14.04 Codename: trusty I get the following build error when doing ‘make pkg-deb’ make[3]: Leaving

Re: [vpp-dev] about vlan tag

2016-10-28 Thread Neale Ranns (nranns)
Hi Yu, create and configure the interface: DBGvpp# create sub-interface af_packet0 100 DBGvpp# set int state af_packet0.100 up DBGvpp# set int ip addr af_packet0.100 172.16.3.1/24 DBGvpp# set ip arp af_packet0.100 172.16.3.2 00:00:11:aa:bb:cc add a route through the sub-interface

Re: [vpp-dev] question about VPP threading

2016-10-19 Thread Neale Ranns
Hi Madhi, have a read of; vlib/vlib/vlib_process_doc.h that might be what you want. regards, neale On 19/10/16 09:52, mahdi akrami wrote: Hi all, I studied multi-threading in VPP. As I understood we can define and use threads just for handling NICs (queues). How can I define a thread for

Re: [vpp-dev] crash in new QoS code

2016-10-11 Thread Neale Ranns
...@lists.fd.io] On Behalf Of Neale Ranns (nranns) Sent: Tuesday, October 11, 2016 1:16 PM To: David Hotham; vpp-dev@lists.fd.io; Singh, Jasvinder (jasvinder.si...@intel.com); Dumitrescu, Cristian (cristian.dumitre...@intel.com) Subject: Re: [vpp-dev] crash in new QoS code Hi David, On 11/10/16 15:36

<    2   3   4   5   6   7