[bess] handling DAD in draft-ietf-bess-evpn-inter-subnet-forwarding-05

Sowmini Varadhan <sowmini05@gmail.com> Mon, 17 September 2018 22:48 UTC

Return-Path: <sowmini05@gmail.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 965F4130DC4 for <bess@ietfa.amsl.com>; Mon, 17 Sep 2018 15:48:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level:
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kHicUl-OpCYS for <bess@ietfa.amsl.com>; Mon, 17 Sep 2018 15:48:00 -0700 (PDT)
Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 42317130EDD for <bess@ietf.org>; Mon, 17 Sep 2018 15:48:00 -0700 (PDT)
Received: by mail-ot1-x32c.google.com with SMTP id a19-v6so13062161otl.12 for <bess@ietf.org>; Mon, 17 Sep 2018 15:48:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=9jdVqC5GtozKsbQIZI97HxLUYek39YQW3UUaW+50hoA=; b=e9kizr/nC5Q2FCD4QPXv7c9DV7i3qbB4cXZnk0UEsv22hqkIRE3RbvhVIKjR6ijQ8s ZFRlJnwD5NJi6drVN8Mb30oCiMTzyzoKnNQDDGn72WAHOz5vrxfLgYdvP1nQS+ybaSqB ir6jmM10MmlR7m82NSgLvDPQ0Nh+sw+nW8KIlz2Y5bKN+AavN2XN3FRk6FnFY4P0D/rR 3qCoigdc63nqvVbyaFsw6m2oDs8Rh/ZX2vS9hsoBfys7IRXa/4Gmq3XiVsoojz5JYkKi fuilGAque9AVrQIvUgIqDGtCpNtl+rRMGcWhfzMHHdl+TgaRcLG25er98Fu4unCJskNd 8Dpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=9jdVqC5GtozKsbQIZI97HxLUYek39YQW3UUaW+50hoA=; b=gy+ro1LE+ZWDQzmOgiakVnbERaQeU308Qr7eQRSKlQANENod7tiINL+HzcJZW0Cx0Q XkFWs/qP5LxqTvGUp/O5nCJI5ShMidvfBtOCbE1uyHvqX2PSTczhB2Wz7BtFquUuXAWq wtPxX7oYx3oZ0Ye/NvYXaP0LrS18RDw7YlCXLIetDMqZkTbbsgvaGrfLZz3A4VkSGWYM zvqRYwHElJNdgJbjDhHIaNqQXvzFbTjLVXnIw8WYthqLS6WYsVJHLk/KBJllEWoPdjoW hcENZxU2m9o0+M3NqTdbRWaNosxsUmEEzuoHbPnTrRIeecDK9slD0yBzjq7bJqR/v0x2 AXiQ==
X-Gm-Message-State: APzg51CsV+0cE2tS2BWfYrJz4S38EJU7LSXSEPbvrHRx30XKSwHlK/31 g44nlG6Kh0VfQ3DCsc8MKmyw8liwUlC2wmZnNFT0dA==
X-Google-Smtp-Source: ANB0Vdaairo6miFqaRnmoqd4Ed8Bj/1OaE+03pZ4mvsQNLBscR9rvstMgyk+lGVWyAEXSCP47x6HIylxtizH6dygVSs=
X-Received: by 2002:a9d:29b9:: with SMTP id n54-v6mr14688039otb.321.1537224479290; Mon, 17 Sep 2018 15:47:59 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:ac9:14ab:0:0:0:0:0 with HTTP; Mon, 17 Sep 2018 15:47:58 -0700 (PDT)
From: Sowmini Varadhan <sowmini05@gmail.com>
Date: Mon, 17 Sep 2018 18:47:58 -0400
Message-ID: <CACP96tSk0zGUaYaPR7KAg1Jdyw3iJJxZXtAzoQaPrVe94WhgpA@mail.gmail.com>
To: bess@ietf.org
Cc: sajassi@cisco.com, sslam@cisco.com, sthoria@cisco.com, jdrake@juniper.net, Sowmini Varadhan <sowmini.varadhan@oracle.com>, jorge.rabadan@nokia.com
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/38F0v-ZVMycWml4tWPiMvtT70ZU>
Subject: [bess] handling DAD in draft-ietf-bess-evpn-inter-subnet-forwarding-05
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Sep 2018 22:48:02 -0000

hi,

I have a question about Section 4.1.1 ("Initiating an APR Request upon a Move")
in draft-ietf-bess-evpn-inter-subnet-forwarding-05 which has the paragraph:

"Since this NVE has previously learned the same MAC and IP addresses
 from the source NVE, it recognizes that there has been a MAC move and
 it initiates MAC mobility procedures per [RFC7432] by advertising an
 EVPN MAC/IP route with both the MAC and IP addresses filled in along
 with MAC Mobility Extended Community with the sequence number
 incremented by one."

but the Grat ARP may be an indication of a duplicate address, or it
may have been manufactured  by a malicious node, in which case this is not
a mac-move.

Should the target NVE first check with the src NVE that the
original (ip, mac) binding does not exist at the source NVE
before advertising the MAC route?

The next paragraph in Section 4.1.1 says
"The source NVE upon receiving this MAC/IP advertisement, realizes
 that the MAC has moved to the target NVE. It updates its MAC-VRF and
 IP-VRF table accordingly with the adjacency information of the target
 NVE and withdraws its EVPN MAC/IP route. Furthermore, it sends an ARP
 probe locally to ensure that the MAC is gone and it deletes its ARP
 entry corresponding to that <IP, MAC> when there is no ARP response."

One minor nit here is that the ARP probe should really check that
the IP address is gone (i.e. the IP address is not duplicate),
and this check should be done *before* the target NVE gets to declare
that the TS has moved?

(same thing for section 4.1.2, where the target NVE learns the
<IP, MAC> at the new location from the data packet without an
intervening GARP)

Thanks
--Sowmini