[dev] [FRRouting/frr] Static blackhole route does not honor distance attribute (#2230)

Mohan Singamsetty msingamsetty at vmware.com
Tue Sep 11 00:33:03 EDT 2018


Jay,

Configured distance is already considered by Zebra/RTM and that design stays as-is. Weight/Local preference alone are not enough to address this issue. Deterministic in the sense, given a set of events, FRR stack will download same route to RIB/FIB irrespective of sequence in which the events happened.

Some of the details of the discussion were captured in the bug comments. Please check for more details.

Thanks,
Mohan


From: Jia Chen <jchen1 at paloaltonetworks.com>
Date: Monday, September 10, 2018 at 10:08 AM
To: Mohan Singamsetty <msingamsetty at vmware.com>, Donald Sharp <sharpd at cumulusnetworks.com>, "ntriantafillis at gmail.com" <ntriantafillis at gmail.com>, FRRouting-Dev <dev at lists.frrouting.org>, Don Slice <dslice at cumulusnetworks.com>, Russ White <russ at riw.us>
Subject: Re: [dev] [FRRouting/frr] Static blackhole route does not honor distance attribute (#2230)

Just a question,

Should configured distance be considered by Zebra/RTM stage rather than inside of BGP best path selection. If BGP best path selection need to be influenced, why using weight, local preference etc not enough?

In another note, the deterministic behavior, are we talking about ordered/prioritized FIB downloading depending on route types?

Thanks,
Jay



Configured distance

From: dev <dev-bounces at lists.frrouting.org> on behalf of Mohan Singamsetty <msingamsetty at vmware.com>
Date: Monday, September 10, 2018 at 9:40 AM
To: Donald Sharp <sharpd at cumulusnetworks.com>, "ntriantafillis at gmail.com" <ntriantafillis at gmail.com>, FRRouting-Dev <dev at lists.frrouting.org>, Don Slice <dslice at cumulusnetworks.com>, Russ White <russ at riw.us>
Subject: Re: [dev] [FRRouting/frr] Static blackhole route does not honor distance attribute (#2230)

We had this meeting to discuss issue #2230 and conclude on the fix.

Date: 09-05-2018
Attendees: Donald, Nikos, Don, Mohan, Soman.
Minutes:

  1.  Two issues were discussed.
     *   FRR stack not being deterministic in downloading routes to RIB/FIB and the routes downloaded to RIB/FIB depends on sequence of commands executed or sequence of network events happened. Ideally the routes in RIB/FIB should be deterministic and consistent at a given time after executing set of same commands.
     *   FRR stack not honoring the admin distance configured for routes and downloading routes with higher admin distance (higher in numerical value). Ideally routes with lower admin distances should be considered as best routes and should get downloaded to RIB/FIB.
  2.  Two Proposals were considered.
     *   Consider admin distance configured for each route in BGP best bath algorithm to make FRR stack behave more deterministic and consistent with respect to downloading routes to RIB/FIB.
     *   Use route maps to control the routes to be downloaded to RIB/FIB depending on the requirement and use case.

Conclusion:

  1.  It was concluded that the FRR stack behavior should be deterministic even without using any route maps (without any additional configuration from user).
  2.  Team agreed to use proposal #1 (Using the admin distance of route/protocol inside the BGP best path algorithm to determine the best route) to move forward and address the above issues mentioned.
  3.  Admin distance will be the first thing to compare in FRR best bath path algorithm. This is in addition to the other 13 checks that FRR stack currently has.
  4.  There will be a #def to control the default behavior from build time. i.e. either to have the old behavior where admin distance of each route is not used inside the BGP best path algorithm or to have new behavior where admin distance is used inside BGP best path algorithm to fix the above issue. User can use this #def to build the FRR stack and get the default behavior that is needed.
  5.  There will be a CLI command also to control the default behavior as explained above.

We will publish the design and start implementing this soon.

Guys, please add more if I missed to add anything here.

Thanks,
Mohan

From: Mohan Singamsetty <msingamsetty at vmware.com>
Date: Tuesday, September 4, 2018 at 10:15 AM
To: Donald Sharp <sharpd at cumulusnetworks.com>, "ntriantafillis at gmail.com" <ntriantafillis at gmail.com>, FRRouting-Dev <dev at lists.frrouting.org>
Subject: Re: [FRRouting/frr] Static blackhole route does not honor distance attribute (#2230)

I am setting up a meeting to discuss this further on Wednesday (5th September) at 8 AM PST.

Link for the bug and comments
https://github.com/FRRouting/frr/issues/2230<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_FRRouting_frr_issues_2230&d=DwMGaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=yetdj-aXQpuqTCJGs-93hOpK3740MIRXowfUNLByeos&m=2GR-5s5J4kjmjx-7MISqLe_dGLwqLf5wbETjbxxeoxI&s=Q6hfhZOXRfX1tODyMCO4XTdy800SHHjHrUIK4Py1rJw&e=>

Donald, Nikos, Russ, Please let me know if this time works for you.

If anyone else is interested to join, please let me know and I will add you to the meeting.

Thanks,
Mohan


From: David Lamparter <notifications at github.com>
Reply-To: FRRouting/frr <reply+009b114fa2e0109bec00750471786212a516d3548fe6032192cf0000000117a665b892a169ce133f1a52 at reply.github.com>
Date: Tuesday, September 4, 2018 at 8:24 AM
To: FRRouting/frr <frr at noreply.github.com>
Cc: Mohan Singamsetty <msingamsetty at vmware.com>, Comment <comment at noreply.github.com>
Subject: Re: [FRRouting/frr] Static blackhole route does not honor distance attribute (#2230)


=> meeting this week
=> rough consensus on call is that deterministic behaviour is desired

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252FFRRouting-252Ffrr-252Fissues-252F2230-2523issuecomment-2D418410028-26data-3D02-257C01-257Cmsingamsetty-2540vmware.com-257C28b1ef01464842e1682108d6127a89cc-257Cb39138ca3cee4b4aa4d6cd83d9dd62f0-257C1-257C0-257C636716714843490106-26sdata-3Dym5mVNjS29ABjocdXpheidJkzQkWsOm-252FfmNcV0ufsqw-253D-26reserved-3D0&d=DwMGaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=yetdj-aXQpuqTCJGs-93hOpK3740MIRXowfUNLByeos&m=2GR-5s5J4kjmjx-7MISqLe_dGLwqLf5wbETjbxxeoxI&s=gbNmQUun3oOTQQt0Sba_CJITXGHNljfgtIve2sRIH4A&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Fnotifications-252Funsubscribe-2Dauth-252FAJsRTzWjPRVYKQ-2DuSqAOgQOM-5FQeVtuZRks5uXps4gaJpZM4T-2DK0s-26data-3D02-257C01-257Cmsingamsetty-2540vmware.com-257C28b1ef01464842e1682108d6127a89cc-257Cb39138ca3cee4b4aa4d6cd83d9dd62f0-257C1-257C0-257C636716714843490106-26sdata-3DadeYV-252Bfejtz6ncdZ-252B7lUclAGFwBalaWmeDVE2ZMSaq8-253D-26reserved-3D0&d=DwMGaQ&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=yetdj-aXQpuqTCJGs-93hOpK3740MIRXowfUNLByeos&m=2GR-5s5J4kjmjx-7MISqLe_dGLwqLf5wbETjbxxeoxI&s=Sno6noq1ljalx4mkmzVArUJq2ntADhIeemletWtTJpI&e=>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/dev/attachments/20180911/caecfc46/attachment-0001.html>


More information about the dev mailing list