From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roopa Prabhu Subject: Re: [PATCH net-next] neighbour: support for NTF_EXT_LEARNED flag Date: Wed, 25 Apr 2018 20:52:34 -0700 Message-ID: References: <1524602974-11476-1-git-send-email-roopa@cumulusnetworks.com> <20180425.132058.208675778907308410.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: netdev , Nikolay Aleksandrov , David Ahern To: David Miller Return-path: Received: from mail-ua0-f194.google.com ([209.85.217.194]:35542 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752743AbeDZDwg (ORCPT ); Wed, 25 Apr 2018 23:52:36 -0400 Received: by mail-ua0-f194.google.com with SMTP id c3so16333460uae.2 for ; Wed, 25 Apr 2018 20:52:35 -0700 (PDT) In-Reply-To: <20180425.132058.208675778907308410.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Apr 25, 2018 at 10:20 AM, David Miller wrote: > From: Roopa Prabhu > Date: Tue, 24 Apr 2018 13:49:34 -0700 > >> From: Roopa Prabhu >> >> This patch extends NTF_EXT_LEARNED support to the neighbour system. >> Example use-case: An Ethernet VPN implementation (eg in FRR routing suite) >> can use this flag to add dynamic reachable external neigh entires >> learned via control plane. The use of neigh NTF_EXT_LEARNED in this >> patch is consistent with its use with bridge and vxlan fdb entries. >> >> Signed-off-by: Roopa Prabhu > > No objection to the patch or the facility, so applied, thanks. Thanks! > > What exactly is the name of this VPN technology in the FRR routing > suite? Its "Ethernet VPN" with BGP based control plane. https://github.com/FRRouting/frr/wiki/Frr-3.0-%E2%86%92-4.0 reference RFC's: https://tools.ietf.org/html/rfc7432 : BGP MPLS-Based Ethernet VPN https://tools.ietf.org/html/draft-ietf-bess-evpn-overlay-07 (describes how rfc7432 can be used as an Network Virtualization Overlay (NVO) solution: eg with vxlan). I also talked about it in my netdev2.2 tutorial: https://www.netdevconf.org/2.2/slides/prabhu-linuxbridge-tutorial.pdf (slide 60) Found this blog by Vincent which describes it well: https://vincent.bernat.im/en/blog/2017-vxlan-bgp-evpn For the context of this patch: Neighbor reachability information is exchanged via BGP. Remote neighbors learnt via BGP are installed in the kernel with NTF_EXT_LEARNED to indicate that they are external neighbor entries. FRR BGP also installs vxlan and bridge remote fdb entries with the same flag. Basically replaces flood and learn with control plane learning via BGP. Remote neighbor entries are also used for arp/nd proxy.