archive mirror
 help / color / mirror / Atom feed
From: "Linus Lüssing" <>
Cc: Roopa Prabhu <>,
	Nikolay Aleksandrov <>,
	Alexey Kuznetsov <>,
	Hideaki YOSHIFUJI <>,
	"David S . Miller" <>,,
Subject: [PATCH net-next v2 0/4] bridge: implement Multicast Router Discovery (RFC4286)
Date: Mon, 21 Jan 2019 07:26:24 +0100	[thread overview]
Message-ID: <> (raw)


This patchset adds initial Multicast Router Discovery support to
the Linux bridge (RFC4286). With MRD it is possible to detect multicast
routers and mark bridge ports and forward multicast packets to such routers

So far, multicast routers are detected via IGMP/MLD queries and PIM
messages in the Linux bridge. As there is only one active, selected
querier at a time RFC4541 ("Considerations for Internet Group Management
Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping
Switches") section 2.1.1.a) recommends snooping Multicast Router
Advertisements as provided by MRD (RFC4286).

The first two patches are refactoring some existing code which is reused
for parsing the Multicast Router Advertisements later in the fourth
patch. The third patch lets the bridge join the all-snoopers multicast
address to be able to reliably receive the Multicast Router

What is not implemented yet from RFC4286 yet:

* Sending Multicast Router Solicitations:
  -> RFC4286: "[...] may be sent when [...] an interface is
     (re-)initialized [or] MRD is enabled"
* Snooping Multicast Router Terminations:
  -> currently this only relies on our own timeouts
* Adjusting timeouts with the values provided in the announcements

Regards, Linus


Changes in v2:

* rebased to current net-next/master (no conflicts/changes)

             reply	other threads:[~2019-01-21  7:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-21  6:26 Linus Lüssing [this message]
2019-01-21  6:26 ` [PATCH net-next v2 1/4] bridge: simplify ip_mc_check_igmp() and ipv6_mc_check_mld() calls Linus Lüssing
2019-01-21  6:26 ` [PATCH net-next v2 2/4] bridge: simplify ip_mc_check_igmp() and ipv6_mc_check_mld() internals Linus Lüssing
2019-01-21  6:26 ` [PATCH net-next v2 3/4] bridge: join all-snoopers multicast address Linus Lüssing
2019-01-21  6:26 ` [PATCH net-next v2 4/4] bridge: Snoop Multicast Router Advertisements Linus Lüssing
2019-01-23  1:18 ` [PATCH net-next v2 0/4] bridge: implement Multicast Router Discovery (RFC4286) David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).