[pim] Re: Multicast routes to end user devices?
Stig Venaas <stig@venaas.com> Mon, 13 May 2024 17:42 UTC
Return-Path: <stig@venaas.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 32839C1D6217 for <pim@ietfa.amsl.com>; Mon, 13 May 2024 10:42:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=venaas-com.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3fJbk8Dd7U6a for <pim@ietfa.amsl.com>; Mon, 13 May 2024 10:42:39 -0700 (PDT)
Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C852C1D4CE4 for <pim@ietf.org>; Mon, 13 May 2024 10:42:38 -0700 (PDT)
Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a59ce1e8609so978303966b.0 for <pim@ietf.org>; Mon, 13 May 2024 10:42:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=venaas-com.20230601.gappssmtp.com; s=20230601; t=1715622157; x=1716226957; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xLslup3nugKiNrz+N3VwMgNM5NsIRLcnC8GEDebNYO8=; b=p9b1KIGNVsrow0e1y9OeBpIrsLPDN/j7VwHRfCQ2ipQ8Avy36IIagoCnHloizMybRO O0zV/Vz0lB9uIkfJig6Dxv2vGqnGI2WNXv/gojDF00tH5ZF7gSeWL8SUEFa6hgAntQBZ CkacpU5mQSuawvNA9ZDzNnb6kKjV7nxUtV4GyCzp5RTP5Q4V5KoiEEequQKDaXzA8s0b 0XfIk1xrAJkXySYWl21L1NTkfncSsDk++Oa77Qe1xiq6R24tAHFPUWxbxk0V1jlEcOND YG/c6f9Ri3+zFWYjEniAVvzlwccGFxNlgrJeF/CLrO0+uKD7gEI2VwZ1CEyx6BeTe3oy xMXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715622157; x=1716226957; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xLslup3nugKiNrz+N3VwMgNM5NsIRLcnC8GEDebNYO8=; b=YYef4jLk+n7DxyzCf1QpcRv9XH+uYtxBxmM1+ysm3mxpw6zlRJFQkpOFb3aG4e/U6f 5tJ07GT4ouvc5jr+Oa/AoPFWbCRBtJtm8WVZJXqTHDEKICbWkHQftH9KR6SE/ZcaiShi QWFHkC9JbNp7/wKt0sZnTNLJRs4HspY503VbVlC74NnyaYqbYg/pBiIaIzgP/mE7NC4J GqZebK+ZjYmnR5aGCtpq1pUovrBBiFVzCWAwrILgJP06O761fsTrnMiUquQxGYmNMkKk 2vOWg6HMoBD6T97p1tY+RhlLmEshhKyal/EvUh5UfZNoNJh1RIwzB+Sn7tb7EDkofUDe IinA==
X-Gm-Message-State: AOJu0YyOW8l7eYLzhNpU4sxqFnrESfx9zp2R1G/Lfzf0rEU+A1sg5Emv iu3I0WXcErw4V9vHOqBfZi/I19ABTF7UX4V12l/7kFgq8neXzJ6g0H65CTE15oAy4yUBzQMT4l9 scVkwoFB/+4GpH3nAtSIjP0d+E69cT2pp1OsZA8t6y05JU7J+B24=
X-Google-Smtp-Source: AGHT+IG9WtrBOVccJ1BhhK8nKR37MR/bNKL0sIaBmmBFJH5QwYHqn1QfKgwl3EGb4sltqmVI+xm6Zfuf/lqMmkppfEE=
X-Received: by 2002:a17:906:d0c5:b0:a59:76d5:3a14 with SMTP id a640c23a62f3a-a5a2d18b40cmr909370066b.5.1715622156761; Mon, 13 May 2024 10:42:36 -0700 (PDT)
MIME-Version: 1.0
References: <ZkAwrcyT1SaV6_qp@sellars>
In-Reply-To: <ZkAwrcyT1SaV6_qp@sellars>
From: Stig Venaas <stig@venaas.com>
Date: Mon, 13 May 2024 10:42:26 -0700
Message-ID: <CAHANBtLY2W=ELTjt83VGVXWpLd7wH1MF_nwCQXP3S-bFexiF_Q@mail.gmail.com>
To: Linus Lüssing <linus.luessing@c0d3.blue>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: HCNZFSVV4LSOCTELZ4BZJRV4AKE52HEM
X-Message-ID-Hash: HCNZFSVV4LSOCTELZ4BZJRV4AKE52HEM
X-MailFrom: stig@venaas.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-pim.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "pim@ietf.org" <pim@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [pim] Re: Multicast routes to end user devices?
List-Id: Protocol Independent Multicast <pim.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/MS6ECvhg_xlk0rrt0-nelp6uwpI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pim>
List-Help: <mailto:pim-request@ietf.org?subject=help>
List-Owner: <mailto:pim-owner@ietf.org>
List-Post: <mailto:pim@ietf.org>
List-Subscribe: <mailto:pim-join@ietf.org>
List-Unsubscribe: <mailto:pim-leave@ietf.org>
Hi Linus Interesting questions. I am pretty sure there is no protocol defined, ICMPv6 RA or otherwise, that can tell the host which interface to use for multicast. Currently I believe most host stacks need explicit configuration, if this can be controlled at all. I haven't tested this in a long time, but I believe you can control this on Linux by modifying the routes you mentioned. I have a couple of ideas on what host stacks potentially could do. One is to select an interface where there is an igmp querier. Also, I would say, prefer an interface with IGMPv3 querier if possible. Also, base on unicast routing, any SSM reports, IGMPv3 include mode with sources, could send the report on the interface that has the best route for the source. Do you think it would be worthwhile allowing RAs to indicate that an interface should be used for multicast, or having some preference. What do others think? Regards, Stig On Sat, May 11, 2024 at 8:00 PM Linus Lüssing <linus.luessing@c0d3.blue> wrote: > > Hi, > > I feel a bit silly to ask, but... how is an end user's device supposed > to get/set its multicast routes from/to an interface? > > 1) Is an admin supposed to configure a multicast router to announce > multicast routes via ICMPv6 Router Advertisements? > 2) If yes, should/could they announce ff00::/8? Would that be the > multicast equivalent to ::/0? > 3) Should a ::/0 default route from ICMPv6 RA have any impact on a > user's device's multicast behaviour? (technically, this would > include both the unicast and multicast ranges?) > 4) Should a user's device then use/interpret received multicast routes > only for multicast transmissions (similar to unicast)? Or also for joins > / multicast reception? Is there an RFC that clarifies that? > > > I'm especially asking because on Linux there currently is the following > issue/inconvenience: > > For every interface it will create a multicast route in the > "local" table: > > ``` > $ ip -6 route show table local > multicast ff00::/8 dev br0 proto kernel metric 256 pref medium > multicast ff00::/8 dev veth0 proto kernel metric 256 pref medium > multicast ff00::/8 dev veth1 proto kernel metric 256 pref medium > multicast ff00::/8 dev wlp1s0 proto kernel metric 256 pref medium > ... > ``` > > This "local" table is separate from the default table, currently > ICMPv6 RA will only populate the default and not this "local" > table. However this local and not the default table is used both > for determining the interface to use for joining a routable > multicast address. And for multicast transmissions. > > And the second annoyance: The Linux kernel will use the first > multicast route / interface it can find in the "local" table, > if all matching routes have the same prefix length. > Which is typically the first interface that was created - and > typically that is not of any use for multicast routing for me. > > Regards, Linus > > _______________________________________________ > pim mailing list -- pim@ietf.org > To unsubscribe send an email to pim-leave@ietf.org
- [pim] Multicast routes to end user devices? Linus Lüssing
- [pim] Re: Multicast routes to end user devices? Stig Venaas
- [pim] Re: Multicast routes to end user devices? Toerless Eckert
- [pim] Re: Multicast routes to end user devices? Brian Haberman
- [pim] Re: Multicast routes to end user devices? Linus Lüssing