Re: [pim] [External] [MBONED] Unambiguous IPv4 Multicast to Ethernet Address mapping?

Joseph Touch <touch@strayalpha.com> Wed, 05 August 2020 15:03 UTC

Return-Path: <touch@strayalpha.com>
X-Original-To: pim@ietfa.amsl.com
Delivered-To: pim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE1AF3A0A9F; Wed, 5 Aug 2020 08:03:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.217
X-Spam-Level:
X-Spam-Status: No, score=-1.217 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, LOTS_OF_MONEY=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 2l665I9xoHT5; Wed, 5 Aug 2020 08:03:28 -0700 (PDT)
Received: from server217-4.web-hosting.com (server217-4.web-hosting.com [198.54.116.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 90FC33A0A9C; Wed, 5 Aug 2020 08:03:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8czORDpCZ+DxLbgZbEmA9gZ+g5UAj0dL87yxaswdwoc=; b=qvnJfShHbifPTuxWv7eRH3z7/ j5fdMBf/ji7FJig5GVR4vTBwYIZTDpKnlSdiwUeC8TFkzEdO9/0VY0CJyKDhqqdQ1BQjpavmvGV2e e7OQFoDWQN4LRJgGn4RVEeIHjV9Qngi+QXp8/L/91sX+P68TSUp9siwvY4p+C01qGNkn/L8s5hnw4 X0oKVy4Zh9QCZ5tUJ3VqR0vyakCafBBMd7b3v6gNN2z+qU5rPw5mxKLGpzrcDsBJrABfd23Yn5j4c R9CayMKpo8ohON1cDhNmiyS474sMqcrm+GgcUloNfLqlIcJ/l8wKOQCZYfN4vHc9C0JfzPVG1VryS 5QcjpmQgQ==;
Received: from cpe-172-250-225-198.socal.res.rr.com ([172.250.225.198]:53107 helo=[192.168.1.14]) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from <touch@strayalpha.com>) id 1k3Kws-000ich-M7; Wed, 05 Aug 2020 11:03:27 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_16C42EEB-EEBE-4A3A-A416-9427127BADFE"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Joseph Touch <touch@strayalpha.com>
In-Reply-To: <CAH8Jh6B2JDSZEjay-DhtKONkqTPvGXGsjN3LoYAUuq6hDAco=Q@mail.gmail.com>
Date: Wed, 05 Aug 2020 08:03:21 -0700
Cc: mboned@ietf.org, pim@ietf.org, bier@ietf.org
Message-Id: <4CC9C14D-E243-4E2E-8F96-A9167B3848DB@strayalpha.com>
References: <CAH8Jh6BsVgLW5rV00Ugp9CCwKcDaBvsWCRtc_o83ks83PxGz_w@mail.gmail.com> <2446466B-4F73-421F-AC68-38AAE64E3C3C@strayalpha.com> <CAH8Jh6B2JDSZEjay-DhtKONkqTPvGXGsjN3LoYAUuq6hDAco=Q@mail.gmail.com>
To: "James A. (Jim) Stevens" <james.a.stevens@collins.com>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
X-OutGoing-Spam-Status: No, score=-0.9
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/c-CSysqhd_ihG5Em55f2DdmHcrE>
Subject: Re: [pim] [External] [MBONED] Unambiguous IPv4 Multicast to Ethernet Address mapping?
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Protocol Independent Multicast <pim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pim>, <mailto:pim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pim/>
List-Post: <mailto:pim@ietf.org>
List-Help: <mailto:pim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pim>, <mailto:pim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2020 15:03:31 -0000

Jim,

IPv4 and IPv6 operate differently. IPv4 assumes global coordination of addresses, so it makes sense that it relies on a reserved block of Ethernet addresses for multicast.

IPv6 creates its addresses by combining router prefixes with local addresses and supports duplicate address detection (which IPv4 lacks), so it makes sense that it would use locally administered addresses instead.

At least that’s from where I sit. History may have a different story to tell - I happen to run the Internet History email list (not associated with the IETF, but supported on the ISOC servers here: https://elists.isoc.org/mailman/listinfo/internet-history <https://elists.isoc.org/mailman/listinfo/internet-history>). You may have better luck finding the legacy info there.

Beyond the history, if your concern is that “there’s another way to do this” that requires upending existing, established, and deployed standards, the real question is “why bother”? You answered that several times - given there’s not that much overhead and IP expects Ethernet can do Ethernet’s job (i.e., L2 forwarding), there’s no need. If you’re designing a new L2 (your MANET layer), then I would ask why you are using Ethernet addresses if they cause a problem for your multihop forwarding. IP expects L2 to do its job, including supporting multicast and broadcast (as per RFC 3819); when that doesn’t happen, IP still works (e.g., over carrier pigeons), but less efficiently.

So, IMO, the real flaw here is adopting Ethernet addresses for your MANET, not how IP maps multicast.

Joe

> On Aug 4, 2020, at 9:19 PM, James A. (Jim) Stevens <james.a.stevens@collins.com> wrote:
> 
> Joe – good question.
> 
> We are currently working with proprietary multi-hop MANET wireless network protocols that use Ethernet addressing at the MAC layer but aren’t WiFi networks. For IP multicast, there is ambiguity in the multicast routing since multiple multicast groups can map to the same MAC layer address.  Of course, the probability that there are multiple user IP multicast addresses that  map to the same MAC layer address is low, so there isn’t really that much of an overhead in extra forwarded packets multihop to nodes that don’t need to forward them.    
> 
> It’s really more of a “why did they do it that way” type question on my part.  Especially when I found read the history - and then wondered why it was never turned into an unambiguous mapping. 
> 
> The idea of creating our own proprietary locally administered Ethernet address mapping is a good suggestion and something we will look into for our own use.
> 
> However, I am surprised that an industry standard, like RFC 2464, used a locally administered addresses in a global standard like this.  Doesn’t this really violate the spirit of a locally administered address?  And do any of y’all know why the IETF didn’t get a globally administered address, similar to what was done for IPv4 (other than the cost of getting that many 24 bit Organizationally Unique Identifiers to only use the upper 16 bits)?   It would seem to be a low priority that some locally administered multicast address would collide with RFC 2464, but it could; and even if it does, it should probably not be that large of an extra overhead on the network.
> 
> IEEE came out with the Structured Local Address Plan (SLAP) that divides the locally administered addresses into 4 quadrants in IEEE 802C.  RFC 2464 fits into what is called the Administratively Assigned Identifier (AAI) quadrant due to the value of the first octet value 33 (802C SLAP bits Z & Y = 00).  SLAP defines a Standards Assigned Identifier quadrant (SAI) that uses bits X & Y set to 11. IEEE documentation says use of the SAI Specification of the use of the SAI quadrant for SLAP address assignments is reserved for the standard forthcoming from IEEE P802.1CQ. And, an SAI is assigned by a protocol specified in an IEEE 802 standard.  It would seem like an RFC defined address would fit more into an SAI than an AAI role.
> 
> So, I wonder if there are any plans to update RFC 2464 to use the SAI quadrant.  Again, not really solving a practical problem because probability of collision is small – especially the if locally assigning organization is aware of RFC 2464 – but the chance of collision does exist.  So this is another “wonder if it could/should change” question.
> 
> Jim
> 
> 
> On Mon, Jul 27, 2020 at 1:35 AM Joe Touch <touch@strayalpha.com <mailto:touch@strayalpha.com>> wrote:
> First question - why?
> 
> As in, what problem has been observed that this would solve?
> 
> Note that the IPv6 is a locally administered Ethernet address, not one registered by the IEEE for the IETF.
> 
> Joe
> 
>> On Jul 26, 2020, at 10:44 PM, James A. (Jim) Stevens <james.a.stevens=40collins.com@dmarc.ietf.org <mailto:40collins.com@dmarc.ietf.org>> wrote:
>> 
>> 
>> RFC 1112 maps the 28 unique IPv4 multicast address bits to 23 bits within the Ethernet address so that there is not a unique one to one mapping.
>> 
>> According to https://networklessons.com/multicast/multicast-ip-address-to-mac-address-mapping <https://urldefense.com/v3/__https://networklessons.com/multicast/multicast-ip-address-to-mac-address-mapping__;!!MvWE!XdeY2ViVVq1tW_2eLECUTCzWVH8h-l3Gjp4YuMQo0rP7u41EVHMo-PYq-G3GWD8yG2F_$>, this was because it would have cost $16,000 in 1990 to have reserved 16 OUIs (Organizational Unique Identifiers) to IP multicast MAC addresses so that the IPv4 multicast to Ethernet multicast addressing would be unique.
>> 
>> IPv6 in RFC 2464, maps the lower 32 bits of the IPv6 multicast addresses into the lower 32 bits of the Ethernet Address - so it looks like IEEE supports other IP address to ethernet multicast address mappings.
>> 
>> Question - Is any interest within IETF about working with IEEE to come up with an IPv4 to Ethernet multicast address mapping so that the 28 unique IPv4 addresses map uniquely to Ethernet Addresses?
>> 
>> For example, this could be a new Proposed Standard RFC that also allows the existing RFC 1112 to continue to be used for backwards compatibility?
>> 
>> Jim Stevens
>> 
>> 
>> _______________________________________________
>> MBONED mailing list
>> MBONED@ietf.org <mailto:MBONED@ietf.org>
>> https://www.ietf.org/mailman/listinfo/mboned <https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/mboned__;!!MvWE!XdeY2ViVVq1tW_2eLECUTCzWVH8h-l3Gjp4YuMQo0rP7u41EVHMo-PYq-G3GWLpfXc_f$>