Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-07 Thread Chinmaya Aggarwal
Hi, As suggested, we added blackhole routes in linux using below command sudo ip netns exec dataplane ip -6 route add blackhole 2001:50:10:a111::101/64 table 1203 proto bgp And then we added ipip tunnel route via API. Below is the output for "vppctl show ip6 fib table 1203 2001:50:10:a111::101

Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-06 Thread Matthew Smith via lists.fd.io
e, FIB_SOURCE_BH_INTERPOSE) \ > > _(FIB_SOURCE_INVALID, 0xff, FIB_SOURCE_BH_DROP) > > > > /** > > * Some priority values that plugins might use when they are not to > concerned > > * where in the list they'll go. > > */ > > #define FI

Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-06 Thread Neale Ranns
RITY_HI 0x10 #define FIB_SOURCE_PRIORITY_LOW 0xd0 /neale From: vpp-dev@lists.fd.io on behalf of Chinmaya Aggarwal via lists.fd.io Date: Tuesday, 5 April 2022 at 16:55 To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Prevent blackhole routes being leaked into VPP Hi, We are adding blackhole routes via linux co

Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-05 Thread Chinmaya Aggarwal
Hi, We are adding blackhole routes via linux command "sudo ip netns exec dataplane ip -6 route add blackhole 2001:50:10:a111::101/64 table 1203" After adding blackhole routes on linux (that are leaked to vpp), if we try to view the route in vpp ,we get the below output [root@j3chysr01stg05 ~]#

Re: [vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-04 Thread Neale Ranns
From: vpp-dev@lists.fd.io on behalf of Chinmaya Aggarwal via lists.fd.io Date: Monday, 4 April 2022 at 09:08 To: vpp-dev@lists.fd.io Subject: [vpp-dev] Prevent blackhole routes being leaked into VPP Hi, We have integrated linux-cp and linux-nl plugin in VPP. We create table 1203 on VPP and

[vpp-dev] Prevent blackhole routes being leaked into VPP

2022-04-04 Thread Chinmaya Aggarwal
Hi, We have integrated linux-cp and linux-nl plugin in VPP. We create table 1203 on VPP and on linux (in namespace dataplane). We added a blackhole route on linux using below command:- sudo ip netns exec dataplane ip -6 route add blackhole 2001:50:10:a111::101/64 table 1203 When I view this ro