Re: [Idr] [bess] Type 1 RD for Pure IPv6 network -- EVPN

Muthu Arul Mozhi Perumal <muthu.arul@gmail.com> Wed, 27 January 2021 10:45 UTC

Return-Path: <muthu.arul@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B04783A0D69; Wed, 27 Jan 2021 02:45:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 dXmL9zPokpuF; Wed, 27 Jan 2021 02:45:36 -0800 (PST)
Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (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 BC9713A0D64; Wed, 27 Jan 2021 02:45:35 -0800 (PST)
Received: by mail-lj1-x231.google.com with SMTP id f19so1516940ljn.5; Wed, 27 Jan 2021 02:45:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AWr8e0nfiKsN31egzCMNiKcLtKrZwWcSl8aGimcz+rg=; b=oEn3Je8dU1yImumBrB79uKHLyRIqW0wLN3HF/KmUMjduQl8VcAapAymHU5vou9+7xu /u+iIuAgR3Czr+uFtZGA8bAJzLwIIKaChlGJ7DpuOThSimrALwb7rJhlbw4yhZKVDZrW /bvvz39XAApdsf1MXWc1zZSW/R55wyCoqe+zgEOKoBkhjVnkDXzju8V92h6VJD8V5W1m CWIy6kCWNHReJZ1US9GKsq/0fK1qTToGXY/rZxw/5ZWXEHdluerxy3/9iVK6EFN4m2PR kg9LCjL0FXhtWI4ZUPV0lFLvR9HVYJi5kZd3sj8kyLdjeV0R7bp4z5mGRVc4dbPjl5D/ nXdQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AWr8e0nfiKsN31egzCMNiKcLtKrZwWcSl8aGimcz+rg=; b=tFCfWaMjLfazj8AMS1abVs96KaZA1H092qKXU72LsAOxfCT1CHCx0EcT/Xu2k47Jou OJLui9F6w8lPUers5d6hPZzViWXoOd5a3THioen7ihgRovV501XLZSo9qw/4/LqS/KzI SfvUmNFjLca4d2jT+Zjv53H3GIAAkOnC/zvZ6BBnQx6fwsSDcpke1KFgtXsdYGiakt14 SoP4dFhkmmfugcK36IVPAq5mX5aMS6jJLECx5SZ22655I376CDFj4A9NKZ1acZJqclVv fhX7GWa2LBhFw1IqayhickvdhReG5oYZZt7xy2rCGCYxlBSNdllwKEe4xnJALQ8HloFG rLqQ==
X-Gm-Message-State: AOAM532Iyv7XnhSgViwlc3r0tEIX2QOWTIuI6dvZ1GlC9KTgxZDmY/0C dH6CxdRbqCYp+O+5vKp8jGU25Hjzh4unDjrRpqo=
X-Google-Smtp-Source: ABdhPJwOR3GaUxveJJW9KHK/gHZu81lqlUoBRDodSU3VAYOJlgoKbB4GQ7I9OycDJvNgeTkGYKCFlkvAeeT6gzDMoEE=
X-Received: by 2002:a2e:5c46:: with SMTP id q67mr5533709ljb.358.1611744333552; Wed, 27 Jan 2021 02:45:33 -0800 (PST)
MIME-Version: 1.0
References: <CA+JENaK55mrR0hDEbTC62kASxTLtEfbmRkWh-VUhRU3oPQcBVA@mail.gmail.com>
In-Reply-To: <CA+JENaK55mrR0hDEbTC62kASxTLtEfbmRkWh-VUhRU3oPQcBVA@mail.gmail.com>
From: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
Date: Wed, 27 Jan 2021 16:15:22 +0530
Message-ID: <CAKz0y8zOjsHS-_Nm7b_AYVy93zE4aDxvKJ+iTBtMDmdP5SCCoQ@mail.gmail.com>
To: TULASI RAM REDDY <tulasiramireddy@gmail.com>
Cc: bess@ietf.org, idr@ietf.org
Content-Type: multipart/alternative; boundary="000000000000785e3305b9df781c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/ckTcyR-kkbaRdeb5vcqu6AYY8FM>
Subject: Re: [Idr] [bess] Type 1 RD for Pure IPv6 network -- EVPN
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Jan 2021 10:45:38 -0000

Hi Tulasi,

In pure IPv6 networks, I think using the BGP identifier in place of the IP
address part in the type 1 RD should suffice for all practical purposes.
The only catch is, if it is an AS-wide unique BGP identifier [RFC6286],
then it is not an IP address 'per se'. But, I think it makes no difference
from an interoperability standpoint..

Perhaps, in line with RFC6286, we should redefine the IP address part of
the type 1 RD as just a 4-octet, unsigned, non-zero integer..

Regards,
Muthu

On Fri, Jan 22, 2021 at 11:31 AM TULASI RAM REDDY <tulasiramireddy@gmail.com>
wrote:

> Hi All,
>
> In a pure IPv6 network, how do one expect to construct the Type 1 RD.
> As per EVPN RFC 7432 for EAD per ES, it should be Type 1 RD, but if the
> loopback address is only IPv6 then what is the expectation here?
> Should we use BGP router ID(32bit) here?
>
> From RFC7432: EVPN
>
> 8.2.1 <https://tools.ietf.org/html/rfc7432#section-8.2.1>.  Constructing Ethernet A-D per Ethernet Segment Route
>
>    The Route Distinguisher (RD) MUST be a Type 1 RD [RFC4364 <https://tools.ietf.org/html/rfc4364>].  The
>    *value field comprises an IP address of the PE (typically, the
>    loopback address)* followed by a number unique to the PE.
>
>
> Thanks,
> TULASI RAMI REDDY N
> _______________________________________________
> BESS mailing list
> BESS@ietf.org
> https://www.ietf.org/mailman/listinfo/bess
>