Re: [babel] [Babel-users] IPv4 over IPv6

Dave Taht <dave.taht@gmail.com> Tue, 31 March 2020 18:19 UTC

Return-Path: <dave.taht@gmail.com>
X-Original-To: babel@ietfa.amsl.com
Delivered-To: babel@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6DFEA3A264B for <babel@ietfa.amsl.com>; Tue, 31 Mar 2020 11:19:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.198
X-Spam-Level:
X-Spam-Status: No, score=-0.198 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=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 4nhg-QoHc6Yy for <babel@ietfa.amsl.com>; Tue, 31 Mar 2020 11:18:57 -0700 (PDT)
Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 2689A3A2648 for <babel@ietf.org>; Tue, 31 Mar 2020 11:18:57 -0700 (PDT)
Received: by mail-il1-x12e.google.com with SMTP id n13so13082658ilm.5 for <babel@ietf.org>; Tue, 31 Mar 2020 11:18:57 -0700 (PDT)
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:content-transfer-encoding; bh=FDEdy8ISfq2FGXWKqT6ljwxvYm9RmwzD838Xx3hjxZI=; b=c6NogYIBQqtCwUAyv7xnOTPPJ/Q90XkE9jJJaUneydJcXq2l3lHpWOOIHR2+yVitDf MnQof1HbjahLIPzr/JjlT7yhgLe7kXkeX50dWC1+3wMNBBtloUHLWRRVffI36rPnC1g/ 7X3urYqUlmz/KJ+0edXSJCy60HmcC25bhqFyqvpqBEQ4YrYsaR/ngQ15obWgjZ12kxKE 4tb+s8JnPrkGwF4JotyDdnGE8ey0DFqfgBjmfWqnU8aEEdAiQIypdZjyFt2JG6lWnv31 lXT7u42h0CWMWhwka4PwcsfLDafpIkx1CLGq+mHAFDQ70l/+5RBGj9gWb6HfvVNkzxTL A8MA==
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:content-transfer-encoding; bh=FDEdy8ISfq2FGXWKqT6ljwxvYm9RmwzD838Xx3hjxZI=; b=jLzyHHj4smfiTVzWZrazrTFms5dkwNo8pXjoZzpnJRBN/qcIg/NcY1OMWXDckarPRP JvbOHeHWGub/dFEzormHVRjJTGcwBigW1B5RyM3JapTQlFkRSAHZVvJIZe/xLpkU9bbB bjXUFtnulvILtAP7+pHN3piuK3egsWJmqOLECnr/8jPI3jUOIr+cPh4jE7O+fSktexL/ TlFhbeptPjEGfiaoHHTk8ht6syIWYyY45U7MPuROYOc/1bw+J7sLVrH0WcQrYzYPxjQI /GQym9vUraB97kYO7mAtUihwMUjHGIl7MuvRtNSlFTT/r6n5BUZumtZxPJHCTwYdBb1L Hieg==
X-Gm-Message-State: ANhLgQ3i0FiDnFSNl/KMTFFFiGzLUnqXXux89Gg1myqfFsMhkiUBjwK5 VAw+7/GlefX6H30vaw8Zy7bz2LEJ9ozfbdw6sxR+J1dj
X-Google-Smtp-Source: ADFU+vuIkkuZWfIBXJtFsFw4hDMKSlON2MGzxUOoDaXGYNHJ1K/mSGUvqQfstTPPK/w4TKbs4HV9oNMrJB3LewgHt4w=
X-Received: by 2002:a92:8e50:: with SMTP id k16mr18634620ilh.45.1585678736412; Tue, 31 Mar 2020 11:18:56 -0700 (PDT)
MIME-Version: 1.0
References: <87o8scpgkq.wl-jch@irif.fr>
In-Reply-To: <87o8scpgkq.wl-jch@irif.fr>
From: Dave Taht <dave.taht@gmail.com>
Date: Tue, 31 Mar 2020 11:18:45 -0700
Message-ID: <CAA93jw4fb_PzyCb-gMDTEWUo7EXCpQP69H3ZD4DAuKBN_boi6A@mail.gmail.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: Babel at IETF <babel@ietf.org>, babel-users <babel-users@lists.alioth.debian.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/babel/96Y0ksuEnLW6ZSCRBF_wymdXr9c>
Subject: Re: [babel] [Babel-users] IPv4 over IPv6
X-BeenThere: babel@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "A list for discussion of the Babel Routing Protocol." <babel.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/babel>, <mailto:babel-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/babel/>
List-Post: <mailto:babel@ietf.org>
List-Help: <mailto:babel-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/babel>, <mailto:babel-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Mar 2020 18:19:01 -0000

I generally prefer denser encodings.

does the bird implementation do any extensive ae?

On Tue, Mar 31, 2020 at 10:41 AM Juliusz Chroboczek <jch@irif.fr> wrote:
>
> Dear all,
>
> Some of you might remember that Théo Bastian (in copy of this mail) is
> working on implementing a Babel extension for IPv4 routing with IPv6 next
> hops.  Since the extension is meant to interoperate with other Babel
> routers, we've decided to encode IPv4-over-IPv6 routes as a new AE.  So an
> IPv4-over-IPv6 route announcement consists of:
>
>   1. a normal Router-ID TLV ;
>   2. an IPv4-over-IPv6 Next Hop TLV carrying an IPv6 next-hop ;
>   3. an IPv4-over-IPv6 Update TLV carrying an IPv4 prefix.
>
> The Update is encoded in the new AE, which updates a separate set of
> compression state; the normal IPv4 compression state is left undisturbed.
> On the other hand, we have two natural ways of encoding the NH :
>
>   (1) use a new NH, in the new AE ;
>   (2) reuse the IPv6 NH (AEs 1 and 2).
>
> Encoding (1) has the advantage of being easier to explain.  Encoding (2)
> has a number of advantages:
>
>    (i) if a packet carries both IPv4 and IPv6 routes, the next-hop is only
>        encoded once;
>
>   (ii) we can use both AEs 1 and 2, which means that we can use the more
>        compact encoding for link-local next-hops ;
>
>  (iii) the code is slightly simpler.
>
> Initially, Théo preferred encoding (2), while I was in favour of (1).
> Théo rewrote all of his code in style (1), and after looking at his code,
> I'm having second thoughts.
>
> Does anyone have any good arguments one way or the other?  Scratch this --
> does anyone have any arguments, not necessarily good?
>
> -- Juliusz
>
> _______________________________________________
> Babel-users mailing list
> Babel-users@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/babel-users



-- 
Make Music, Not War

Dave Täht
CTO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-831-435-0729