Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2022-02-14 Thread Sastry Sista
Hi Naele, Its resolved with  " mp->mr_route.mr_paths[0].sw_if_index =  ~0;" . Thank you. With regards Sastry -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20867): https://lists.fd.io/g/vpp-dev/message/20867 Mute This Topic:

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2022-02-14 Thread Sastry Sista
Hi Neale, Thank you for your reply. I was offline for sometime and could not track it. We are using VL APIs to program into vpp and I see some error while programming mpls route into default mpls table: Params we pass are as below: mp->_vl_msg_id = htons (VL_API_MPLS_ROUTE_ADD_DEL);

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-31 Thread Neale Ranns
You are configuring it incorrectly. Please re-read the emails I have already sent you. /neale From: vpp-dev@lists.fd.io on behalf of Sastry Sista via lists.fd.io Date: Thursday, 30 December 2021 at 04:49 To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-29 Thread Sastry Sista
On Mon, Dec 13, 2021 at 08:39 AM, Sastry Sista wrote: > > Hi Neale, > I have used only these 2 below and its not crashing but "MPLS DROP DPO". > > > > vppctl ip route add table 2 1.1.1.1/32 via 107.243.21.116 > VirtualFuncEthernet0/9/0.1800 out-labels 18 > > > > vppctl mpls local-label 17

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-13 Thread Sastry Sista
[Edited Message Follows] Hi Neale, I have used only these 2 below and its not crashing but "MPLS DROP DPO". vppctl ip route add table 2 1.1.1.1/32 via 107.243.21.116 VirtualFuncEthernet0/9/0.1800 out-labels 18 vppctl mpls local-label 17 1.1.1.2/32 via ip4-lookup-in-table 2 Here, I have

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-13 Thread Sastry Sista
Hi Neale, I have used only these 2 below and its crashing. vppctl ip route add table 2 1.1.1.1/32 via 107.243.21.116 VirtualFuncEthernet0/9/0.1800 out-labels 18 Vppctl mpls local_label 17 1.1.1.2/32 table-id 2 Here, I have created loop18 at table 2 and added 1.1.1.2/24. Do you say that loop18

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-12 Thread Neale Ranns
Subject: Re: [vpp-dev] MPLS: fib table 1 display issue #mpls Hi Neale, I tried all combinations of bind (vppctl mpls local-label 17 1.1.1.2/32). Vpp is crashing once we receive mpls ping req. I am using fdio 20.05. Please confirm if its an open bug: crashed with below

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-10 Thread Sastry Sista
Hi Neale, I tried all combinations of bind ( vppctl mpls local-label 17 1.1.1.2/32). Vpp is crashing once we receive mpls ping req. I am using fdio 20.05. Please confirm if its an open bug: crashed with below: = vppctl ip route add table 2 1.1.1.1/32 via 107.243.21.116

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-09 Thread Sastry Sista
Hi Neale, So, you suggest bind over other way. Then,  I need to do following for bind of a prefix? vppctl ip route add table 2 1.1.1.1/32 via 107.243.21.116 VirtualFuncEthernet0/9/0.1800 out-labels 18 vppctl mpls local-label 17 eos via ip4-lookup-in-table 2 vppctl mpls local-label 17

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-09 Thread Neale Ranns
From: vpp-dev@lists.fd.io on behalf of Sastry Sista via lists.fd.io Date: Thursday, 9 December 2021 at 02:17 To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] MPLS: fib table 1 display issue #mpls Hi Neale, Thank you for detailed explanation. Its working fine by providing

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-08 Thread Sastry Sista
Hi Neale, Thank you for detailed explanation. Its working fine by providing nh and interface. Just a small Q: without bind API, label to prefix, I could manage to make this working. I just wanted to know what is the real value of bind API? Is it that bind will just help us to get label and

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-08 Thread Neale Ranns
From: vpp-dev@lists.fd.io on behalf of Sastry Sista via lists.fd.io Date: Wednesday, 8 December 2021 at 03:35 To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] MPLS: fib table 1 display issue #mpls Hi Neale, Thank you for the help. We are trying to exercise vpp mpls vpn

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-07 Thread Sastry Sista
Hi Neale, Thank you for the help. We are trying to exercise vpp mpls vpn and we are preferring label per prefix only. Anyway I am fine even with per VRF label but  adding more local labels which seems fine while adding. I am trying to evaluate VRF with non-default ip fib tables. While I tried

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-07 Thread Neale Ranns
From: vpp-dev@lists.fd.io on behalf of Sastry Sista via lists.fd.io Date: Thursday, 2 December 2021 at 13:25 To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] MPLS: fib table 1 display issue #mpls Thank you Neale. We may need to develop something like show mpls bind for our purpose. My test

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-06 Thread Sastry Sista
Hi Neale, Because of this label bind to prefix crash issue, I can think of using label per VRF and use pop rule as below: I will add all local labels to same VRF vppctl mpls local-label 17 eos via ip4-lookup-in-table 1 vppctl mpls local-label 18 eos via ip4-lookup-in-table 1 vppctl mpls

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-06 Thread Sastry Sista
Hi Neale, I am not able to test bind CLI along with pop rules. I am seeing vpp crash for the below commands. Using 20.05 fdio. vppctl set int ip addr  VirtualFuncEthernet0/9/0.1800 107.243.21.115/24 vppctl set int state VirtualFuncEthernet0/9/0.1800 up vppctl mpls table add 0 vppctl set int mpls

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-06 Thread Sastry Sista
Hi Neale, ping is fine with per vrf label schema. But, Issue is with label per prefix. I see 20.05 vpp is crashing as below: Thread 5 "vpp_wk_2" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f41551fc640 (LWP 101)] 0x7f479f974db4 in ip4_fib_mtrie_lookup_step_one

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-12-02 Thread Sastry Sista
Thank you Neale. We may need to develop something like show mpls bind for our purpose. My test setup ping is not working. Error is :  "MPLS DROP DPO"  because of fib next node is drop-dpo. COuld you please help me what is worng? I am trying to try mpls ping between 1.1.1.1/24 to 2.2.2.2/24.

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-11-30 Thread Neale Ranns
From: vpp-dev@lists.fd.io on behalf of Sastry Sista via lists.fd.io Date: Tuesday, 30 November 2021 at 02:35 To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] MPLS: fib table 1 display issue #mpls Hi Neale, Then, mpls table ID we give for mpls commands always represents ip

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-11-29 Thread Sastry Sista
Hi Neale, Then, mpls table ID we give for mpls commands always represents ip table id? for example: mpls local-label 100 del 10.10.20.0/24 table 3 ==> here table is represents ip fib id? Also, what is the use of non zero mpls table ID  at all? could you please provide one use case? Second, if

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-11-29 Thread Neale Ranns
Subject: Re: [vpp-dev] MPLS: fib table 1 display issue #mpls Hi Neale, Thank you for the quick reply. I gone through that link and have few queries. On MPLS VPNs: Q1. If we do not allow interfaces creation inside VRF of mpls tables, then what is the use of mpls table 1 etc? Q2

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-11-29 Thread Sastry Sista
Hi Neale, Thank you for the quick reply. I gone through that link and have few queries. On MPLS VPNs: Q1. If we do not allow interfaces creation inside VRF of mpls tables, then what is the use of mpls table 1 etc? Q2. Always prefixes are associated with IP FIBs as per my understanding, so, how

Re: [vpp-dev] MPLS: fib table 1 display issue #mpls

2021-11-29 Thread Neale Ranns
Hi Sastry, I’d suggest you start with the docs here: https://wiki.fd.io/view/VPP/MPLS_FIB /neale From: vpp-dev@lists.fd.io on behalf of Sastry Sista via lists.fd.io Date: Monday, 29 November 2021 at 08:17 To: vpp-dev@lists.fd.io Subject: [vpp-dev] MPLS: fib table 1 display issue #mpls Hi

[vpp-dev] MPLS: fib table 1 display issue #mpls

2021-11-28 Thread Sastry Sista
Hi, I am trying l3vpn features and following the below steps: 1. mpls table add 0 2. set interface mpls VirtualFuncEthernet0/7/0.1549 enable 3. mpls table add 1 4. ip route add 2.2.2.2/24 via 10.164.4.75 VirtualFuncEthernet0/7/0.1549  mpls-lookup-in-table 1 out-labels 75 I found 2.2.2.2 in ip