Re: [vpp-dev] Static Route Data API Data Structures

2017-09-25 Thread Neale Ranns (nranns)
Hi Jon, Some answers inline. Thanks, neale -Original Message- From: Jon Loeliger Date: Thursday, 21 September 2017 at 16:42 To: "Neale Ranns (nranns)" Cc: vpp-dev Subject: Re: [vpp-dev] Static Route Data API Data Structures On Tue, Aug 29, 2017 at 9:37 AM, Neale Ran

Re: [vpp-dev] vlan sub interfaces

2017-09-28 Thread Neale Ranns (nranns)
To: "Dave Barach (dbarach)" Cc: "Neale Ranns (nranns)" , "John Lo (loj)" , "vpp-dev@lists.fd.io" , Akshaya Nadahalli Subject: Re: [vpp-dev] vlan sub interfaces yes i verified it on stable/1707 itself. Regards, Prabhjot Quot

Re: [vpp-dev] mpls tunnel configuration through JVPP

2017-09-29 Thread Neale Ranns (nranns)
Hi Jozef, To what did you set: mt_sw_if_index ? It should be ~0 on the creation of a new tunnel. /neale -Original Message- From: Jozef Glončák Date: Friday, 29 September 2017 at 04:09 To: "vpp-dev@lists.fd.io" Cc: "Neale Ranns (nranns)" Subject: mpls tunnel c

Re: [vpp-dev] Adding IP Addr to Multiple IFs

2017-09-29 Thread Neale Ranns (nranns)
Hi Jon, We don’t support overlapping subnets on interfaces. I was trying to fix the cases where it is errorneously allowed with this patch: https://gerrit.fd.io/r/#/c/8057/ but I’ve not yet found all the CSIT failures yet. /neale From: on behalf of Jon Loeliger Date: Thursday, 28 September

Re: [vpp-dev] Multiple VRFs in 1609

2017-10-06 Thread Neale Ranns (nranns)
;Shaw, Jeffrey B" Cc: "Pierre Pfister (ppfister)" , Florin Coras , vpp-dev , "Neale Ranns (nranns)" , "vppsb-...@lists.fd.io" Subject: Re: [vpp-dev] Multiple VRFs in 1609 Hi Jeff, Regarding the workaround for the problem [3] (segfault). Do you think it is en

Re: [vpp-dev] Connect VPP to FRR

2017-10-08 Thread Neale Ranns (nranns)
Hi Mostafa, Start with this: https://wiki.fd.io/images/7/71/FIB_2.0_-_Hierarchical%2C_Protocol_Independent..pdf then look at some of the examples in: /test/test_mpls.py you’ll find a VPLS setup in there too. Regards, neale From: on behalf of Mostafa Salari Date: Sunday, 8 October 2017

Re: [vpp-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-10 Thread Neale Ranns (nranns)
Hi Michael, Could you give me a ‘sh trace’ ? Thanks, neale From: on behalf of Michael Borokhovich Date: Monday, 9 October 2017 at 18:14 To: vpp-dev Subject: [vpp-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP Hi, After applying the fixes suggested by Je

Re: [vpp-dev] [vppsb-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-10 Thread Neale Ranns (nranns)
Hi Michael, Both of; vppctl ip mroute 224.0.0.0/8 via GigabitEthernet0/4/0 Accept vppctl ip mroute 224.0.0.0/8 via local Forward the first says you are accepting (i.e RPF checks on) GigE0/4/0 the second says you are ‘forwarding/replicating’ to VPP’s local IP stack. The mfib equivalent of th

Re: [vpp-dev] Mac Address Api Changes

2017-10-11 Thread Neale Ranns (nranns)
+1 From: on behalf of Jon Loeliger Date: Tuesday, 10 October 2017 at 22:55 To: "John Lo (loj)" Cc: vpp-dev Subject: Re: [vpp-dev] Mac Address Api Changes On Tue, Oct 10, 2017 at 2:41 PM, John Lo (loj) mailto:l...@cisco.com>> wrote: The two APIs affected are the older ones in L2FIB which use

Re: [vpp-dev] [vppsb-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-11 Thread Neale Ranns (nranns)
2017 at 05:34 To: "Neale Ranns (nranns)" Cc: "Shaw, Jeffrey B" , "vppsb-...@lists.fd.io" , vpp-dev Subject: Re: [vpp-dev] [vppsb-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP Hi Neale, In the router plugin, the code below (&qu

Re: [vpp-dev] [vppsb-dev] Router plugin with VPP 1707 - incoming OSPF Hello packets are dropped by VPP

2017-10-12 Thread Neale Ranns (nranns)
Hi Michael, It is present in 17.04 also. /neale From: Michael Borokhovich Date: Wednesday, 11 October 2017 at 19:09 To: "Neale Ranns (nranns)" Cc: "Shaw, Jeffrey B" , "vppsb-...@lists.fd.io" , vpp-dev Subject: Re: [vpp-dev] [vppsb-dev] Router plugin with V

Re: [vpp-dev] not_last parameter of ip_add_del_route from ip.api

2017-10-18 Thread Neale Ranns (nranns)
Hi Marek, It can be removed. /neale From: "Dave Barach (dbarach)" Date: Wednesday, 18 October 2017 at 13:30 To: "Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)" , "vpp-dev@lists.fd.io" , "Neale Ranns (nranns)" Subject: RE: not_last p

Re: [vpp-dev] GRE error on vpp 17.04

2017-10-23 Thread Neale Ranns (nranns)
Hi Ewan, Are you adding an overlapping sub-net? Can we see please: sh int addr regards, neale From: on behalf of "yug...@telincn.com" Date: Monday, 23 October 2017 at 10:20 To: vpp-dev Subject: [vpp-dev] GRE error on vpp 17.04 Hi all, I've encountered one error when I try GRE function,

Re: [vpp-dev] GRE error on vpp 17.04

2017-10-24 Thread Neale Ranns (nranns)
uesday, 24 October 2017 at 10:10 To: "Neale Ranns (nranns)" , vpp-dev Subject: Re: Re: [vpp-dev] GRE error on vpp 17.04 Hi neale, There is no overlapping sub-net, here are more info. root@ubuntu:/home/ewan# vppctl create gre tunnel src 1.1.1.1 dst 2.2.2.2  gre0 root@ubuntu:/home/ewan# 

Re: [vpp-dev] GRE error on vpp 17.04

2017-10-25 Thread Neale Ranns (nranns)
Hi Ewan, As with all interface types, if you want to RX IP traffic on a GRE interface, then it either needs an IP address or to be unnumbered to another interface that has an address. Regards, neale From: "yug...@telincn.com" Date: Wednesday, 25 October 2017 at 05:34 To: "Neal

Re: [vpp-dev] Can you ping ip of a host-interface from within VPP?

2017-10-25 Thread Neale Ranns (nranns)
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: on behalf of John Wei Date: Thursday, 26 October 2017 at 03:02 To: "vpp-dev@lists.fd.io" Subject: [vpp-d

Re: [vpp-dev] What can be traced?

2017-10-25 Thread Neale Ranns (nranns)
And… tracing can usually be turned on at any of the packet driver input nodes (i.e. dpdk-input, af-packet-input) and some of the nodes that generate packets internally, like ping. The magic to grok from in the code base is: VLIB_BUFFER_TRACE_TRAJECTORY_INIT (b0); Indicating that this node can b

Re: [vpp-dev] problem in l3 VLAN

2017-10-31 Thread Neale Ranns (nranns)
Hi Xyxue, Support for VLANs on host/af_packet interface was added rather recently. See: https://gerrit.fd.io/r/#/c/8435/ and its cherry-picked cousins. /neale From: on behalf of 薛欣颖 Date: Tuesday, 31 October 2017 at 02:10 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] problem in l3 VLAN H

Re: [vpp-dev] Segmentation fault in ikev2 test

2017-10-31 Thread Neale Ranns (nranns)
Hi Xyxue, If you don’t have at a FIB with index 2 (i.e. you haven’t created to additional IP tables/VRFs) then: The '(vnet_buffer (p0)->sw_if_index[VLIB_TX] ' is 2 when 'del-sa' execute fail. is certainly the cause of your crash. I would attempt to determine when and where this value was set

Re: [vpp-dev] dpdk output function

2017-11-01 Thread Neale Ranns (nranns)
Hi Yuliang, It will call: vnet_interface_output_node() from src/vnet/interface_output.c There is also a TenGigabitEthernet5/0/1-tx node. Since you Are using DPDK on this interface, that will call: dpdk_interface_tx() from src/plugins/dpdk/device/device.c hth neale From: on behalf of Yu

Re: [vpp-dev] gtpu tunneling decap-next ip4 issue

2017-11-02 Thread Neale Ranns (nranns)
Hi Hongjun, We need an ARP entry on the tunnel interface? That’s not great. If a GTPu interface is point to point we should set the flags: VNET_HW_INTERFACE_CLASS (gtpu_hw_class) = { … .flags = VNET_HW_INTERFACE_CLASS_FLAG_P2P, }; A P2P interface is expected to provide a ‘complete’, i.e. a f

Re: [vpp-dev] Can't ping VPP int addr, until VPP int ping outside first

2017-11-03 Thread Neale Ranns (nranns)
Hi John, Could you please provide a packet trace from VPP whilst it is unresponsive. Thanks, neale From: on behalf of John Wei Date: Friday, 3 November 2017 at 20:20 To: vpp-dev Subject: [vpp-dev] Can't ping VPP int addr, until VPP int ping outside first I have configured tow interface with

Re: [vpp-dev] IPV6 Forwarding error

2017-11-04 Thread Neale Ranns (nranns)
Hi Ewan, I would guess that fib_index0 is invalid. /neale From: on behalf of "yug...@telincn.com" Date: Saturday, 4 November 2017 at 11:11 To: vpp-dev Subject: [vpp-dev] IPV6 Forwarding error Hi all, Here is ipv6 forwarding error, my version is 17.04. Any idea? Thread 1 "vpp_main" recei

Re: [vpp-dev] IPV6 Forwarding error

2017-11-06 Thread Neale Ranns (nranns)
t;yug...@telincn.com" Date: Monday, 6 November 2017 at 04:55 To: "Neale Ranns (nranns)" , vpp-dev Subject: Re: Re: [vpp-dev] IPV6 Forwarding error Hi neale, I add this protection, but other errors come out in many different ways, all are ipv6 fib process errors. fib_node_index_t ip6_mfib_

Re: [vpp-dev] gtpu tunneling decap-next ip4 issue

2017-11-06 Thread Neale Ranns (nranns)
Hi Ryota-san, I glad it works now. I couple of comments, marked [nr], on your setup are inline below. Regards, neale -Original Message- From: Ryota Yushina Date: Monday, 6 November 2017 at 10:12 To: "Ni, Hongjun" , "Neale Ranns (nranns)" , "vpp-dev@lists.

Re: [vpp-dev] And Boost Log too?

2017-11-08 Thread Neale Ranns (nranns)
Hi Jon, It doesn’t need it. I must have left that in by mistake. I’ll take it out. Thanks, neale From: on behalf of Jon Loeliger Date: Wednesday, 8 November 2017 at 20:56 To: vpp-dev Subject: [vpp-dev] And Boost Log too? Folks, Looks like VPP top-of-tree needs boost_log now. And it isn't i

Re: [vpp-dev] FW: Coverity build failed with 18 errors

2017-11-10 Thread Neale Ranns (nranns)
Hi Chris, I just pushed: https://gerrit.fd.io/r/#/c/9370/ to fix the use of integer types in BIER. I’ll look at the VOM ones too. /neale -Original Message- From: on behalf of Chris Luke Date: Thursday, 9 November 2017 at 22:05 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] FW: Cov

Re: [vpp-dev] FW: Coverity build failed with 18 errors

2017-11-10 Thread Neale Ranns (nranns)
Hi Chris, And this one for VOM: https://gerrit.fd.io/r/#/c/9374/ /neale -Original Message- From: on behalf of "Neale Ranns (nranns)" Date: Friday, 10 November 2017 at 11:59 To: Chris Luke , "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] FW: Coverity build f

Re: [vpp-dev] FW: Coverity build failed with 18 errors

2017-11-10 Thread Neale Ranns (nranns)
Hi Chris, Thank you. Please let me know if the build remains on strike ☺ /neale -Original Message- From: "Luke, Chris" Date: Friday, 10 November 2017 at 14:53 To: "Neale Ranns (nranns)" , Chris Luke , "vpp-dev@lists.fd.io" Subject: RE: [vpp-dev] FW:

[vpp-dev] RFC: Import/includes in .api files

2017-11-20 Thread Neale Ranns (nranns)
Hi All, I’d like to be able to re-use types defined in one .api file in many other .api files. My specific objective is to re-use a fib_path_t across the many APIs that describe a destination to which to send packets. My first attempt at this is: https://gerrit.fd.io/r/#/c/9489/ I updated v

[vpp-dev] Deprecate [S]NAT APIs

2017-11-20 Thread Neale Ranns (nranns)
>From src/plugins/nat/nat.api /* * Old "snat" APIs, will be deprecated after 17.10 */ is it time? /neale ___ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] MPLS LABEL problem

2017-11-22 Thread Neale Ranns (nranns)
Hi Xyxue, You need to create the default MPLS table before you enable an interface for MPLS. So in your sequence this command: set interface mpls host-eth1 enable should have returned an error. I’ve patched with https://gerrit.fd.io/r/#/c/9519/ so now one gets; DBGvpp# set int mpls loop0

Re: [vpp-dev] Issue with MPLS local label CLI

2017-11-22 Thread Neale Ranns (nranns)
Hi Marek, Accidental breakage on my part. Fixed in: https://gerrit.fd.io/r/#/c/9520/ /neale From: "Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)" Date: Wednesday, 22 November 2017 at 10:53 To: vpp-dev Cc: "Neale Ranns (nranns)" Subject: Issue with MPLS

Re: [vpp-dev] Issue with MPLS local label CLI

2017-11-22 Thread Neale Ranns (nranns)
DBGvpp# From: "Marek Gradzki -X (mgradzki - PANTHEON TECHNOLOGIES at Cisco)" Date: Wednesday, 22 November 2017 at 14:14 To: "Neale Ranns (nranns)" , vpp-dev Subject: RE: Issue with MPLS local label CLI Neal, thanks for quick answer! I’ve just pulled vpp code (HEAD @ 3ce

Re: [vpp-dev] default route

2017-11-25 Thread Neale Ranns (nranns)
Tldr; Deleted no. modified yes. There is always an entry for the all zeros address (a.k.a the default route) in the IPv4 and IPv6 FIB. Principally this exists so that in the data-plane after looking in the FIB for a match there is no need to say ‘if (matching-entry-exists)’, since as a last r

Re: [vpp-dev] sr mpls fault

2017-11-27 Thread Neale Ranns (nranns)
Hi Xyxue, I’ll look into the crash. In the meantime, perhaps your config is somewhat curious. What is your intention with 3.1.1.0/24? It has been added as an extranet route (i.e. it’s in table 0 and table 1) but in table 0 you have an override of the route via the SR steering. If you remove the

Re: [vpp-dev] SR MPLS not effective

2017-11-28 Thread Neale Ranns (nranns)
Hi Xyxue, Your trace says: 00:01:54:346249: mpls-lookup MPLS: next [0], lookup fib index 0, LB index 26 hash 0 label 33 eos 0 so the packet required an MPLS lookup on label 33 non-eos. Your config has no local-label 33/non-eos configured, so the packet is dropped. /neale From: on behalf of

Re: [vpp-dev] SR MPLS not effective

2017-11-29 Thread Neale Ranns (nranns)
: "Neale Ranns (nranns)" , "Pablo Camarillo (pcamaril)" , vpp-dev Subject: Re: Re: [vpp-dev] SR MPLS not effective After add the 'mpls local-label add non-eos 33 mpls-lookup-in-table 0 ' on P, the mistake still exist. __

Re: [vpp-dev] SR MPLS not effective

2017-11-29 Thread Neale Ranns (nranns)
ration I can get? Thanks, Xyxue ________ From: Neale Ranns (nranns)<mailto:nra...@cisco.com> Date: 2017-11-28 20:29 To: 薛欣颖<mailto:xy...@fiberhome.com>; Pablo Camarillo (pcamaril)<mailto:pcama...@cisco.com>; vpp-dev<mailto:vpp-dev@lists.fd.io> Subject: Re: [

Re: [vpp-dev] Fwd: :: Setting Mac address on Vlan interface

2017-11-29 Thread Neale Ranns (nranns)
Hi Omer, You can set the MAC address of a ‘host’ interface when it is created: create host-interface name [hw-addr ] you can also change it after creation: set interface mac address but you cannot set the MAC address of a VLAN interface. A VLAN interface will always have the same MAC add

Re: [vpp-dev] SR MPLS not effective

2017-11-30 Thread Neale Ranns (nranns)
sh mpls fib 210 st trace <<< for a ‘bad’ packet. thanks, neale From: 薛欣颖 Date: Thursday, 30 November 2017 at 10:23 To: "Neale Ranns (nranns)" , "Pablo Camarillo (pcamaril)" , vpp-dev Subject: Re: Re: [vpp-dev] SR MPLS not effective Hi Neale, After referring t

Re: [vpp-dev] Fwd: :: Setting Mac address on Vlan interface

2017-12-01 Thread Neale Ranns (nranns)
dev@lists.fd.io" , "Neale Ranns (nranns)" Subject: Re: [vpp-dev] Fwd: :: Setting Mac address on Vlan interface hi Neale, we are expecting to be able to handle different MAC addresses for VLAN interfaces. This feature seems to be not available in VPP as of

Re: [vpp-dev] Fwd: :: Setting Mac address on Vlan interface

2017-12-02 Thread Neale Ranns (nranns)
BVI. This is an L3 port attached to a bridge-domain. -Original Message- From: "prabh...@techtrueup.com" Date: Friday, 1 December 2017 at 18:37 To: "Neale Ranns (nranns)" Cc: "vpp-dev@lists.fd.io" , Omer Majeed Subject: Re: [vpp-dev] Fwd: :: Setting Mac add

Re: [vpp-dev] Fwd: :: Setting Mac address on Vlan interface

2017-12-04 Thread Neale Ranns (nranns)
? Perhaps you could show a packet trace for the forward and reverse direction. Regards, neale From: Prabhjot Singh Sethi Date: Monday, 4 December 2017 at 12:53 To: "Neale Ranns (nranns)" , "prabh...@techtrueup.com" Cc: "vpp-dev@lists.fd.io" , Omer Majee

Re: [vpp-dev] Bug?

2017-12-05 Thread Neale Ranns (nranns)
By ‘receive’ in this context, I assume you mean it accepts the packet that has arrived on the wire. As opposed to the fact that the packet did indeed arrive at that interface - clearly it is not the receiving device that influences which packets arrive at which interfaces. So, let me bounce th

Re: [vpp-dev] SR MPLS not effective

2017-12-06 Thread Neale Ranns (nranns)
. Regards, neale From: 薛欣颖 Date: Thursday, 30 November 2017 at 12:44 To: "Neale Ranns (nranns)" , "Pablo Camarillo (pcamaril)" , vpp-dev Subject: Re: Re: [vpp-dev] SR MPLS not effective Hi Neale, I can't configure the command like this: 'VPP# sr mpls policy add bs

Re: [vpp-dev] How can i use VPP as MPLS PE/P device

2017-12-06 Thread Neale Ranns (nranns)
Another hastily assembled, on-demand guide: https://wiki.fd.io/view/VPP/MPLS_FIB /neale From: on behalf of "wangchuan...@163.com" Date: Wednesday, 6 December 2017 at 09:11 To: vpp-dev Subject: [vpp-dev] How can i use VPP as MPLS PE/P device hi all, I want to configure my testing MPLS

Re: [vpp-dev] mpls tunnel in l2 mode del error

2017-12-13 Thread Neale Ranns (nranns)
Hi Xyxue, Did you remove the tunnel from the bridge before it was deleted? /neale From: on behalf of 薛欣颖 Date: Wednesday, 13 December 2017 at 04:14 To: vpp-dev Subject: [vpp-dev] mpls tunnel in l2 mode del error Hi guys, I'm testing L2VPN. After I del the mpls tunnel ,there is a 'signal SI

Re: [vpp-dev] Need Help on an ipsec Problem

2017-12-17 Thread Neale Ranns (nranns)
Hi Bin, I expect your IPsec tunnel is not enabled/configured to accept IPv4 packets. Do: sh int featuee and if you see: ip4-unicast: ip4-drop then the tunnel is configured to drop all IPv4 packets. In order to enable any interface to receive IP it must either have an IP address applied;

Re: [vpp-dev] mpls API

2017-12-17 Thread Neale Ranns (nranns)
Hi Holoo, The MPLS API is at; /src/vnet/mpls/mpls.api there are examples of the various types of MPLS FIB entries in the unit-tests. See; /test/test-mpls.py hth /neale From: on behalf of Holoo Gulakh Date: Sunday, 17 December 2017 at 12:58 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] m

Re: [vpp-dev] a problem about dhcp

2017-12-17 Thread Neale Ranns (nranns)
Hi Xyxue, Please file a JIRA ticket at: https://jira.fd.io/secure/Dashboard.jspa /neale From: on behalf of 薛欣颖 Date: Saturday, 16 December 2017 at 07:26 To: vpp-dev Subject: [vpp-dev] a problem about dhcp Hi guys, I'm testing the dhcp function. There is a problem : when I delete the dhc

Re: [vpp-dev] ip routing by mpls

2017-12-19 Thread Neale Ranns (nranns)
Hi Holoo, I think you need to add weight=1 to the arg list. If that doesn’t work, can you show me; sh ip fib 1.2.3.4/32 Thanks, neale From: on behalf of Holoo Gulakh Date: Tuesday, 19 December 2017 at 13:39 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] ip routing by mpls Hi, I used the follo

Re: [vpp-dev] Need Help on an ipsec Problem

2017-12-19 Thread Neale Ranns (nranns)
t;Bin Zhang (binzhang)" Date: Tuesday, 19 December 2017 at 02:28 To: "Neale Ranns (nranns)" Cc: "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] Need Help on an ipsec Problem Hi Neale, Many thanks for the help. You are right that I did not enable/configure the ipse

Re: [vpp-dev] the mheap small cache release more than once

2017-12-21 Thread Neale Ranns (nranns)
Hi Xyxue, Each call to fib_table_entry_path_add2 expects that it will own the label stack that is passed to it. This was done so there is no need to copy the stack. If an application (like SR) wants to use the same set of labels for more than one prefix, it should allocate/duplicate the label s

Re: [vpp-dev] gerrit 9904 VIRL verification is failing

2017-12-27 Thread Neale Ranns (nranns)
Hi Nitin, Hit the ‘reply’ button and post a review comment of: recheck that will poke Jenkins to redo the verification. /neale -Original Message- From: on behalf of "Saxena, Nitin" Date: Wednesday, 27 December 2017 at 14:38 To: "Dave Barach (dbarach)" , "vpp-dev@lists.fd.io" Subj

Re: [vpp-dev] mpls routing

2017-12-27 Thread Neale Ranns (nranns)
Hi Holoo, I see nothing wrong with your VPP config. So please collect a packet trace and the output of: sh mpls fib 400 Thanks, neale From: on behalf of Holoo Gulakh Date: Tuesday, 26 December 2017 at 17:39 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] mpls routing Hi, I want to test a

Re: [vpp-dev] question about load balance

2018-01-09 Thread Neale Ranns (nranns)
Hi Xyxue, It does match your configuration. You requested a 2:1 ratio un-equal cost load balancing, you got a 5:3, which VPP considers to be close enough. It’s not exact because the number of buckets in a load-balance is always a power of 2. /neale From: on behalf of 薛欣颖 Date: Tuesday, 9 Jan

Re: [vpp-dev] question about load balance

2018-01-10 Thread Neale Ranns (nranns)
ierre Pfister (ppfister)" Date: Wednesday, 10 January 2018 at 10:39 To: 薛欣颖 Cc: "Neale Ranns (nranns)" , vpp-dev Subject: Re: [vpp-dev] question about load balance Hello, You will not be able to get an exact match on 1/3 - 2/3 traffic sharing since 3 is not a power of two

Re: [vpp-dev] How can i setup multi-vrf mpls configuration in vpp?

2018-01-17 Thread Neale Ranns (nranns)
Hi Reza, I would suggest you start with this: https://wiki.fd.io/view/VPP/MPLS_FIB and then if you’ve further questions, perhaps a diagram outlining what you would like to configure. Regards, neale From: on behalf of "mirzaei.reza" Date: Wednesday, 17 January 2018 at 10:50 To: Vpp Dev Su

Re: [vpp-dev] How can i setup multi-vrf mpls configuration in vpp?

2018-01-17 Thread Neale Ranns (nranns)
Hi Reza, I have updated: https://wiki.fd.io/view/VPP/MPLS_FIB#MPLS_VPN to include a basic MPLS VPNv4 configuration example. Hth, neale From: on behalf of "Neale Ranns (nranns)" Date: Wednesday, 17 January 2018 at 11:03 To: "mirzaei.reza" , Vpp Dev Subject: Re: [vpp-

Re: [vpp-dev] Create an arc

2018-01-18 Thread Neale Ranns (nranns)
e- From: "Dave Barach (dbarach)" Date: Wednesday, 17 January 2018 at 16:21 To: korian edeline , "vpp-dev@lists.fd.io" , "Neale Ranns (nranns)" Subject: RE: [vpp-dev] Create an arc Dear Korian, Steering traffic from ip4_lookup to is easily acc

Re: [vpp-dev] Create an arc

2018-01-18 Thread Neale Ranns (nranns)
), where it will receive all packets egressing through that interface post rewrite encapsulation. /neale -Original Message- From: korian edeline Date: Thursday, 18 January 2018 at 12:36 To: "Neale Ranns (nranns)" , "Dave Barach (dbarach)" , "vpp-dev@lists.fd.i

Re: [vpp-dev] Create an arc

2018-01-19 Thread Neale Ranns (nranns)
path when the adjacency is reached, and hence the TX interface known, is ip4-rewrite. /neale From: korian edeline Date: Thursday, 18 January 2018 at 14:41 To: "Dave Barach (dbarach)" , "Neale Ranns (nranns)" , "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] Cre

Re: [vpp-dev] MPLS-TP support

2018-01-22 Thread Neale Ranns (nranns)
Hi, I am not aware of any effort now, nor in plan, for MPLS TP. Contributions are welcome ☺ Regards, neale -Original Message- From: on behalf of Алексей Болдырев Date: Friday, 19 January 2018 at 22:40 To: vpp-dev , vpp-dev-request Subject: [vpp-dev] MPLS-TP support Please tell

Re: [vpp-dev] VPP equivalent of the vrf commands in Cisco

2018-01-23 Thread Neale Ranns (nranns)
Hi Reza, Can I refer you back to this previous thread; https://lists.fd.io/pipermail/vpp-dev/2017-August/006254.html /neale From: on behalf of "mirzaei.reza" Date: Tuesday, 23 January 2018 at 09:27 To: Vpp Dev Subject: [vpp-dev] VPP equivalent of the vrf commands in Cisco Hi I want to k

Re: [vpp-dev] Re-verify a Commit?

2018-01-23 Thread Neale Ranns (nranns)
Hi Jon, Leave a code review comment of: recheck that will poke JJB to go do its thing again /neale From: on behalf of Jon Loeliger Date: Tuesday, 23 January 2018 at 17:59 To: vpp-dev Subject: [vpp-dev] Re-verify a Commit? Hey vpp-dev-iants, How do I kick-off a re-verify request after a p

Re: [vpp-dev] Howto implement L3 p2p tunnel interface without assigning IP to the interface?

2018-01-25 Thread Neale Ranns (nranns)
Hi Andreas, Not accepting IP[46] packets on any interface type that is not IP[46] enabled is a basic security feature. To IP4 enable an interface you have two option; 1) Assign it an IP address 2) Make it IP unnumbered to another interface that does have an address, e.g. set int ip

Re: [vpp-dev] Howto implement L3 p2p tunnel interface without assigning IP to the interface?

2018-01-26 Thread Neale Ranns (nranns)
APIs to automatically IP enable GTP interfaces on interface creation. Regards, neale From: Andreas Schultz Date: Thursday, 25 January 2018 at 23:47 To: "vpp-dev@lists.fd.io" Cc: "Neale Ranns (nranns)" , Ole Troan Subject: Re: [vpp-dev] Howto implement L3 p2p tunnel interfac

Re: [vpp-dev] Howto implement L3 p2p tunnel interface without assigning IP to the interface?

2018-01-29 Thread Neale Ranns (nranns)
do-it-yourself stats scheme. /neale From: Andreas Schultz Date: Friday, 26 January 2018 at 13:55 To: "Neale Ranns (nranns)" Cc: "vpp-dev@lists.fd.io" , Ole Troan Subject: Re: [vpp-dev] Howto implement L3 p2p tunnel interface without assigning IP to the interface? Hi

Re: [vpp-dev] Arp doesn't work after classifier configuration

2018-01-29 Thread Neale Ranns (nranns)
Hi Brindiya, Could you please show me the output of: sh ip fib 6.6.6.1/32 Thanks, neale From: on behalf of bindiya Kurle Date: Monday, 29 January 2018 at 10:04 To: "vpp-dev@lists.fd.io" Subject: [vpp-dev] Arp doesn't work after classifier configuration Hi, my vpp version : DBGvpp# show ve

Re: [vpp-dev] adding large number of route prefixes

2018-02-01 Thread Neale Ranns (nranns)
Hi Konrad, As of 18.01 the amount of memory available for IP routes is controlled in the startup config with: ip {heap-size } /neale -Original Message- From: on behalf of Konrad Gutkowski Date: Thursday, 1 February 2018 at 03:01 To: vpp-dev Subject: [vpp-dev] adding large number o

Re: [vpp-dev] Consolidatation of fib_ip_proto() functions?

2018-02-01 Thread Neale Ranns (nranns)
Hi Jon, I would welcome such a patch. /neale From: Jon Loeliger Date: Thursday, 1 February 2018 at 17:18 To: vpp-dev , "Neale Ranns (nranns)" Subject: Consolidatation of fib_ip_proto() functions? Neale, I have need of using a function like fib_ip_proto(), below, in yet another

Re: [vpp-dev] New fd.io vpp project committer vote: Marco Varlese

2018-02-06 Thread Neale Ranns (nranns)
described below. Voting is limited to current committers, and will remain open for 1 week, or until folks have voted. Thanks… Dave From: Dave Barach (dbarach) Sent: Tuesday, February 6, 2018 8:56 AM To: Keith Burns (krb) ; Florin Coras (fcoras) ; John Lo (loj) ; Luke, Chris ; Damjan Marion

Re: [vpp-dev] Problem in forwarding multicast traffic

2018-02-07 Thread Neale Ranns (nranns)
Hi Juan, When setting multicast routes one must specify the accepting (or RPF) interface for the prefix. So, additionally, you need; ip mroute add 224.0.0.5 via GigabitEthernet0/7/0 Accept note though that while an interface can be configured to be both and accepting and forwarding interface

Re: [vpp-dev] VXLAN Tunnel IF Names

2018-02-07 Thread Neale Ranns (nranns)
Hi Jon, I feel I must ask ☺ “That has to match a VPP interface by name. But what name?” why does it need to match a VPP interface name? shouldn’t = MyVxlan23. Your control plane maintains mappings between MyVxlan23 and VPP’s sw_if_index. /neale From: on behalf of Jon Loeliger Date: Friday

Re: [vpp-dev] VXLAN Tunnel IF Names

2018-02-07 Thread Neale Ranns (nranns)
: "John Lo (loj)" Date: Wednesday, 7 February 2018 at 15:34 To: "Neale Ranns (nranns)" , Jon Loeliger Cc: vpp-dev Subject: RE: [vpp-dev] VXLAN Tunnel IF Names I guess Jon’s point was the control plane need to know exactly what X would be and not rely on VPP to provide the sw_i

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] Fwd: Punting UDP packets to Kernel

2016-11-22 Thread Neale Ranns (nranns)
Hi Prerit, vnet_get_config_data() finds the next node based on the input features configured on the interface. Depending on what version of code you are running, you can see the input features using something like; sh [ip] int features If your tap interface shows only ip4-drop as an input fe

[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 dir

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

2016-12-01 Thread Neale Ranns (nranns)
Hi, 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 enum { … } l2_vtr_op_t; Is required for use in (from vpe.py) def l2_interface_vlan_tag_rewrite( sw_if

Re: [vpp-dev] vxlan setup guidance

2016-12-01 Thread Neale Ranns (nranns)
Hi Ray, An observation inline... On 01/12/2016, 18:23, "vpp-dev-boun...@lists.fd.io on behalf of Kinsella, Ray" wrote: >Guys, > >I am struggling with VXLan setup with VPP. >On Linux it's no problem ... > >Container 1 > sudo ip addr add 172.16.1.2/24 dev veth_link1 > sudo ip lin

Re: [vpp-dev] Getting different values in VPP and plugin for FIB_PROTOCOL_IP4/6

2016-12-02 Thread Neale Ranns (nranns)
Hi nagp, We should remove the conditional CLIB_DEBUG from the declaration of FIB_PROTOCOL_IP4 in fib_types.h . It was there to assist me during development. But related errors have now been found and coverity checks enum type mismatches, so it’s save to be removed. I’ll push a patch shortly.

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 enum >> { >> … >> } l

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] [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 1.2.2.0/24

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 fl

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 p

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)" wrote:

Re: [vpp-dev] L2 XConnect over MPLS?

2017-01-03 Thread Neale Ranns (nranns)
Hi nagp, It’s not currently possible but it is achievable with a small amount of effort. The encap side I think Is already possible. As you say, use l2-xcrw and xconnect the l2 sub-interface with an ‘mpls tunnel …’ interface. The MPLS tunnel will add the label stack of your choice and then rout

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] [csit-dev] vpp make test for verify - are we there yet ? [awoken]

2017-01-04 Thread Neale Ranns (nranns)
ECHNOLOGIES at Cisco)" , "Maciek Konstantynowicz (mkonstan)" , "Neale Ranns (nranns)" Cc: "csit-...@lists.fd.io" , "vpp-dev@lists.fd.io" Subject: Re: [csit-dev] [vpp-dev] vpp make test for verify - are we there yet ? [awoken] Klement, I'm in the process

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

2017-01-05 Thread Neale Ranns (nranns)
/mpls.py’ or ‘find -name *.pyc –exec rm \;’ then all is well. The find and rm command I can add to the makefile. But there must be a better way. Ideas? My python noob skills are stretched as it is ☺ Thanks, neale From: Dave Wallace Date: Wednesday, 4 January 2017 at 18:19 To: "Neale Ranns (n

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

2017-01-05 Thread Neale Ranns (nranns)
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 is related to t

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 addr

Re: [vpp-dev] Get IPv6 neighbors MACs

2017-01-11 Thread Neale Ranns (nranns)
Hi Dmitry, Please try this with 17.01 as the behaviour has changed for cross VRF scenarios like this. Also a diagram, even if it’s just a photo of a white board, will help significantly. Thanks, neale From: Dmitry Bufistov Date: Wednesday, 11 January 2017 at 15:10 To: "Neale Ranns (n

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 bound

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

2017-01-17 Thread Neale Ranns (nranns)
2017 at 15:13 To: Dave Wallace Cc: "Neale Ranns (nranns)" , Choonho Son , "vpp-dev@lists.fd.io" Subject: Re: [vpp-dev] show interface address with multiple tables Dave, I agree with your statements about VPP probably needs to add the verification. I wanted to add that this

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. For

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 = VNET_HW_INTERFACE_CLASS_FLAG_P2P,

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 Nagaprabhanjan Bellaru Date: Wednesda

<    1   2   3   4   5   6   7   8   >